Skip to content

Commit edbd913

Browse files
committed
fix: update upstream modsecurity.conf-recommended
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
1 parent 37d99ea commit edbd913

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/verifyimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
env:
88
REPO: "owasp/modsecurity-crs"
99
# sha256sum format: <hash><space><format (space for text)><file name>
10-
MODSECURITY_RECOMMENDED: "d9e164c508218202eba13d37cf661baacb8600706e618ce93ccc91c74c51449e modsecurity.conf-recommended"
10+
MODSECURITY_RECOMMENDED: "ccff8ba1f12428b34ff41960d8bf773dd9f62b9a7c77755247a027cb01896d4f modsecurity.conf-recommended"
1111

1212
jobs:
1313
prepare:

src/etc/modsecurity.d/modsecurity.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ SecRule MULTIPART_STRICT_ERROR "!@eq 0" \
6565
SecRule MULTIPART_UNMATCHED_BOUNDARY "@eq 1" \
6666
"id:'200004',phase:2,t:none,log,deny,msg:'Multipart parser detected a possible unmatched boundary.'"
6767
SecRule TX:/^MSC_/ "!@streq 0" \
68-
"id:'200005',phase:2,t:none,deny,msg:'ModSecurity internal error flagged: %{MATCHED_VAR_NAME}'"
68+
"id:'200005',phase:2,t:none,log,deny,msg:'ModSecurity internal error flagged: %{MATCHED_VAR_NAME}'"
6969

7070
# Additional rules
7171
SecRule REQUEST_HEADERS:Content-Type "^application/[a-z0-9.-]+[+]json" \

0 commit comments

Comments
 (0)