crowdsec: whitelist Matrix client feature-probe 404s to stop http-probing false positives

This commit is contained in:
aykhans committed 2026-07-31 11:37:26 +00:00
1 parent dc27676d0f
commit e577bf7304
2 files changed
+9

No files matched your search

@@ -0,0 +1,8 @@
name: aykhans/whitelist-matrix-client-probes
description: "Prevent http-probing false positives from Matrix client feature-detection 404s"
whitelist:
reason: "Matrix client MSC feature-detection and media preview requests return 404 by design (benign)"
expression:
- evt.Meta.service == 'http' and evt.Meta.http_status == '404' and evt.Meta.http_path startsWith '/_matrix/client/unstable/org.matrix.msc'
- evt.Meta.service == 'http' and evt.Meta.http_status == '404' and evt.Meta.http_path startsWith '/_matrix/client/v1/media/preview_url'
- evt.Meta.service == 'http' and evt.Meta.http_status == '404' and evt.Meta.http_path startsWith '/_matrix/client/' and evt.Meta.http_path contains '/rooms/'