/
enums.go
805 lines (693 loc) · 26 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
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
// 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 AutoEnableMembers string
// Enum values for AutoEnableMembers
const (
AutoEnableMembersNew AutoEnableMembers = "NEW"
AutoEnableMembersAll AutoEnableMembers = "ALL"
AutoEnableMembersNone AutoEnableMembers = "NONE"
)
// Values returns all known values for AutoEnableMembers. 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 (AutoEnableMembers) Values() []AutoEnableMembers {
return []AutoEnableMembers{
"NEW",
"ALL",
"NONE",
}
}
type CoverageFilterCriterionKey string
// Enum values for CoverageFilterCriterionKey
const (
CoverageFilterCriterionKeyAccountId CoverageFilterCriterionKey = "ACCOUNT_ID"
CoverageFilterCriterionKeyClusterName CoverageFilterCriterionKey = "CLUSTER_NAME"
CoverageFilterCriterionKeyResourceType CoverageFilterCriterionKey = "RESOURCE_TYPE"
CoverageFilterCriterionKeyCoverageStatus CoverageFilterCriterionKey = "COVERAGE_STATUS"
CoverageFilterCriterionKeyAddonVersion CoverageFilterCriterionKey = "ADDON_VERSION"
)
// Values returns all known values for CoverageFilterCriterionKey. 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 (CoverageFilterCriterionKey) Values() []CoverageFilterCriterionKey {
return []CoverageFilterCriterionKey{
"ACCOUNT_ID",
"CLUSTER_NAME",
"RESOURCE_TYPE",
"COVERAGE_STATUS",
"ADDON_VERSION",
}
}
type CoverageSortKey string
// Enum values for CoverageSortKey
const (
CoverageSortKeyAccountId CoverageSortKey = "ACCOUNT_ID"
CoverageSortKeyClusterName CoverageSortKey = "CLUSTER_NAME"
CoverageSortKeyCoverageStatus CoverageSortKey = "COVERAGE_STATUS"
CoverageSortKeyIssue CoverageSortKey = "ISSUE"
CoverageSortKeyAddonVersion CoverageSortKey = "ADDON_VERSION"
CoverageSortKeyUpdatedAt CoverageSortKey = "UPDATED_AT"
)
// Values returns all known values for CoverageSortKey. 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 (CoverageSortKey) Values() []CoverageSortKey {
return []CoverageSortKey{
"ACCOUNT_ID",
"CLUSTER_NAME",
"COVERAGE_STATUS",
"ISSUE",
"ADDON_VERSION",
"UPDATED_AT",
}
}
type CoverageStatisticsType string
// Enum values for CoverageStatisticsType
const (
CoverageStatisticsTypeCountByResourceType CoverageStatisticsType = "COUNT_BY_RESOURCE_TYPE"
CoverageStatisticsTypeCountByCoverageStatus CoverageStatisticsType = "COUNT_BY_COVERAGE_STATUS"
)
// Values returns all known values for CoverageStatisticsType. 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 (CoverageStatisticsType) Values() []CoverageStatisticsType {
return []CoverageStatisticsType{
"COUNT_BY_RESOURCE_TYPE",
"COUNT_BY_COVERAGE_STATUS",
}
}
type CoverageStatus string
// Enum values for CoverageStatus
const (
CoverageStatusHealthy CoverageStatus = "HEALTHY"
CoverageStatusUnhealthy CoverageStatus = "UNHEALTHY"
)
// Values returns all known values for CoverageStatus. 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 (CoverageStatus) Values() []CoverageStatus {
return []CoverageStatus{
"HEALTHY",
"UNHEALTHY",
}
}
type CriterionKey string
// Enum values for CriterionKey
const (
CriterionKeyEc2InstanceArn CriterionKey = "EC2_INSTANCE_ARN"
CriterionKeyScanId CriterionKey = "SCAN_ID"
CriterionKeyAccountId CriterionKey = "ACCOUNT_ID"
CriterionKeyGuarddutyFindingId CriterionKey = "GUARDDUTY_FINDING_ID"
CriterionKeyScanStartTime CriterionKey = "SCAN_START_TIME"
CriterionKeyScanStatus CriterionKey = "SCAN_STATUS"
CriterionKeyScanType CriterionKey = "SCAN_TYPE"
)
// Values returns all known values for CriterionKey. 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 (CriterionKey) Values() []CriterionKey {
return []CriterionKey{
"EC2_INSTANCE_ARN",
"SCAN_ID",
"ACCOUNT_ID",
"GUARDDUTY_FINDING_ID",
"SCAN_START_TIME",
"SCAN_STATUS",
"SCAN_TYPE",
}
}
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"
DataSourceEc2MalwareScan DataSource = "EC2_MALWARE_SCAN"
)
// 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",
"EC2_MALWARE_SCAN",
}
}
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 DetectorFeature string
// Enum values for DetectorFeature
const (
DetectorFeatureS3DataEvents DetectorFeature = "S3_DATA_EVENTS"
DetectorFeatureEksAuditLogs DetectorFeature = "EKS_AUDIT_LOGS"
DetectorFeatureEbsMalwareProtection DetectorFeature = "EBS_MALWARE_PROTECTION"
DetectorFeatureRdsLoginEvents DetectorFeature = "RDS_LOGIN_EVENTS"
DetectorFeatureEksRuntimeMonitoring DetectorFeature = "EKS_RUNTIME_MONITORING"
DetectorFeatureLambdaNetworkLogs DetectorFeature = "LAMBDA_NETWORK_LOGS"
)
// Values returns all known values for DetectorFeature. 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 (DetectorFeature) Values() []DetectorFeature {
return []DetectorFeature{
"S3_DATA_EVENTS",
"EKS_AUDIT_LOGS",
"EBS_MALWARE_PROTECTION",
"RDS_LOGIN_EVENTS",
"EKS_RUNTIME_MONITORING",
"LAMBDA_NETWORK_LOGS",
}
}
type DetectorFeatureResult string
// Enum values for DetectorFeatureResult
const (
DetectorFeatureResultFlowLogs DetectorFeatureResult = "FLOW_LOGS"
DetectorFeatureResultCloudTrail DetectorFeatureResult = "CLOUD_TRAIL"
DetectorFeatureResultDnsLogs DetectorFeatureResult = "DNS_LOGS"
DetectorFeatureResultS3DataEvents DetectorFeatureResult = "S3_DATA_EVENTS"
DetectorFeatureResultEksAuditLogs DetectorFeatureResult = "EKS_AUDIT_LOGS"
DetectorFeatureResultEbsMalwareProtection DetectorFeatureResult = "EBS_MALWARE_PROTECTION"
DetectorFeatureResultRdsLoginEvents DetectorFeatureResult = "RDS_LOGIN_EVENTS"
DetectorFeatureResultEksRuntimeMonitoring DetectorFeatureResult = "EKS_RUNTIME_MONITORING"
DetectorFeatureResultLambdaNetworkLogs DetectorFeatureResult = "LAMBDA_NETWORK_LOGS"
)
// Values returns all known values for DetectorFeatureResult. 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 (DetectorFeatureResult) Values() []DetectorFeatureResult {
return []DetectorFeatureResult{
"FLOW_LOGS",
"CLOUD_TRAIL",
"DNS_LOGS",
"S3_DATA_EVENTS",
"EKS_AUDIT_LOGS",
"EBS_MALWARE_PROTECTION",
"RDS_LOGIN_EVENTS",
"EKS_RUNTIME_MONITORING",
"LAMBDA_NETWORK_LOGS",
}
}
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 EbsSnapshotPreservation string
// Enum values for EbsSnapshotPreservation
const (
EbsSnapshotPreservationNoRetention EbsSnapshotPreservation = "NO_RETENTION"
EbsSnapshotPreservationRetentionWithFinding EbsSnapshotPreservation = "RETENTION_WITH_FINDING"
)
// Values returns all known values for EbsSnapshotPreservation. 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 (EbsSnapshotPreservation) Values() []EbsSnapshotPreservation {
return []EbsSnapshotPreservation{
"NO_RETENTION",
"RETENTION_WITH_FINDING",
}
}
type FeatureAdditionalConfiguration string
// Enum values for FeatureAdditionalConfiguration
const (
FeatureAdditionalConfigurationEksAddonManagement FeatureAdditionalConfiguration = "EKS_ADDON_MANAGEMENT"
)
// Values returns all known values for FeatureAdditionalConfiguration. 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 (FeatureAdditionalConfiguration) Values() []FeatureAdditionalConfiguration {
return []FeatureAdditionalConfiguration{
"EKS_ADDON_MANAGEMENT",
}
}
type FeatureStatus string
// Enum values for FeatureStatus
const (
FeatureStatusEnabled FeatureStatus = "ENABLED"
FeatureStatusDisabled FeatureStatus = "DISABLED"
)
// Values returns all known values for FeatureStatus. 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 (FeatureStatus) Values() []FeatureStatus {
return []FeatureStatus{
"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 FreeTrialFeatureResult string
// Enum values for FreeTrialFeatureResult
const (
FreeTrialFeatureResultFlowLogs FreeTrialFeatureResult = "FLOW_LOGS"
FreeTrialFeatureResultCloudTrail FreeTrialFeatureResult = "CLOUD_TRAIL"
FreeTrialFeatureResultDnsLogs FreeTrialFeatureResult = "DNS_LOGS"
FreeTrialFeatureResultS3DataEvents FreeTrialFeatureResult = "S3_DATA_EVENTS"
FreeTrialFeatureResultEksAuditLogs FreeTrialFeatureResult = "EKS_AUDIT_LOGS"
FreeTrialFeatureResultEbsMalwareProtection FreeTrialFeatureResult = "EBS_MALWARE_PROTECTION"
FreeTrialFeatureResultRdsLoginEvents FreeTrialFeatureResult = "RDS_LOGIN_EVENTS"
FreeTrialFeatureResultEksRuntimeMonitoring FreeTrialFeatureResult = "EKS_RUNTIME_MONITORING"
FreeTrialFeatureResultLambdaNetworkLogs FreeTrialFeatureResult = "LAMBDA_NETWORK_LOGS"
)
// Values returns all known values for FreeTrialFeatureResult. 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 (FreeTrialFeatureResult) Values() []FreeTrialFeatureResult {
return []FreeTrialFeatureResult{
"FLOW_LOGS",
"CLOUD_TRAIL",
"DNS_LOGS",
"S3_DATA_EVENTS",
"EKS_AUDIT_LOGS",
"EBS_MALWARE_PROTECTION",
"RDS_LOGIN_EVENTS",
"EKS_RUNTIME_MONITORING",
"LAMBDA_NETWORK_LOGS",
}
}
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 OrgFeature string
// Enum values for OrgFeature
const (
OrgFeatureS3DataEvents OrgFeature = "S3_DATA_EVENTS"
OrgFeatureEksAuditLogs OrgFeature = "EKS_AUDIT_LOGS"
OrgFeatureEbsMalwareProtection OrgFeature = "EBS_MALWARE_PROTECTION"
OrgFeatureRdsLoginEvents OrgFeature = "RDS_LOGIN_EVENTS"
OrgFeatureEksRuntimeMonitoring OrgFeature = "EKS_RUNTIME_MONITORING"
OrgFeatureLambdaNetworkLogs OrgFeature = "LAMBDA_NETWORK_LOGS"
)
// Values returns all known values for OrgFeature. 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 (OrgFeature) Values() []OrgFeature {
return []OrgFeature{
"S3_DATA_EVENTS",
"EKS_AUDIT_LOGS",
"EBS_MALWARE_PROTECTION",
"RDS_LOGIN_EVENTS",
"EKS_RUNTIME_MONITORING",
"LAMBDA_NETWORK_LOGS",
}
}
type OrgFeatureAdditionalConfiguration string
// Enum values for OrgFeatureAdditionalConfiguration
const (
OrgFeatureAdditionalConfigurationEksAddonManagement OrgFeatureAdditionalConfiguration = "EKS_ADDON_MANAGEMENT"
)
// Values returns all known values for OrgFeatureAdditionalConfiguration. 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 (OrgFeatureAdditionalConfiguration) Values() []OrgFeatureAdditionalConfiguration {
return []OrgFeatureAdditionalConfiguration{
"EKS_ADDON_MANAGEMENT",
}
}
type OrgFeatureStatus string
// Enum values for OrgFeatureStatus
const (
OrgFeatureStatusNew OrgFeatureStatus = "NEW"
OrgFeatureStatusNone OrgFeatureStatus = "NONE"
OrgFeatureStatusAll OrgFeatureStatus = "ALL"
)
// Values returns all known values for OrgFeatureStatus. 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 (OrgFeatureStatus) Values() []OrgFeatureStatus {
return []OrgFeatureStatus{
"NEW",
"NONE",
"ALL",
}
}
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 ResourceType string
// Enum values for ResourceType
const (
ResourceTypeEks ResourceType = "EKS"
)
// Values returns all known values for ResourceType. 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 (ResourceType) Values() []ResourceType {
return []ResourceType{
"EKS",
}
}
type ScanCriterionKey string
// Enum values for ScanCriterionKey
const (
ScanCriterionKeyEc2InstanceTag ScanCriterionKey = "EC2_INSTANCE_TAG"
)
// Values returns all known values for ScanCriterionKey. 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 (ScanCriterionKey) Values() []ScanCriterionKey {
return []ScanCriterionKey{
"EC2_INSTANCE_TAG",
}
}
type ScanResult string
// Enum values for ScanResult
const (
ScanResultClean ScanResult = "CLEAN"
ScanResultInfected ScanResult = "INFECTED"
)
// Values returns all known values for ScanResult. 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 (ScanResult) Values() []ScanResult {
return []ScanResult{
"CLEAN",
"INFECTED",
}
}
type ScanStatus string
// Enum values for ScanStatus
const (
ScanStatusRunning ScanStatus = "RUNNING"
ScanStatusCompleted ScanStatus = "COMPLETED"
ScanStatusFailed ScanStatus = "FAILED"
ScanStatusSkipped ScanStatus = "SKIPPED"
)
// Values returns all known values for ScanStatus. 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 (ScanStatus) Values() []ScanStatus {
return []ScanStatus{
"RUNNING",
"COMPLETED",
"FAILED",
"SKIPPED",
}
}
type ScanType string
// Enum values for ScanType
const (
ScanTypeGuarddutyInitiated ScanType = "GUARDDUTY_INITIATED"
ScanTypeOnDemand ScanType = "ON_DEMAND"
)
// Values returns all known values for ScanType. 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 (ScanType) Values() []ScanType {
return []ScanType{
"GUARDDUTY_INITIATED",
"ON_DEMAND",
}
}
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 UsageFeature string
// Enum values for UsageFeature
const (
UsageFeatureFlowLogs UsageFeature = "FLOW_LOGS"
UsageFeatureCloudTrail UsageFeature = "CLOUD_TRAIL"
UsageFeatureDnsLogs UsageFeature = "DNS_LOGS"
UsageFeatureS3DataEvents UsageFeature = "S3_DATA_EVENTS"
UsageFeatureEksAuditLogs UsageFeature = "EKS_AUDIT_LOGS"
UsageFeatureEbsMalwareProtection UsageFeature = "EBS_MALWARE_PROTECTION"
UsageFeatureRdsLoginEvents UsageFeature = "RDS_LOGIN_EVENTS"
UsageFeatureLambdaNetworkLogs UsageFeature = "LAMBDA_NETWORK_LOGS"
UsageFeatureEksRuntimeMonitoring UsageFeature = "EKS_RUNTIME_MONITORING"
)
// Values returns all known values for UsageFeature. 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 (UsageFeature) Values() []UsageFeature {
return []UsageFeature{
"FLOW_LOGS",
"CLOUD_TRAIL",
"DNS_LOGS",
"S3_DATA_EVENTS",
"EKS_AUDIT_LOGS",
"EBS_MALWARE_PROTECTION",
"RDS_LOGIN_EVENTS",
"LAMBDA_NETWORK_LOGS",
"EKS_RUNTIME_MONITORING",
}
}
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"
UsageStatisticTypeSumByFeatures UsageStatisticType = "SUM_BY_FEATURES"
)
// 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",
"SUM_BY_FEATURES",
}
}