Add CrowdSec IP reputation integration for reverse proxy

This commit is contained in:
Viktor Liu
2026-03-28 10:59:11 +01:00
parent 0765352c99
commit a22c849ae0
37 changed files with 2660 additions and 676 deletions

View File

@@ -2857,6 +2857,11 @@ components:
type: string
description: "Protocol type: http, tcp, or udp"
example: "http"
metadata:
type: object
additionalProperties:
type: string
description: "Extra context about the request (e.g. crowdsec_verdict)"
required:
- id
- service_id
@@ -3255,6 +3260,14 @@ components:
pattern: '^[a-zA-Z]{2}$'
example: "DE"
description: ISO 3166-1 alpha-2 country codes to block.
crowdsec_mode:
type: string
enum:
- "off"
- "enforce"
- "observe"
default: "off"
description: CrowdSec IP reputation mode. Only available when the proxy cluster supports CrowdSec.
PasswordAuthConfig:
type: object
properties:
@@ -3358,6 +3371,10 @@ components:
type: boolean
description: Whether a subdomain label is required in front of this domain. When true, the domain cannot be used bare.
example: false
supports_crowdsec:
type: boolean
description: Whether the proxy cluster has CrowdSec configured
example: false
required:
- id
- domain