Determining the version of Amazon WAF that's used by a Shield Advanced policy
This page explains how to determine which version of Amazon WAF web ACL your Shield Advanced policy uses.
You can determine which version of Amazon WAF your Firewall Manager Shield Advanced policy uses by looking at the
parameter keys in the policy's Amazon Config service-linked rule. If the Amazon WAF version
that's in use is the latest, the parameter keys include policyId
and
webAclArn
. If it's the earlier version, Amazon WAF Classic, the
parameter keys include webAclId
and resourceTypes
.
The Amazon Config rule only lists keys for the web ACLs that the policy is currently using with in-scope resources.
To determine which version of Amazon WAF your Firewall Manager Shield Advanced policy uses
-
Retrieve the policy ID for the Shield Advanced policy:
-
Sign in to the Amazon Web Services Management Console using your Firewall Manager administrator account, and then open the Firewall Manager console at https://console.aws.amazon.com/wafv2/fmsv2
. For information about setting up a Firewall Manager administrator account, see Amazon Firewall Manager prerequisites. -
In the navigation pane, choose Security Policies.
-
Choose the Region for the policy. For CloudFront distributions, this is
Global
. -
Find the policy that you want and copy the value of its Policy ID.
Example policy ID:
1111111-2222-3333-4444-a55aa5aaa555
.
-
-
Create the policy's Amazon Config rule name by appending the policy ID to the string
FMManagedShieldConfigRule
.Example Amazon Config rule name:
FMManagedShieldConfigRule1111111-2222-3333-4444-a55aa5aaa555
. -
Search the parameters for the associated Amazon Config rule for keys named
policyId
andwebAclArn
:-
Open the Amazon Config console at https://console.amazonaws.cn/config/home
. -
In the navigation pane, choose Rules.
-
Find your Firewall Manager policy's Amazon Config rule name in the list and select it. The rule's page opens.
-
Under Rule details, in the Parameters section, look at the keys. If you find keys named
policyId
andwebAclArn
, the policy uses web ACLs that were created using the latest version of Amazon WAF. If you find keys namedwebAclId
andresourceTypes
, the policy uses web ACLs that were created using the earlier version, Amazon WAF Classic.
-