/
enums.go
339 lines (290 loc) · 10.3 KB
/
enums.go
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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AdminStatus string
// Enum values for AdminStatus
const (
AdminStatusEnabled AdminStatus = "ENABLED"
AdminStatusDisableInProgress AdminStatus = "DISABLE_IN_PROGRESS"
)
// Values returns all known values for AdminStatus. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (AdminStatus) Values() []AdminStatus {
return []AdminStatus{
"ENABLED",
"DISABLE_IN_PROGRESS",
}
}
type DataSource string
// Enum values for DataSource
const (
DataSourceFlowLogs DataSource = "FLOW_LOGS"
DataSourceCloudTrail DataSource = "CLOUD_TRAIL"
DataSourceDnsLogs DataSource = "DNS_LOGS"
DataSourceS3Logs DataSource = "S3_LOGS"
DataSourceKubernetesAuditLogs DataSource = "KUBERNETES_AUDIT_LOGS"
)
// Values returns all known values for DataSource. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (DataSource) Values() []DataSource {
return []DataSource{
"FLOW_LOGS",
"CLOUD_TRAIL",
"DNS_LOGS",
"S3_LOGS",
"KUBERNETES_AUDIT_LOGS",
}
}
type DataSourceStatus string
// Enum values for DataSourceStatus
const (
DataSourceStatusEnabled DataSourceStatus = "ENABLED"
DataSourceStatusDisabled DataSourceStatus = "DISABLED"
)
// Values returns all known values for DataSourceStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DataSourceStatus) Values() []DataSourceStatus {
return []DataSourceStatus{
"ENABLED",
"DISABLED",
}
}
type DestinationType string
// Enum values for DestinationType
const (
DestinationTypeS3 DestinationType = "S3"
)
// Values returns all known values for DestinationType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DestinationType) Values() []DestinationType {
return []DestinationType{
"S3",
}
}
type DetectorStatus string
// Enum values for DetectorStatus
const (
DetectorStatusEnabled DetectorStatus = "ENABLED"
DetectorStatusDisabled DetectorStatus = "DISABLED"
)
// Values returns all known values for DetectorStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DetectorStatus) Values() []DetectorStatus {
return []DetectorStatus{
"ENABLED",
"DISABLED",
}
}
type Feedback string
// Enum values for Feedback
const (
FeedbackUseful Feedback = "USEFUL"
FeedbackNotUseful Feedback = "NOT_USEFUL"
)
// Values returns all known values for Feedback. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Feedback) Values() []Feedback {
return []Feedback{
"USEFUL",
"NOT_USEFUL",
}
}
type FilterAction string
// Enum values for FilterAction
const (
FilterActionNoop FilterAction = "NOOP"
FilterActionArchive FilterAction = "ARCHIVE"
)
// Values returns all known values for FilterAction. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (FilterAction) Values() []FilterAction {
return []FilterAction{
"NOOP",
"ARCHIVE",
}
}
type FindingPublishingFrequency string
// Enum values for FindingPublishingFrequency
const (
FindingPublishingFrequencyFifteenMinutes FindingPublishingFrequency = "FIFTEEN_MINUTES"
FindingPublishingFrequencyOneHour FindingPublishingFrequency = "ONE_HOUR"
FindingPublishingFrequencySixHours FindingPublishingFrequency = "SIX_HOURS"
)
// Values returns all known values for FindingPublishingFrequency. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (FindingPublishingFrequency) Values() []FindingPublishingFrequency {
return []FindingPublishingFrequency{
"FIFTEEN_MINUTES",
"ONE_HOUR",
"SIX_HOURS",
}
}
type FindingStatisticType string
// Enum values for FindingStatisticType
const (
FindingStatisticTypeCountBySeverity FindingStatisticType = "COUNT_BY_SEVERITY"
)
// Values returns all known values for FindingStatisticType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (FindingStatisticType) Values() []FindingStatisticType {
return []FindingStatisticType{
"COUNT_BY_SEVERITY",
}
}
type IpSetFormat string
// Enum values for IpSetFormat
const (
IpSetFormatTxt IpSetFormat = "TXT"
IpSetFormatStix IpSetFormat = "STIX"
IpSetFormatOtxCsv IpSetFormat = "OTX_CSV"
IpSetFormatAlienVault IpSetFormat = "ALIEN_VAULT"
IpSetFormatProofPoint IpSetFormat = "PROOF_POINT"
IpSetFormatFireEye IpSetFormat = "FIRE_EYE"
)
// Values returns all known values for IpSetFormat. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (IpSetFormat) Values() []IpSetFormat {
return []IpSetFormat{
"TXT",
"STIX",
"OTX_CSV",
"ALIEN_VAULT",
"PROOF_POINT",
"FIRE_EYE",
}
}
type IpSetStatus string
// Enum values for IpSetStatus
const (
IpSetStatusInactive IpSetStatus = "INACTIVE"
IpSetStatusActivating IpSetStatus = "ACTIVATING"
IpSetStatusActive IpSetStatus = "ACTIVE"
IpSetStatusDeactivating IpSetStatus = "DEACTIVATING"
IpSetStatusError IpSetStatus = "ERROR"
IpSetStatusDeletePending IpSetStatus = "DELETE_PENDING"
IpSetStatusDeleted IpSetStatus = "DELETED"
)
// Values returns all known values for IpSetStatus. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (IpSetStatus) Values() []IpSetStatus {
return []IpSetStatus{
"INACTIVE",
"ACTIVATING",
"ACTIVE",
"DEACTIVATING",
"ERROR",
"DELETE_PENDING",
"DELETED",
}
}
type OrderBy string
// Enum values for OrderBy
const (
OrderByAsc OrderBy = "ASC"
OrderByDesc OrderBy = "DESC"
)
// Values returns all known values for OrderBy. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (OrderBy) Values() []OrderBy {
return []OrderBy{
"ASC",
"DESC",
}
}
type PublishingStatus string
// Enum values for PublishingStatus
const (
PublishingStatusPendingVerification PublishingStatus = "PENDING_VERIFICATION"
PublishingStatusPublishing PublishingStatus = "PUBLISHING"
PublishingStatusUnableToPublishFixDestinationProperty PublishingStatus = "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY"
PublishingStatusStopped PublishingStatus = "STOPPED"
)
// Values returns all known values for PublishingStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PublishingStatus) Values() []PublishingStatus {
return []PublishingStatus{
"PENDING_VERIFICATION",
"PUBLISHING",
"UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY",
"STOPPED",
}
}
type ThreatIntelSetFormat string
// Enum values for ThreatIntelSetFormat
const (
ThreatIntelSetFormatTxt ThreatIntelSetFormat = "TXT"
ThreatIntelSetFormatStix ThreatIntelSetFormat = "STIX"
ThreatIntelSetFormatOtxCsv ThreatIntelSetFormat = "OTX_CSV"
ThreatIntelSetFormatAlienVault ThreatIntelSetFormat = "ALIEN_VAULT"
ThreatIntelSetFormatProofPoint ThreatIntelSetFormat = "PROOF_POINT"
ThreatIntelSetFormatFireEye ThreatIntelSetFormat = "FIRE_EYE"
)
// Values returns all known values for ThreatIntelSetFormat. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ThreatIntelSetFormat) Values() []ThreatIntelSetFormat {
return []ThreatIntelSetFormat{
"TXT",
"STIX",
"OTX_CSV",
"ALIEN_VAULT",
"PROOF_POINT",
"FIRE_EYE",
}
}
type ThreatIntelSetStatus string
// Enum values for ThreatIntelSetStatus
const (
ThreatIntelSetStatusInactive ThreatIntelSetStatus = "INACTIVE"
ThreatIntelSetStatusActivating ThreatIntelSetStatus = "ACTIVATING"
ThreatIntelSetStatusActive ThreatIntelSetStatus = "ACTIVE"
ThreatIntelSetStatusDeactivating ThreatIntelSetStatus = "DEACTIVATING"
ThreatIntelSetStatusError ThreatIntelSetStatus = "ERROR"
ThreatIntelSetStatusDeletePending ThreatIntelSetStatus = "DELETE_PENDING"
ThreatIntelSetStatusDeleted ThreatIntelSetStatus = "DELETED"
)
// Values returns all known values for ThreatIntelSetStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ThreatIntelSetStatus) Values() []ThreatIntelSetStatus {
return []ThreatIntelSetStatus{
"INACTIVE",
"ACTIVATING",
"ACTIVE",
"DEACTIVATING",
"ERROR",
"DELETE_PENDING",
"DELETED",
}
}
type UsageStatisticType string
// Enum values for UsageStatisticType
const (
UsageStatisticTypeSumByAccount UsageStatisticType = "SUM_BY_ACCOUNT"
UsageStatisticTypeSumByDataSource UsageStatisticType = "SUM_BY_DATA_SOURCE"
UsageStatisticTypeSumByResource UsageStatisticType = "SUM_BY_RESOURCE"
UsageStatisticTypeTopResources UsageStatisticType = "TOP_RESOURCES"
)
// Values returns all known values for UsageStatisticType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (UsageStatisticType) Values() []UsageStatisticType {
return []UsageStatisticType{
"SUM_BY_ACCOUNT",
"SUM_BY_DATA_SOURCE",
"SUM_BY_RESOURCE",
"TOP_RESOURCES",
}
}