Modsecurity rules are being updated on weekly basis in scope of Daily Maintenance script.
If you want to update rules manually processed as below:
- Connect to the server via SSH.
- Run the below command:
# plesk php /usr/local/psa/admin/plib/DailyMaintainance/script.php -f UpdateModSecurityRuleSet daily
aum -u it's a native modsecurity utility to update its rules that must not be executed on Plesk server because Plesk uses its own mechanism to update modsecurity rules. Own mechanism of updates is required because Plesk fully manage web server configuration and we need to align rules updates to Plesk way configuration.
If you run
aum -u manually on server with Plesk and that resulted into Apache configuration failure, please refer to the below article to fix: Running aum -u fails with the error and breaks Apache