0

How can I consolidate all or any secrule to ignore a parameter with modsecurity?

I have a form that will always flag as XSS, unfortunately, my rule list is getting rather large as the site grows.

I now have a list of about 10 or so rules ignoring the parameter bacon.tuna

SecRuleUpdateTargetById 981176 !ARGS:/^bacon.tuna/

I noticed that one of those rules wasn't white listed came back up and I was curious to know if there was a way to make this simpler.

Maybe something like SecRuleUpdateTargetById * !ARGS:/^bacon.tuna/ ?

Thanks in advance

LUser
  • 217
  • 6
  • 15

0 Answers0