You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/WAF.md
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,22 @@ waf:
119
119
- US
120
120
```
121
121
122
+
```yml
123
+
waf:
124
+
enabled: true
125
+
defaultAction: Block
126
+
rules:
127
+
# using ManagedRuleGroup
128
+
- name: "AWSManagedRulesCommonRuleSet"
129
+
priority: 20
130
+
overrideAction:
131
+
None: {}
132
+
statement:
133
+
ManagedRuleGroupStatement:
134
+
VendorName: "AWS"
135
+
Name: "AWSManagedRulesCommonRuleSet"
136
+
```
137
+
122
138
### Per API Key rules
123
139
124
140
In some cases, you might want to enable a rule for a given API key only. You can specify `wafRules` under the `appSync.apiKeys` attribute. The rules will apply only to that API key.
0 commit comments