Skip to content

hiveguard config

Config commands require dashboard credentials.

config show

Display the current runtime config.

Terminal window
hiveguard config show

Output:

risk_threshold: 0.5
consensus_threshold: 0.6
proxy_timeout: 30.0
challenge_token_ttl: 300
log_level: INFO

config set

Update one or more config values.

Terminal window
hiveguard config set [OPTIONS]
FlagTypeDescription
--risk-thresholdfloatMinimum confidence score to pass a challenge (0.0–1.0)
--consensus-thresholdfloatMinimum solver agreement fraction (0.0–1.0)
--proxy-timeoutfloatUpstream request timeout in seconds
--challenge-token-ttlintChallenge token validity in seconds
--log-levelstringDEBUG, INFO, WARNING, or ERROR

At least one flag is required. Multiple flags can be combined:

Terminal window
hiveguard config set --risk-threshold 0.7 --proxy-timeout 60.0

Invalid values (e.g., --risk-threshold not_a_float) are rejected before any HTTP call.

If called with no flags:

Error: no config flags provided. Use --risk-threshold, --consensus-threshold, etc.

Changes take effect immediately — no restart required.