-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathschema.graphql
More file actions
270 lines (228 loc) · 8.08 KB
/
Copy pathschema.graphql
File metadata and controls
270 lines (228 loc) · 8.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
type awsWafV2WebAcl implements awsBaseService @key(fields: "arn") {
name: String @search(by: [hash, regexp])
description: String @search(by: [hash, regexp])
ManagedByFirewallManager: Boolean @search
capacity: Int @search
labelNamespace: String @search(by: [hash, regexp])
rules: [awsWafV2Rule]
defaultAction: awsWafV2DefaultAction
visibilityConfig: awsWafV2VisibilityConfig
preProcessFirewallManagerRuleGroups: [awsWafV2FirewallManagerRuleGroup]
postProcessFirewallManagerRuleGroups: [awsWafV2FirewallManagerRuleGroup]
customResponseBodies: [awsWafV2CustomResponseBody]
loggingConfiguration: awsWafV2LoggingConfig
cloudfront: [awsCloudfront] @hasInverse(field: webAcl)
appSync: [awsAppSync] @hasInverse(field: webAcl)
apiGatewayStages: [awsApiGatewayStage] @hasInverse(field: webAcl)
albs: [awsAlb] @hasInverse(field: webAcl)
}
type awsWafV2Rule {
id: String! @id @search(by: [hash])
name: String @search(by: [hash, regexp])
priority: Int @search
statement: awsWafV2Statement
action: awsWafV2RuleAction
overrideAction: awsWafV2RuleOverrideAction
ruleLabels: [awsWafV2RuleLabel]
visibilityConfig: awsWafV2VisibilityConfig
}
type awsWafV2DefaultAction {
block: awsWafV2RuleBlockAction
allow: awsWafV2RuleAllowOrCountAction
}
type awsWafV2FirewallManagerRuleGroup {
id: String! @id @search(by: [hash])
name: String @search(by: [hash, regexp])
priority: Int @search
overrideAction: awsWafV2RuleOverrideAction
visibilityConfig: awsWafV2VisibilityConfig
}
type awsWafV2FirewallManager {
firewallManagerStatement: awsWafV2FirewallManagerStatement
}
type awsWafV2FirewallManagerStatement {
managedRuleGroupStatement: awsWafV2StatementManagedRuleGroupStatement
ruleGroupReferenceStatement: awsWafV2StatementRuleGroupReferenceStatement
}
type awsWafV2CustomResponseBody {
id: String! @id @search(by: [hash])
key: String @search(by: [hash, regexp])
contentType: String @search(by: [hash, regexp])
content: String @search(by: [hash, regexp])
}
type awsWafV2LoggingConfig {
resourceArn: String @search(by: [hash, regexp])
logDestinationConfigs: [String] @search(by: [hash, regexp])
redactedFields: [awsWafV2FieldToMatch]
managedByFirewallManager: Boolean @search
loggingFilter: awsWafV2LoggingFilterConfig
}
type awsWafV2Statement {
id: String! @id @search(by: [hash, regexp])
byteMatchStatement: awsWafV2StatementByteMatchStatement
sqliMatchStatement: awsWafV2StatementSqliMatchStatement
xssMatchStatement: awsWafV2StatementXssMatchStatement
sizeConstraintStatement: awsWafV2StatementSzieConstraintStatement
geoMatchStatement: awsWafV2StatementGeoMatchStatement
ruleGroupReferenceStatement: awsWafV2StatementRuleGroupReferenceStatement
iPSetReferenceStatement: awsWafV2StatementIpSetReferenceStatement
regexPatternSetReferenceStatement: awsWafV2StatementRegrexPattern
rateBasedStatement: awsWafV2StatementRateBasedStatement
andStatement: awsWafV2StatementAndStatement
orStatement: awsWafV2StatementOrStatement
notStatement: awsWafV2StatementNotStatement
managedRuleGroupStatement: awsWafV2StatementManagedRuleGroupStatement
labelMatchStatement: awsWafV2StatementLabelMatchStatement
}
type awsWafV2RuleAction {
block: awsWafV2RuleBlockAction
allow: awsWafV2RuleAllowOrCountAction
count: awsWafV2RuleAllowOrCountAction
}
type awsWafV2RuleOverrideAction {
count: awsWafV2RuleAllowOrCountAction
none: Boolean @search
}
type awsWafV2RuleLabel {
id: String! @id @search(by: [hash, regexp])
name: String @search(by: [hash, regexp])
}
type awsWafV2VisibilityConfig {
sampledRequestsEnabled: Boolean @search
cloudWatchMetricsEnabled: Boolean @search
metricName: String @search(by: [hash, regexp])
}
type awsWafV2StatementByteMatchStatement {
searchString: String @search(by: [hash, regexp])
fieldToMatch: awsWafV2FieldToMatch
textTransformations: [awsWafV2TextTransformation]
positionalConstraint: String @search(by: [hash, regexp])
}
type awsWafV2StatementSqliMatchStatement {
fieldToMatch: awsWafV2FieldToMatch
textTransformations: [awsWafV2TextTransformation]
}
type awsWafV2StatementXssMatchStatement {
fieldToMatch: awsWafV2FieldToMatch
textTransformations: [awsWafV2TextTransformation]
}
type awsWafV2StatementSzieConstraintStatement {
size: Int @search
comparisonOperator: String @search(by: [hash, regexp])
fieldToMatch: awsWafV2FieldToMatch
textTransformations: [awsWafV2TextTransformation]
}
type awsWafV2StatementGeoMatchStatement {
countryCodes: [String] @search(by: [hash, regexp])
forwardedIpConfig: awsWafV2ForwardedIpConfig
}
type awsWafV2StatementRuleGroupReferenceStatement {
arn: String @search(by: [hash, regexp])
excludedRules: [awsWafV2ExcludedRule]
}
type awsWafV2StatementIpSetReferenceStatement {
arn: String @search(by: [hash, regexp])
iPSetForwardedIPConfig: awsWafV2IPSetForwardedIPConfig
}
type awsWafV2StatementRegrexPattern {
arn: String @search(by: [hash, regexp])
fieldToMatch: awsWafV2FieldToMatch
textTransformations: [awsWafV2TextTransformation]
}
type awsWafV2StatementRateBasedStatement {
limit: Int @search
aggregateKeyType: String @search(by: [hash, regexp])
forwardedIpConfig: awsWafV2ForwardedIpConfig
statement: awsWafV2Statement
}
type awsWafV2StatementAndStatement {
statements: [awsWafV2Statement]
}
type awsWafV2StatementOrStatement {
statements: [awsWafV2Statement]
}
type awsWafV2StatementNotStatement {
statement: awsWafV2Statement
}
type awsWafV2StatementManagedRuleGroupStatement {
vendorName: String @search(by: [hash, regexp])
name: String @search(by: [hash, regexp])
version: String @search(by: [hash, regexp])
excludedRules: [awsWafV2ExcludedRule]
scopedDownStatement: String
}
type awsWafV2StatementLabelMatchStatement {
scope: String @search(by: [hash, regexp])
key: String @search(by: [hash, regexp])
}
type awsWafV2FieldToMatch {
id: String! @id @search(by: [hash, regexp])
singleHeader: awsWafV2SingleName
singleQueryArgument: awsWafV2SingleName
}
type awsWafV2SingleName {
name: String @search(by: [hash, regexp])
}
type awsWafV2TextTransformation {
id: String! @id @search(by: [hash, regexp])
priority: Int @search
type: String @search(by: [hash, regexp])
}
type awsWafV2ForwardedIpConfig {
headerName: String @search(by: [hash, regexp])
fallbackBehavior: String @search(by: [hash, regexp])
}
type awsWafV2IPSetForwardedIPConfig {
headerName: String @search(by: [hash, regexp])
fallbackBehavior: String @search(by: [hash, regexp])
position: Int @search
}
type awsWafV2ExcludedRule {
id: String! @id @search(by: [hash, regexp])
name: String @search(by: [hash, regexp])
}
type awsWafV2RuleBlockAction {
customResponse: awsWafV2RuleActionCustomResponse
}
type awsWafV2RuleAllowOrCountAction {
customRequestHandling: awsWafV2RuleActionCustomRequestHandling
}
type awsWafV2RuleActionCustomResponse {
responseCode: Int
customResponseBodyKey: String @search(by: [hash, regexp])
responseHeaders: [awsWafV2RuleActionResponseHeader]
}
type awsWafV2RuleActionResponseHeader {
id: String! @id @search(by: [hash, regexp])
name: String @search(by: [hash, regexp])
value: String @search(by: [hash, regexp])
}
type awsWafV2RuleActionCustomRequestHandling {
insertHeaders: [awsWafV2RuleActionCustomRequestHandlingHeader]
}
type awsWafV2RuleActionCustomRequestHandlingHeader {
id: String! @id @search(by: [hash, regexp])
name: String @search(by: [hash, regexp])
value: String @search(by: [hash, regexp])
}
type awsWafV2LoggingFilterConfig {
filters: [awsWafV2LoggingFilter]
defaultBehavior: String @search(by: [hash, regexp])
}
type awsWafV2LoggingFilter {
id: String! @id @search(by: [hash, regexp])
behavior: String @search(by: [hash, regexp])
requirement: String @search(by: [hash, regexp])
conditions: [awsWafV2LoggingFilterCondition]
}
type awsWafV2LoggingFilterCondition {
id: String! @id @search(by: [hash, regexp])
actionCondition: awsWafV2LoggingFilterActionCondition
labelNameCondition: awsWafV2LoggingFilterLabelNameCondition
}
type awsWafV2LoggingFilterActionCondition {
action: String @search(by: [hash, regexp])
}
type awsWafV2LoggingFilterLabelNameCondition {
labelName: String @search(by: [hash, regexp])
}