Skip to main content
The deploy command pushes your local Panguard configuration to remote machines, enabling consistent security policies across multiple endpoints. It handles agent installation, configuration distribution, and service registration in a single step.

Usage

panguard deploy [options]

Options

--config
string
Path to the deployment configuration file that defines target hosts and policies. Defaults to ~/.panguard/deploy.yaml.
--dry-run
flag
Simulate the deployment without making any changes. Shows what would be deployed to which hosts.
--lang
string
default:"en"
Set the output language for deployment logs.

Examples

panguard deploy

Deployment Configuration

The deploy configuration file (deploy.yaml) defines target hosts and the policies to apply:
targets:
  - host: 192.168.1.10
    user: panguard
    services:
      - guard
      - scan
  - host: web-server.example.com
    user: root
    services:
      - guard
      - trap
      - chat

policy:
  guard:
    auto_response: true
    learning_period: 24h
  scan:
    schedule: "0 2 * * *"  # Daily at 2 AM
Always run panguard deploy --dry-run first to verify the target list and configuration before making changes to production systems.

Plan Requirements

Deploy requires the Solo ($9/mo) plan or higher.