hiveguard proxy-rules
Proxy rules control which request paths require a challenge. By default all proxied paths require a valid challenge token. Rules can allow specific paths through without a challenge.
Proxy rule commands require dashboard credentials.
proxy-rules list
hiveguard proxy-rules listOutput columns: id, pattern, match_type, priority, enabled.
proxy-rules create
hiveguard proxy-rules create PATTERN [OPTIONS]| Option | Type | Description |
|---|---|---|
--match-type | string | prefix, exact, or glob (default: prefix) |
--priority | int | Higher priority rules are evaluated first (default: 0) |
Examples:
# Allow /health through without a challengehiveguard proxy-rules create "/health" --match-type exact --priority 100
# Skip challenge for all /public/* pathshiveguard proxy-rules create "/public/" --match-type prefix --priority 50
# Glob patternhiveguard proxy-rules create "/api/v*/docs" --match-type glob --priority 10proxy-rules update
hiveguard proxy-rules update RULE_ID [OPTIONS]| Option | Type | Description |
|---|---|---|
--enabled | bool | Enable or disable the rule |
--priority | int | Change the priority |
Example:
# Temporarily disable a rulehiveguard proxy-rules update RULE_ID --enabled falseproxy-rules delete
hiveguard proxy-rules delete RULE_IDDeletes the rule immediately. No confirmation prompt.