From cc5aed0bfd30b9ee061a73ee85964049f799c062 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Mon, 28 Sep 2026 16:19:49 +0200 Subject: [PATCH 1/6] ops: :bricks: Added crowdsecurity/appsec-crs-exclusion-plugin-wordpress --- infrastructure/crowdsec/helm-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/crowdsec/helm-release.yaml b/infrastructure/crowdsec/helm-release.yaml index 34e02e9..0fc76e5 100644 --- a/infrastructure/crowdsec/helm-release.yaml +++ b/infrastructure/crowdsec/helm-release.yaml @@ -89,4 +89,4 @@ spec: type: appsec env: - name: COLLECTIONS - value: "crowdsecurity/appsec-virtual-patching crowdsecurity/appsec-crs crowdsecurity/appsec-generic-rules" + value: "crowdsecurity/appsec-virtual-patching crowdsecurity/appsec-crs crowdsecurity/appsec-generic-rules crowdsecurity/appsec-crs-exclusion-plugin-wordpress" From a7583e5495f6233f3fed7b376e9d8440172703a7 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Mon, 28 Sep 2026 16:37:46 +0200 Subject: [PATCH 2/6] ops: :bricks: Added more wordpress collections to crowdsec --- infrastructure/crowdsec/helm-release.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/infrastructure/crowdsec/helm-release.yaml b/infrastructure/crowdsec/helm-release.yaml index 0fc76e5..c0f0cec 100644 --- a/infrastructure/crowdsec/helm-release.yaml +++ b/infrastructure/crowdsec/helm-release.yaml @@ -89,4 +89,11 @@ spec: type: appsec env: - name: COLLECTIONS - value: "crowdsecurity/appsec-virtual-patching crowdsecurity/appsec-crs crowdsecurity/appsec-generic-rules crowdsecurity/appsec-crs-exclusion-plugin-wordpress" + value: >- + crowdsecurity/appsec-virtual-patching + crowdsecurity/appsec-crs + crowdsecurity/appsec-generic-rules + crowdsecurity/wordpress + crowdsecurity/appsec-crs-exclusion-plugin-wordpress + crowdsecurity/appsec-wordpress + From 29cf47a4884599100122d0c354af82fdd8558f59 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Tue, 29 Sep 2026 10:07:27 +0200 Subject: [PATCH 3/6] ops: :bricks: Removed handmade ip blocklist --- infrastructure/traefik/helm-release.yaml | 80 ------------------------ 1 file changed, 80 deletions(-) diff --git a/infrastructure/traefik/helm-release.yaml b/infrastructure/traefik/helm-release.yaml index 805a0f6..663aad3 100644 --- a/infrastructure/traefik/helm-release.yaml +++ b/infrastructure/traefik/helm-release.yaml @@ -399,83 +399,3 @@ spec: port: 443 targetPort: 8443 protocol: TCP - - - apiVersion: v1 - kind: Service - metadata: - name: blackhole - namespace: common-services - spec: - # Placeholder : jamais contacté, le middleware renvoie 403 avant. - type: ClusterIP - ports: - - name: http - port: 80 - targetPort: 80 - - - apiVersion: traefik.io/v1alpha1 - kind: Middleware - metadata: - name: deny-ip-blocklist - namespace: common-services - spec: - # ipAllowList rejette en 403 - ipAllowList: - sourceRange: - - 192.0.2.1/32 # TEST-NET-1 (RFC 5737) : ne matche aucun client réel => deny - - - apiVersion: traefik.io/v1alpha1 - kind: IngressRoute - metadata: - name: security-ip-blocklist - namespace: common-services - spec: - entryPoints: - - websecure - routes: - - kind: Rule - match: >- - ClientIP(`45.88.138.45/32`) || - ClientIP(`8.34.210.32/32`) || - ClientIP(`8.34.210.37/32`) || - ClientIP(`8.34.210.42/32`) || - ClientIP(`8.34.210.43/32`) || - ClientIP(`8.34.210.45/32`) || - ClientIP(`34.68.34.65/32`) || - ClientIP(`34.68.34.66/32`) || - ClientIP(`34.68.34.67/32`) || - ClientIP(`34.68.34.69/32`) || - ClientIP(`34.68.34.71/32`) || - ClientIP(`34.68.34.72/32`) || - ClientIP(`34.68.34.77/32`) || - ClientIP(`34.68.34.79/32`) || - ClientIP(`34.68.34.81/32`) || - ClientIP(`34.68.34.84/32`) || - ClientIP(`94.74.106.96/32`) || - ClientIP(`20.220.225.223/32`) || - ClientIP(`52.182.173.140/32`) - priority: 100000 - middlewares: - - name: deny-ip-blocklist - namespace: common-services - services: - - name: blackhole - port: 80 - - - apiVersion: discovery.k8s.io/v1 - kind: EndpointSlice - metadata: - name: blackhole - namespace: common-services - labels: - kubernetes.io/service-name: blackhole - addressType: IPv4 - endpoints: - - addresses: - - 192.0.2.1 # TEST-NET-1 : non-routable, jamais contacté - conditions: - ready: true - ports: - - name: http - port: 80 - protocol: TCP From 3a089a5747fbb5280d07ab5fa217253e7ae8cc33 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Tue, 29 Sep 2026 11:32:10 +0200 Subject: [PATCH 4/6] ops: :bricks: Updated crowdsec 1.7.8 -> 1.8.0 --- infrastructure/crowdsec/helm-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/crowdsec/helm-release.yaml b/infrastructure/crowdsec/helm-release.yaml index c0f0cec..ce7054c 100644 --- a/infrastructure/crowdsec/helm-release.yaml +++ b/infrastructure/crowdsec/helm-release.yaml @@ -17,7 +17,7 @@ spec: container_runtime: containerd image: - tag: v1.7.8 + tag: v1.8.0 agent: acquisition: From 32ff851bd2e363accc0300b91b463f2d9ca80625 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Tue, 29 Sep 2026 11:54:26 +0200 Subject: [PATCH 5/6] ops: :bricks: Manually added crowdsecurity/vpatch-CVE-2026-87902 rule in crowdsec --- infrastructure/crowdsec/helm-release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure/crowdsec/helm-release.yaml b/infrastructure/crowdsec/helm-release.yaml index ce7054c..f6e7354 100644 --- a/infrastructure/crowdsec/helm-release.yaml +++ b/infrastructure/crowdsec/helm-release.yaml @@ -88,6 +88,8 @@ spec: labels: type: appsec env: + - name: APPSEC_RULES + value: "crowdsecurity/vpatch-CVE-2026-87902" - name: COLLECTIONS value: >- crowdsecurity/appsec-virtual-patching From 3a2406bb8fb438b6b23143e3d6092aa54e51797d Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Tue, 29 Sep 2026 12:09:50 +0200 Subject: [PATCH 6/6] revert: Manually added crowdsecurity/vpatch-CVE-2026-87902 rule in crowdsec --- infrastructure/crowdsec/helm-release.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/infrastructure/crowdsec/helm-release.yaml b/infrastructure/crowdsec/helm-release.yaml index f6e7354..ce7054c 100644 --- a/infrastructure/crowdsec/helm-release.yaml +++ b/infrastructure/crowdsec/helm-release.yaml @@ -88,8 +88,6 @@ spec: labels: type: appsec env: - - name: APPSEC_RULES - value: "crowdsecurity/vpatch-CVE-2026-87902" - name: COLLECTIONS value: >- crowdsecurity/appsec-virtual-patching