Skip to main content
Panguard Guard is configured via a JSON file located at ~/.panguard-guard/config.json. This file is created automatically during panguard guard start with sensible defaults, or you can create it manually.

Configuration File Location

Full Configuration Example

Configuration Sections

mode

mode
string
default:"protect"
Operating mode for Guard.
New installations start in learning mode for the configured learningDays period, then automatically transition to protect mode.

learningDays

learningDays
number
default:"7"
Number of days to remain in learning mode before transitioning to the configured mode. Range: 1—30.

monitoring

Controls which system activities Guard monitors.

rules

Detection rule configuration.

response

Automated response configuration.
Setting minConfidence below 0.7 may cause false positive responses. The default of 0.85 provides a good balance between protection and accuracy.

threatIntel

Threat Cloud integration settings.

dashboard

Optional local web UI settings.

notification

Alert notification settings.

auth

Manager API connection settings.
Most users do not need to edit this file directly. Use panguard config set from the CLI to modify individual settings safely. The CLI validates values and handles encryption of sensitive fields.