AWS WAF v2Old PlanNew PlanAdvancedLegacyUsage
This article explains how to configure the WAF Config for AWS WAF v2.
The credential configuration must be completed before proceeding. If you have not completed the Credential configuration and do not have any Credential Store registered, please complete the Credential configuration first.
[V2] refers to AWS WAF v2.
This option does not exist for the new plan users because only AWS WAF v2 is available.
If you check the [Show configured web ACLs] checkbox, you can see the list of web ACLs currently using WafCharm.
Please keep in mind that you cannot re-register WafCharm for the web ACLs that already have WafCharm configured.
The web ACL name will automatically be entered. You can change the name to another value as well.
Advanced: This is a new rule structure released with the WafCharm Console. It allows the configuration of rules such as rate-based rules, geo-match rules, and bot rules.
Legacy: A rule structure that has been available from the old WafCharm Dashboard. It allows the configuration of IP address-related rules.
When you select the Legacy rule policy, an item called [Default WAF Action] will appear beside WAF Settings. For more information, please refer to the About Default WAF Action section.
This is the credential information WafCharm uses to update your web ACL.
You do not have to use the same credential store used to search web ACLs.
How to configure WAF log integration (new method) for AWS WAF v2 Advanced
If you enable WAF log retrieval, several features, such as dynamic denylist, will also be enabled.
If you want to use these features, check the [Enable WAF log retrieval] checkbox and complete the configurations by following the instructions on the page.
If your WAF logs contain personal information, please refer to the AWS document [Web ACL logging configuration] and redact those fields beforehand.
If you want to adjust the configurations, click the [Go back] button to fix any settings.
Rule configurations in WAF Config (AWS WAF v2)
How to configure access logs/WAF log integration for AWS WAF v2 Legacy
Enabling WAF log retrieval is optional. If you want to refrain from configuring this option, do not check the [Enable WAF log retrieval] checkbox under the [WAF log retrieval] tab when adding a WAF Config. In addition, please avoid configuring the old method (Lambda method).
If you want to adjust the configurations, click the [Go back] button to fix any settings.
When you select the Legacy rule policy, an item called [Default WAF Action] will appear under [Basic Configuration]. The Default WAF Action specifies which rule action WafCharm should apply when it inserts its predefined rules.
The COUNT option in the Default WAF Action within WAF Config uses the mechanism called Rule action overrides provided by AWS WAF to override the rule actions to COUNT.
WafCharm rules include rules designed to detect/block suspicious requests. While the actual rule action defined within each rule is BLOCK, AWS WAF provides a mechanism to override this action to COUNT, enabling detection without blocking requests. Selecting COUNT in the Default WAF Action setting does not change the actual rule definitions.
If you select COUNT in the Default WAF Action setting, the rule action will be overridden to Count, and any requests that match the rules will be detected but not blocked. To block suspicious requests, you will need to manually change the rule action to Block in the AWS management console at a time of your choosing.
For instructions on changing the rule action to Block, please refer to How to change rule actions for AWS WAF v2.
Reference: Overriding rule actions in a rule group