From a8a361559151f7adac521eced6923e0160bb6642 Mon Sep 17 00:00:00 2001 From: sabban Date: Mon, 29 Sep 2025 12:10:44 +0200 Subject: [PATCH 1/2] add count item --- crowdsec-docs/versioned_docs/version-v1.7/appsec/rules_syntax.md | 1 + 1 file changed, 1 insertion(+) diff --git a/crowdsec-docs/versioned_docs/version-v1.7/appsec/rules_syntax.md b/crowdsec-docs/versioned_docs/version-v1.7/appsec/rules_syntax.md index 9dde1d009..9ef652259 100644 --- a/crowdsec-docs/versioned_docs/version-v1.7/appsec/rules_syntax.md +++ b/crowdsec-docs/versioned_docs/version-v1.7/appsec/rules_syntax.md @@ -135,6 +135,7 @@ Match provides the pattern to match the target against, including optional trans - `trim` : remove leading and trailing spaces - `normalizepath` : normalize the path (remove double slashes, etc) - `htmlEntitydecode` : decode HTML entities + - `count` : number of times the _target_ appear ```yaml # we want the query parameter foo to be equal to 'toto' From c525373a4367d9374b74a9f2fe37a895a51bf799 Mon Sep 17 00:00:00 2001 From: sabban Date: Tue, 30 Sep 2025 16:47:27 +0200 Subject: [PATCH 2/2] add count item --- crowdsec-docs/docs/appsec/rules_syntax.md | 1 + 1 file changed, 1 insertion(+) diff --git a/crowdsec-docs/docs/appsec/rules_syntax.md b/crowdsec-docs/docs/appsec/rules_syntax.md index d194046f6..13ddf0c97 100644 --- a/crowdsec-docs/docs/appsec/rules_syntax.md +++ b/crowdsec-docs/docs/appsec/rules_syntax.md @@ -135,6 +135,7 @@ Match provides the pattern to match the target against, including optional trans - `trim` : remove leading and trailing spaces - `normalizepath` : normalize the path (remove double slashes, etc) - `htmlEntitydecode` : decode HTML entities + - `count` : number of times the _target_ appear ```yaml # we want the query parameter foo to be equal to 'toto'