Skip to content

Instantly share code, notes, and snippets.

@tfentonz
Last active June 30, 2022 04:06
Show Gist options
  • Save tfentonz/3edcbb8f6e2db568c7d1af45efb76115 to your computer and use it in GitHub Desktop.
Save tfentonz/3edcbb8f6e2db568c7d1af45efb76115 to your computer and use it in GitHub Desktop.
AWS WAF managed rule group available labels
aws wafv2 describe-managed-rule-group \
--vendor-name AWS \
--name AWSManagedRulesCommonRuleSet \
--scope REGIONAL \
--region <REGION> \
--query 'AvailableLabels[].[Name]' \
--output text
@tfentonz
Copy link
Author

Output:

awswaf:managed:aws:core-rule-set:CrossSiteScripting_Body
awswaf:managed:aws:core-rule-set:CrossSiteScripting_URIPath
awswaf:managed:aws:core-rule-set:SizeRestrictions_Body
awswaf:managed:aws:core-rule-set:CrossSiteScripting_Cookie
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment