Using Console
Using CLI
update-rule-group
command to update a specific WAF Regional Rule Group with the desired rules. Make sure to replace <rule-group-id>
with the actual Rule Group ID and provide the necessary rule details.
rule-updates.json
) with the necessary rule updates that need to be applied to the empty Rule Groups. The JSON file should contain the new rules that you want to add to the Rule Group.
Using Python
boto3
library for this purpose.boto3
library.