Add trusted_cidrs field to bypass all restriction layers

This commit is contained in:
Viktor Liu
2026-03-29 09:14:27 +02:00
parent 6a505ea51c
commit 9c1eb0d288
8 changed files with 341 additions and 240 deletions

View File

@@ -3260,6 +3260,13 @@ components:
pattern: '^[a-zA-Z]{2}$'
example: "DE"
description: ISO 3166-1 alpha-2 country codes to block.
trusted_cidrs:
type: array
items:
type: string
format: cidr
example: "10.0.0.0/8"
description: Trusted CIDR ranges that bypass all restriction layers (CIDR, country, CrowdSec). Use for office networks or VPNs that should always be allowed.
crowdsec_mode:
type: string
enum: