Files
LEAF/controller/config.yaml
2026-11-15 17:41:40 +01:00

33 lines
1.1 KiB
YAML

# Generic deployment example. The lab installer seeds config/prototype-vyos.yaml.
vyos:
url: https://10.66.0.1 # VyOS management address
key_env: LEAF_VYOS_KEY # API key read from this env var (never stored here)
ca_bundle: /etc/leaf-controller/vyos-ca.pem # CA that signed router cert (see snippet)
tls_verify: true
timeout: 10
retries: 3
block_group: IDS-BLOCK
ensure_primitives: true
adopt_foreign_members: true
save_config: false # true = persist config on router after each change
eve:
path: /var/log/suricata-leaf/eve.json
policy:
mode: threshold # threshold | immediate
min_hits: 2
window_seconds: 300
ttl_seconds: 3600
max_blocks: 50
allow_cidrs: [] # additional never-block CIDRs
sids_only: [] # non-empty = only act on listed sids
sids_deny: []
block_src: false # honor metadata leaf_action=block_src
state_db: /var/lib/leaf-controller/state.sqlite
audit_log: /var/log/leaf-controller/decisions.jsonl
poll_interval: 0.2
sync_interval: 300.0