1 name : crowdsecurity/base - config
2
3
4
5 seclang_rules :
6 - Secrule REQUEST_HEADERS : Content - Type "@rx ^application/x - www - form - urlencoded" "id : 100 , phase : 1 , pass , nolog , noauditlog , ctl : requestBodyProcessor=URLENCODED"
7 - Secrule REQUEST_HEADERS : Content - Type "@rx ^multipart/form - data" "id : 101 , phase : 1 , pass , nolog , noauditlog , ctl : requestBodyProcessor=MULTIPART"
8 - Secrule REQUEST_HEADERS : Content - Type "@rx ^application/xml" "id : 102 , phase : 1 , pass , nolog , noauditlog , ctl : requestBodyProcessor=XML"
9 - Secrule REQUEST_HEADERS : Content - Type "@rx ^application/json" "id : 103 , phase : 1 , pass , nolog , noauditlog , ctl : requestBodyProcessor=JSON"
10 - Secrule REQUEST_HEADERS : Content - Type "@rx ^text/xml" "id : 104 , phase : 1 , pass , nolog , noauditlog , ctl : requestBodyProcessor=XML"
11 - SecRule REQBODY_PROCESSOR " !@rx ( ? : URLENCODED | MULTIPART | XML | JSON)" "id : 105 , phase : 1 , pass , nolog , noauditlog , ctl : requestBodyProcessor=RAW"
12
Copy