From 6f795d78cc75fb1242d35a3066b8e37fcf27b4a7 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 27 Nov 2026 12:26:57 -0700 Subject: [PATCH] crowdsec: use the virtual-patching appsec config appsec-default references out-of-band rules (experimental-*) that only the appsec-generic-rules collection installs, so crowdsec refused to start. Co-Authored-By: Claude Opus 5.5 --- roles/docker/templates/crowdsec-acquis-appsec.yaml.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/docker/templates/crowdsec-acquis-appsec.yaml.j2 b/roles/docker/templates/crowdsec-acquis-appsec.yaml.j2 index f6f8c1d..5461f41 100644 --- a/roles/docker/templates/crowdsec-acquis-appsec.yaml.j2 +++ b/roles/docker/templates/crowdsec-acquis-appsec.yaml.j2 @@ -1,8 +1,11 @@ # AppSec endpoint for the Caddy bouncer; reachable only on lava. +# virtual-patching = vpatch rules only. appsec-default also needs the +# appsec-generic-rules collection (its experimental-* out-of-band rules); +# switch to it when adding that collection. source: appsec name: caddy-appsec listen_addr: 0.0.0.0:7422 appsec_configs: - - crowdsecurity/appsec-default + - crowdsecurity/virtual-patching labels: type: appsec