How do we disable/enable CMS-specific WAF Rules?
Environment
- Imunify360
Solution
1. We can do this via UI as follows (To disable)
Go to Imunify360
Dashboard -> General
tab -> WAF Settings
section -> disable Apply CMS-specific WAF Rules
If it is in disabled status, click the check box to enable it.
2. We can also do this via CLI using the below command.
To disable :
imunify360-agent config update '{"MOD_SEC": {"app_specific_ruleset": false}}'
To enable:
imunify360-agent config update '{"MOD_SEC": {"app_specific_ruleset": true}}'
Useful links
https://blog.imunify360.com/waf-rules-auto-configurator
https://docs.imunify360.com/dashboard/#cms-specific-waf-rules
Comments
0 comments
Please sign in to leave a comment.