Block IP if triggered a critical modsecurity rule repeatedly

Operating System & Version
CENTOS 7.7
cPanel & WHM Version
86.0.8

ibrahimhajjaj

Registered
Mar 4, 2020
3
0
1
Palestine
cPanel Access Level
Root Administrator
Hello World,

I want to automate IP blocking if certain IP keep trigger CRITICAL modsecurity rule!

e.g: IP 1.1.1.1 have triggered more than 10 critical rule in a day = action: IP block


1583315750203.png



Best Regards