forked from Azure/azure-sdk-for-go
/
enums.go
1929 lines (1631 loc) · 73.6 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
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package security
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AadConnectivityState enumerates the values for aad connectivity state.
type AadConnectivityState string
const (
// Connected ...
Connected AadConnectivityState = "Connected"
// Discovered ...
Discovered AadConnectivityState = "Discovered"
// NotLicensed ...
NotLicensed AadConnectivityState = "NotLicensed"
)
// PossibleAadConnectivityStateValues returns an array of possible values for the AadConnectivityState const type.
func PossibleAadConnectivityStateValues() []AadConnectivityState {
return []AadConnectivityState{Connected, Discovered, NotLicensed}
}
// Action enumerates the values for action.
type Action string
const (
// Add ...
Add Action = "Add"
// Recommended ...
Recommended Action = "Recommended"
// Remove ...
Remove Action = "Remove"
)
// PossibleActionValues returns an array of possible values for the Action const type.
func PossibleActionValues() []Action {
return []Action{Add, Recommended, Remove}
}
// ActionType enumerates the values for action type.
type ActionType string
const (
// ActionTypeAutomationAction ...
ActionTypeAutomationAction ActionType = "AutomationAction"
// ActionTypeEventHub ...
ActionTypeEventHub ActionType = "EventHub"
// ActionTypeLogicApp ...
ActionTypeLogicApp ActionType = "LogicApp"
// ActionTypeWorkspace ...
ActionTypeWorkspace ActionType = "Workspace"
)
// PossibleActionTypeValues returns an array of possible values for the ActionType const type.
func PossibleActionTypeValues() []ActionType {
return []ActionType{ActionTypeAutomationAction, ActionTypeEventHub, ActionTypeLogicApp, ActionTypeWorkspace}
}
// AdditionalWorkspaceDataType enumerates the values for additional workspace data type.
type AdditionalWorkspaceDataType string
const (
// Alerts ...
Alerts AdditionalWorkspaceDataType = "Alerts"
// RawEvents ...
RawEvents AdditionalWorkspaceDataType = "RawEvents"
)
// PossibleAdditionalWorkspaceDataTypeValues returns an array of possible values for the AdditionalWorkspaceDataType const type.
func PossibleAdditionalWorkspaceDataTypeValues() []AdditionalWorkspaceDataType {
return []AdditionalWorkspaceDataType{Alerts, RawEvents}
}
// AdditionalWorkspaceType enumerates the values for additional workspace type.
type AdditionalWorkspaceType string
const (
// Sentinel ...
Sentinel AdditionalWorkspaceType = "Sentinel"
)
// PossibleAdditionalWorkspaceTypeValues returns an array of possible values for the AdditionalWorkspaceType const type.
func PossibleAdditionalWorkspaceTypeValues() []AdditionalWorkspaceType {
return []AdditionalWorkspaceType{Sentinel}
}
// AlertIntent enumerates the values for alert intent.
type AlertIntent string
const (
// Collection ...
Collection AlertIntent = "Collection"
// CommandAndControl ...
CommandAndControl AlertIntent = "CommandAndControl"
// CredentialAccess ...
CredentialAccess AlertIntent = "CredentialAccess"
// DefenseEvasion ...
DefenseEvasion AlertIntent = "DefenseEvasion"
// Discovery ...
Discovery AlertIntent = "Discovery"
// Execution ...
Execution AlertIntent = "Execution"
// Exfiltration ...
Exfiltration AlertIntent = "Exfiltration"
// Exploitation ...
Exploitation AlertIntent = "Exploitation"
// Impact ...
Impact AlertIntent = "Impact"
// InitialAccess ...
InitialAccess AlertIntent = "InitialAccess"
// LateralMovement ...
LateralMovement AlertIntent = "LateralMovement"
// Persistence ...
Persistence AlertIntent = "Persistence"
// PreAttack ...
PreAttack AlertIntent = "PreAttack"
// PrivilegeEscalation ...
PrivilegeEscalation AlertIntent = "PrivilegeEscalation"
// Probing ...
Probing AlertIntent = "Probing"
// Unknown ...
Unknown AlertIntent = "Unknown"
)
// PossibleAlertIntentValues returns an array of possible values for the AlertIntent const type.
func PossibleAlertIntentValues() []AlertIntent {
return []AlertIntent{Collection, CommandAndControl, CredentialAccess, DefenseEvasion, Discovery, Execution, Exfiltration, Exploitation, Impact, InitialAccess, LateralMovement, Persistence, PreAttack, PrivilegeEscalation, Probing, Unknown}
}
// AlertNotifications enumerates the values for alert notifications.
type AlertNotifications string
const (
// Off Don't get notifications on new alerts
Off AlertNotifications = "Off"
// On Get notifications on new alerts
On AlertNotifications = "On"
)
// PossibleAlertNotificationsValues returns an array of possible values for the AlertNotifications const type.
func PossibleAlertNotificationsValues() []AlertNotifications {
return []AlertNotifications{Off, On}
}
// AlertSeverity enumerates the values for alert severity.
type AlertSeverity string
const (
// High ...
High AlertSeverity = "High"
// Informational ...
Informational AlertSeverity = "Informational"
// Low ...
Low AlertSeverity = "Low"
// Medium ...
Medium AlertSeverity = "Medium"
)
// PossibleAlertSeverityValues returns an array of possible values for the AlertSeverity const type.
func PossibleAlertSeverityValues() []AlertSeverity {
return []AlertSeverity{High, Informational, Low, Medium}
}
// AlertStatus enumerates the values for alert status.
type AlertStatus string
const (
// Active An alert which doesn't specify a value is assigned the status 'Active'
Active AlertStatus = "Active"
// Dismissed Alert dismissed as false positive
Dismissed AlertStatus = "Dismissed"
// Resolved Alert closed after handling
Resolved AlertStatus = "Resolved"
)
// PossibleAlertStatusValues returns an array of possible values for the AlertStatus const type.
func PossibleAlertStatusValues() []AlertStatus {
return []AlertStatus{Active, Dismissed, Resolved}
}
// AlertsToAdmins enumerates the values for alerts to admins.
type AlertsToAdmins string
const (
// AlertsToAdminsOff Don't send notification on new alerts to the subscription's admins
AlertsToAdminsOff AlertsToAdmins = "Off"
// AlertsToAdminsOn Send notification on new alerts to the subscription's admins
AlertsToAdminsOn AlertsToAdmins = "On"
)
// PossibleAlertsToAdminsValues returns an array of possible values for the AlertsToAdmins const type.
func PossibleAlertsToAdminsValues() []AlertsToAdmins {
return []AlertsToAdmins{AlertsToAdminsOff, AlertsToAdminsOn}
}
// AssessedResourceType enumerates the values for assessed resource type.
type AssessedResourceType string
const (
// AssessedResourceTypeAdditionalData ...
AssessedResourceTypeAdditionalData AssessedResourceType = "AdditionalData"
// AssessedResourceTypeContainerRegistryVulnerability ...
AssessedResourceTypeContainerRegistryVulnerability AssessedResourceType = "ContainerRegistryVulnerability"
// AssessedResourceTypeServerVulnerabilityAssessment ...
AssessedResourceTypeServerVulnerabilityAssessment AssessedResourceType = "ServerVulnerabilityAssessment"
// AssessedResourceTypeSQLServerVulnerability ...
AssessedResourceTypeSQLServerVulnerability AssessedResourceType = "SqlServerVulnerability"
)
// PossibleAssessedResourceTypeValues returns an array of possible values for the AssessedResourceType const type.
func PossibleAssessedResourceTypeValues() []AssessedResourceType {
return []AssessedResourceType{AssessedResourceTypeAdditionalData, AssessedResourceTypeContainerRegistryVulnerability, AssessedResourceTypeServerVulnerabilityAssessment, AssessedResourceTypeSQLServerVulnerability}
}
// AssessmentStatusCode enumerates the values for assessment status code.
type AssessmentStatusCode string
const (
// Healthy The resource is healthy
Healthy AssessmentStatusCode = "Healthy"
// NotApplicable Assessment for this resource did not happen
NotApplicable AssessmentStatusCode = "NotApplicable"
// Unhealthy The resource has a security issue that needs to be addressed
Unhealthy AssessmentStatusCode = "Unhealthy"
)
// PossibleAssessmentStatusCodeValues returns an array of possible values for the AssessmentStatusCode const type.
func PossibleAssessmentStatusCodeValues() []AssessmentStatusCode {
return []AssessmentStatusCode{Healthy, NotApplicable, Unhealthy}
}
// AssessmentType enumerates the values for assessment type.
type AssessmentType string
const (
// BuiltIn Azure Security Center managed assessments
BuiltIn AssessmentType = "BuiltIn"
// CustomerManaged User assessments pushed directly by the user or other third party to Azure Security
// Center
CustomerManaged AssessmentType = "CustomerManaged"
// CustomPolicy User defined policies that are automatically ingested from Azure Policy to Azure Security
// Center
CustomPolicy AssessmentType = "CustomPolicy"
// VerifiedPartner An assessment that was created by a verified 3rd party if the user connected it to ASC
VerifiedPartner AssessmentType = "VerifiedPartner"
)
// PossibleAssessmentTypeValues returns an array of possible values for the AssessmentType const type.
func PossibleAssessmentTypeValues() []AssessmentType {
return []AssessmentType{BuiltIn, CustomerManaged, CustomPolicy, VerifiedPartner}
}
// AuthenticationProvisioningState enumerates the values for authentication provisioning state.
type AuthenticationProvisioningState string
const (
// Expired the connection has expired
Expired AuthenticationProvisioningState = "Expired"
// IncorrectPolicy Incorrect policy of the connector
IncorrectPolicy AuthenticationProvisioningState = "IncorrectPolicy"
// Invalid Invalid connector
Invalid AuthenticationProvisioningState = "Invalid"
// Valid Valid connector
Valid AuthenticationProvisioningState = "Valid"
)
// PossibleAuthenticationProvisioningStateValues returns an array of possible values for the AuthenticationProvisioningState const type.
func PossibleAuthenticationProvisioningStateValues() []AuthenticationProvisioningState {
return []AuthenticationProvisioningState{Expired, IncorrectPolicy, Invalid, Valid}
}
// AuthenticationType enumerates the values for authentication type.
type AuthenticationType string
const (
// AuthenticationTypeAuthenticationDetailsProperties ...
AuthenticationTypeAuthenticationDetailsProperties AuthenticationType = "AuthenticationDetailsProperties"
// AuthenticationTypeAwsAssumeRole ...
AuthenticationTypeAwsAssumeRole AuthenticationType = "awsAssumeRole"
// AuthenticationTypeAwsCreds ...
AuthenticationTypeAwsCreds AuthenticationType = "awsCreds"
// AuthenticationTypeGcpCredentials ...
AuthenticationTypeGcpCredentials AuthenticationType = "gcpCredentials"
)
// PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.
func PossibleAuthenticationTypeValues() []AuthenticationType {
return []AuthenticationType{AuthenticationTypeAuthenticationDetailsProperties, AuthenticationTypeAwsAssumeRole, AuthenticationTypeAwsCreds, AuthenticationTypeGcpCredentials}
}
// AuthorizationState enumerates the values for authorization state.
type AuthorizationState string
const (
// Authorized ...
Authorized AuthorizationState = "Authorized"
// Unauthorized ...
Unauthorized AuthorizationState = "Unauthorized"
)
// PossibleAuthorizationStateValues returns an array of possible values for the AuthorizationState const type.
func PossibleAuthorizationStateValues() []AuthorizationState {
return []AuthorizationState{Authorized, Unauthorized}
}
// AutoProvision enumerates the values for auto provision.
type AutoProvision string
const (
// AutoProvisionOff Do not install security agent on the VMs automatically
AutoProvisionOff AutoProvision = "Off"
// AutoProvisionOn Install missing security agent on VMs automatically
AutoProvisionOn AutoProvision = "On"
)
// PossibleAutoProvisionValues returns an array of possible values for the AutoProvision const type.
func PossibleAutoProvisionValues() []AutoProvision {
return []AutoProvision{AutoProvisionOff, AutoProvisionOn}
}
// BundleType enumerates the values for bundle type.
type BundleType string
const (
// AppServices ...
AppServices BundleType = "AppServices"
// DNS ...
DNS BundleType = "DNS"
// KeyVaults ...
KeyVaults BundleType = "KeyVaults"
// KubernetesService ...
KubernetesService BundleType = "KubernetesService"
// ResourceManager ...
ResourceManager BundleType = "ResourceManager"
// SQLServers ...
SQLServers BundleType = "SqlServers"
// StorageAccounts ...
StorageAccounts BundleType = "StorageAccounts"
// VirtualMachines ...
VirtualMachines BundleType = "VirtualMachines"
)
// PossibleBundleTypeValues returns an array of possible values for the BundleType const type.
func PossibleBundleTypeValues() []BundleType {
return []BundleType{AppServices, DNS, KeyVaults, KubernetesService, ResourceManager, SQLServers, StorageAccounts, VirtualMachines}
}
// Categories enumerates the values for categories.
type Categories string
const (
// Compute ...
Compute Categories = "Compute"
// Data ...
Data Categories = "Data"
// IdentityAndAccess ...
IdentityAndAccess Categories = "IdentityAndAccess"
// IoT ...
IoT Categories = "IoT"
// Networking ...
Networking Categories = "Networking"
)
// PossibleCategoriesValues returns an array of possible values for the Categories const type.
func PossibleCategoriesValues() []Categories {
return []Categories{Compute, Data, IdentityAndAccess, IoT, Networking}
}
// ConfigurationStatus enumerates the values for configuration status.
type ConfigurationStatus string
const (
// Configured ...
Configured ConfigurationStatus = "Configured"
// Failed ...
Failed ConfigurationStatus = "Failed"
// InProgress ...
InProgress ConfigurationStatus = "InProgress"
// NoStatus ...
NoStatus ConfigurationStatus = "NoStatus"
// NotConfigured ...
NotConfigured ConfigurationStatus = "NotConfigured"
)
// PossibleConfigurationStatusValues returns an array of possible values for the ConfigurationStatus const type.
func PossibleConfigurationStatusValues() []ConfigurationStatus {
return []ConfigurationStatus{Configured, Failed, InProgress, NoStatus, NotConfigured}
}
// ConfigurationStatus1 enumerates the values for configuration status 1.
type ConfigurationStatus1 string
const (
// ConfigurationStatus1Configured ...
ConfigurationStatus1Configured ConfigurationStatus1 = "Configured"
// ConfigurationStatus1Failed ...
ConfigurationStatus1Failed ConfigurationStatus1 = "Failed"
// ConfigurationStatus1InProgress ...
ConfigurationStatus1InProgress ConfigurationStatus1 = "InProgress"
// ConfigurationStatus1NoStatus ...
ConfigurationStatus1NoStatus ConfigurationStatus1 = "NoStatus"
// ConfigurationStatus1NotConfigured ...
ConfigurationStatus1NotConfigured ConfigurationStatus1 = "NotConfigured"
)
// PossibleConfigurationStatus1Values returns an array of possible values for the ConfigurationStatus1 const type.
func PossibleConfigurationStatus1Values() []ConfigurationStatus1 {
return []ConfigurationStatus1{ConfigurationStatus1Configured, ConfigurationStatus1Failed, ConfigurationStatus1InProgress, ConfigurationStatus1NoStatus, ConfigurationStatus1NotConfigured}
}
// ConfigurationStatus2 enumerates the values for configuration status 2.
type ConfigurationStatus2 string
const (
// ConfigurationStatus2Configured ...
ConfigurationStatus2Configured ConfigurationStatus2 = "Configured"
// ConfigurationStatus2Failed ...
ConfigurationStatus2Failed ConfigurationStatus2 = "Failed"
// ConfigurationStatus2InProgress ...
ConfigurationStatus2InProgress ConfigurationStatus2 = "InProgress"
// ConfigurationStatus2NoStatus ...
ConfigurationStatus2NoStatus ConfigurationStatus2 = "NoStatus"
// ConfigurationStatus2NotConfigured ...
ConfigurationStatus2NotConfigured ConfigurationStatus2 = "NotConfigured"
)
// PossibleConfigurationStatus2Values returns an array of possible values for the ConfigurationStatus2 const type.
func PossibleConfigurationStatus2Values() []ConfigurationStatus2 {
return []ConfigurationStatus2{ConfigurationStatus2Configured, ConfigurationStatus2Failed, ConfigurationStatus2InProgress, ConfigurationStatus2NoStatus, ConfigurationStatus2NotConfigured}
}
// ConnectionType enumerates the values for connection type.
type ConnectionType string
const (
// External ...
External ConnectionType = "External"
// Internal ...
Internal ConnectionType = "Internal"
)
// PossibleConnectionTypeValues returns an array of possible values for the ConnectionType const type.
func PossibleConnectionTypeValues() []ConnectionType {
return []ConnectionType{External, Internal}
}
// ControlType enumerates the values for control type.
type ControlType string
const (
// ControlTypeBuiltIn Azure Security Center managed assessments
ControlTypeBuiltIn ControlType = "BuiltIn"
// ControlTypeCustom Non Azure Security Center managed assessments
ControlTypeCustom ControlType = "Custom"
)
// PossibleControlTypeValues returns an array of possible values for the ControlType const type.
func PossibleControlTypeValues() []ControlType {
return []ControlType{ControlTypeBuiltIn, ControlTypeCustom}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// Application ...
Application CreatedByType = "Application"
// Key ...
Key CreatedByType = "Key"
// ManagedIdentity ...
ManagedIdentity CreatedByType = "ManagedIdentity"
// User ...
User CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{Application, Key, ManagedIdentity, User}
}
// DataSource enumerates the values for data source.
type DataSource string
const (
// TwinData Devices twin data
TwinData DataSource = "TwinData"
)
// PossibleDataSourceValues returns an array of possible values for the DataSource const type.
func PossibleDataSourceValues() []DataSource {
return []DataSource{TwinData}
}
// DeviceCriticality enumerates the values for device criticality.
type DeviceCriticality string
const (
// Important ...
Important DeviceCriticality = "Important"
// Standard ...
Standard DeviceCriticality = "Standard"
)
// PossibleDeviceCriticalityValues returns an array of possible values for the DeviceCriticality const type.
func PossibleDeviceCriticalityValues() []DeviceCriticality {
return []DeviceCriticality{Important, Standard}
}
// DeviceStatus enumerates the values for device status.
type DeviceStatus string
const (
// DeviceStatusActive ...
DeviceStatusActive DeviceStatus = "Active"
// DeviceStatusRemoved ...
DeviceStatusRemoved DeviceStatus = "Removed"
)
// PossibleDeviceStatusValues returns an array of possible values for the DeviceStatus const type.
func PossibleDeviceStatusValues() []DeviceStatus {
return []DeviceStatus{DeviceStatusActive, DeviceStatusRemoved}
}
// Direction enumerates the values for direction.
type Direction string
const (
// Inbound ...
Inbound Direction = "Inbound"
// Outbound ...
Outbound Direction = "Outbound"
)
// PossibleDirectionValues returns an array of possible values for the Direction const type.
func PossibleDirectionValues() []Direction {
return []Direction{Inbound, Outbound}
}
// EndOfSupportStatus enumerates the values for end of support status.
type EndOfSupportStatus string
const (
// NoLongerSupported ...
NoLongerSupported EndOfSupportStatus = "noLongerSupported"
// None ...
None EndOfSupportStatus = "None"
// UpcomingNoLongerSupported ...
UpcomingNoLongerSupported EndOfSupportStatus = "upcomingNoLongerSupported"
// UpcomingVersionNoLongerSupported ...
UpcomingVersionNoLongerSupported EndOfSupportStatus = "upcomingVersionNoLongerSupported"
// VersionNoLongerSupported ...
VersionNoLongerSupported EndOfSupportStatus = "versionNoLongerSupported"
)
// PossibleEndOfSupportStatusValues returns an array of possible values for the EndOfSupportStatus const type.
func PossibleEndOfSupportStatusValues() []EndOfSupportStatus {
return []EndOfSupportStatus{NoLongerSupported, None, UpcomingNoLongerSupported, UpcomingVersionNoLongerSupported, VersionNoLongerSupported}
}
// EnforcementMode enumerates the values for enforcement mode.
type EnforcementMode string
const (
// EnforcementModeAudit ...
EnforcementModeAudit EnforcementMode = "Audit"
// EnforcementModeEnforce ...
EnforcementModeEnforce EnforcementMode = "Enforce"
// EnforcementModeNone ...
EnforcementModeNone EnforcementMode = "None"
)
// PossibleEnforcementModeValues returns an array of possible values for the EnforcementMode const type.
func PossibleEnforcementModeValues() []EnforcementMode {
return []EnforcementMode{EnforcementModeAudit, EnforcementModeEnforce, EnforcementModeNone}
}
// EnforcementSupport enumerates the values for enforcement support.
type EnforcementSupport string
const (
// EnforcementSupportNotSupported ...
EnforcementSupportNotSupported EnforcementSupport = "NotSupported"
// EnforcementSupportSupported ...
EnforcementSupportSupported EnforcementSupport = "Supported"
// EnforcementSupportUnknown ...
EnforcementSupportUnknown EnforcementSupport = "Unknown"
)
// PossibleEnforcementSupportValues returns an array of possible values for the EnforcementSupport const type.
func PossibleEnforcementSupportValues() []EnforcementSupport {
return []EnforcementSupport{EnforcementSupportNotSupported, EnforcementSupportSupported, EnforcementSupportUnknown}
}
// EventSource enumerates the values for event source.
type EventSource string
const (
// EventSourceAlerts ...
EventSourceAlerts EventSource = "Alerts"
// EventSourceAssessments ...
EventSourceAssessments EventSource = "Assessments"
// EventSourceRegulatoryComplianceAssessment ...
EventSourceRegulatoryComplianceAssessment EventSource = "RegulatoryComplianceAssessment"
// EventSourceRegulatoryComplianceAssessmentSnapshot ...
EventSourceRegulatoryComplianceAssessmentSnapshot EventSource = "RegulatoryComplianceAssessmentSnapshot"
// EventSourceSecureScoreControls ...
EventSourceSecureScoreControls EventSource = "SecureScoreControls"
// EventSourceSecureScoreControlsSnapshot ...
EventSourceSecureScoreControlsSnapshot EventSource = "SecureScoreControlsSnapshot"
// EventSourceSecureScores ...
EventSourceSecureScores EventSource = "SecureScores"
// EventSourceSecureScoresSnapshot ...
EventSourceSecureScoresSnapshot EventSource = "SecureScoresSnapshot"
// EventSourceSubAssessments ...
EventSourceSubAssessments EventSource = "SubAssessments"
)
// PossibleEventSourceValues returns an array of possible values for the EventSource const type.
func PossibleEventSourceValues() []EventSource {
return []EventSource{EventSourceAlerts, EventSourceAssessments, EventSourceRegulatoryComplianceAssessment, EventSourceRegulatoryComplianceAssessmentSnapshot, EventSourceSecureScoreControls, EventSourceSecureScoreControlsSnapshot, EventSourceSecureScores, EventSourceSecureScoresSnapshot, EventSourceSubAssessments}
}
// Exe enumerates the values for exe.
type Exe string
const (
// ExeAudit ...
ExeAudit Exe = "Audit"
// ExeEnforce ...
ExeEnforce Exe = "Enforce"
// ExeNone ...
ExeNone Exe = "None"
)
// PossibleExeValues returns an array of possible values for the Exe const type.
func PossibleExeValues() []Exe {
return []Exe{ExeAudit, ExeEnforce, ExeNone}
}
// Executable enumerates the values for executable.
type Executable string
const (
// ExecutableAudit ...
ExecutableAudit Executable = "Audit"
// ExecutableEnforce ...
ExecutableEnforce Executable = "Enforce"
// ExecutableNone ...
ExecutableNone Executable = "None"
)
// PossibleExecutableValues returns an array of possible values for the Executable const type.
func PossibleExecutableValues() []Executable {
return []Executable{ExecutableAudit, ExecutableEnforce, ExecutableNone}
}
// ExpandControlsEnum enumerates the values for expand controls enum.
type ExpandControlsEnum string
const (
// Definition Add definition object for each control
Definition ExpandControlsEnum = "definition"
)
// PossibleExpandControlsEnumValues returns an array of possible values for the ExpandControlsEnum const type.
func PossibleExpandControlsEnumValues() []ExpandControlsEnum {
return []ExpandControlsEnum{Definition}
}
// ExpandEnum enumerates the values for expand enum.
type ExpandEnum string
const (
// Links All links associated with an assessment
Links ExpandEnum = "links"
// Metadata Assessment metadata
Metadata ExpandEnum = "metadata"
)
// PossibleExpandEnumValues returns an array of possible values for the ExpandEnum const type.
func PossibleExpandEnumValues() []ExpandEnum {
return []ExpandEnum{Links, Metadata}
}
// ExportData enumerates the values for export data.
type ExportData string
const (
// ExportDataRawEvents Agent raw events
ExportDataRawEvents ExportData = "RawEvents"
)
// PossibleExportDataValues returns an array of possible values for the ExportData const type.
func PossibleExportDataValues() []ExportData {
return []ExportData{ExportDataRawEvents}
}
// ExternalSecuritySolutionKind enumerates the values for external security solution kind.
type ExternalSecuritySolutionKind string
const (
// AAD ...
AAD ExternalSecuritySolutionKind = "AAD"
// ATA ...
ATA ExternalSecuritySolutionKind = "ATA"
// CEF ...
CEF ExternalSecuritySolutionKind = "CEF"
)
// PossibleExternalSecuritySolutionKindValues returns an array of possible values for the ExternalSecuritySolutionKind const type.
func PossibleExternalSecuritySolutionKindValues() []ExternalSecuritySolutionKind {
return []ExternalSecuritySolutionKind{AAD, ATA, CEF}
}
// Family enumerates the values for family.
type Family string
const (
// Ngfw ...
Ngfw Family = "Ngfw"
// SaasWaf ...
SaasWaf Family = "SaasWaf"
// Va ...
Va Family = "Va"
// Waf ...
Waf Family = "Waf"
)
// PossibleFamilyValues returns an array of possible values for the Family const type.
func PossibleFamilyValues() []Family {
return []Family{Ngfw, SaasWaf, Va, Waf}
}
// FileType enumerates the values for file type.
type FileType string
const (
// FileTypeDll ...
FileTypeDll FileType = "Dll"
// FileTypeExe ...
FileTypeExe FileType = "Exe"
// FileTypeExecutable ...
FileTypeExecutable FileType = "Executable"
// FileTypeMsi ...
FileTypeMsi FileType = "Msi"
// FileTypeScript ...
FileTypeScript FileType = "Script"
// FileTypeUnknown ...
FileTypeUnknown FileType = "Unknown"
)
// PossibleFileTypeValues returns an array of possible values for the FileType const type.
func PossibleFileTypeValues() []FileType {
return []FileType{FileTypeDll, FileTypeExe, FileTypeExecutable, FileTypeMsi, FileTypeScript, FileTypeUnknown}
}
// HybridComputeProvisioningState enumerates the values for hybrid compute provisioning state.
type HybridComputeProvisioningState string
const (
// HybridComputeProvisioningStateExpired the service principal details are expired
HybridComputeProvisioningStateExpired HybridComputeProvisioningState = "Expired"
// HybridComputeProvisioningStateInvalid Invalid service principal details.
HybridComputeProvisioningStateInvalid HybridComputeProvisioningState = "Invalid"
// HybridComputeProvisioningStateValid Valid service principal details.
HybridComputeProvisioningStateValid HybridComputeProvisioningState = "Valid"
)
// PossibleHybridComputeProvisioningStateValues returns an array of possible values for the HybridComputeProvisioningState const type.
func PossibleHybridComputeProvisioningStateValues() []HybridComputeProvisioningState {
return []HybridComputeProvisioningState{HybridComputeProvisioningStateExpired, HybridComputeProvisioningStateInvalid, HybridComputeProvisioningStateValid}
}
// ImplementationEffort enumerates the values for implementation effort.
type ImplementationEffort string
const (
// ImplementationEffortHigh ...
ImplementationEffortHigh ImplementationEffort = "High"
// ImplementationEffortLow ...
ImplementationEffortLow ImplementationEffort = "Low"
// ImplementationEffortModerate ...
ImplementationEffortModerate ImplementationEffort = "Moderate"
)
// PossibleImplementationEffortValues returns an array of possible values for the ImplementationEffort const type.
func PossibleImplementationEffortValues() []ImplementationEffort {
return []ImplementationEffort{ImplementationEffortHigh, ImplementationEffortLow, ImplementationEffortModerate}
}
// Intent enumerates the values for intent.
type Intent string
const (
// IntentCollection Collection consists of techniques used to identify and gather information, such as
// sensitive files, from a target network prior to exfiltration.
IntentCollection Intent = "Collection"
// IntentCommandAndControl The command and control tactic represents how adversaries communicate with
// systems under their control within a target network.
IntentCommandAndControl Intent = "CommandAndControl"
// IntentCredentialAccess Credential access represents techniques resulting in access to or control over
// system, domain, or service credentials that are used within an enterprise environment.
IntentCredentialAccess Intent = "CredentialAccess"
// IntentDefenseEvasion Defense evasion consists of techniques an adversary may use to evade detection or
// avoid other defenses.
IntentDefenseEvasion Intent = "DefenseEvasion"
// IntentDiscovery Discovery consists of techniques that allow the adversary to gain knowledge about the
// system and internal network.
IntentDiscovery Intent = "Discovery"
// IntentExecution The execution tactic represents techniques that result in execution of
// adversary-controlled code on a local or remote system.
IntentExecution Intent = "Execution"
// IntentExfiltration Exfiltration refers to techniques and attributes that result or aid in the adversary
// removing files and information from a target network.
IntentExfiltration Intent = "Exfiltration"
// IntentExploitation Exploitation is the stage where an attacker manages to get a foothold on the attacked
// resource. This stage is relevant for compute hosts and resources such as user accounts, certificates
// etc.
IntentExploitation Intent = "Exploitation"
// IntentImpact Impact events primarily try to directly reduce the availability or integrity of a system,
// service, or network; including manipulation of data to impact a business or operational process.
IntentImpact Intent = "Impact"
// IntentInitialAccess InitialAccess is the stage where an attacker manages to get foothold on the attacked
// resource.
IntentInitialAccess Intent = "InitialAccess"
// IntentLateralMovement Lateral movement consists of techniques that enable an adversary to access and
// control remote systems on a network and could, but does not necessarily, include execution of tools on
// remote systems.
IntentLateralMovement Intent = "LateralMovement"
// IntentPersistence Persistence is any access, action, or configuration change to a system that gives a
// threat actor a persistent presence on that system.
IntentPersistence Intent = "Persistence"
// IntentPreAttack PreAttack could be either an attempt to access a certain resource regardless of a
// malicious intent, or a failed attempt to gain access to a target system to gather information prior to
// exploitation. This step is usually detected as an attempt, originating from outside the network, to scan
// the target system and find a way in. Further details on the PreAttack stage can be read in [MITRE
// Pre-Att&ck matrix](https://attack.mitre.org/matrices/pre/).
IntentPreAttack Intent = "PreAttack"
// IntentPrivilegeEscalation Privilege escalation is the result of actions that allow an adversary to
// obtain a higher level of permissions on a system or network.
IntentPrivilegeEscalation Intent = "PrivilegeEscalation"
// IntentProbing Probing could be either an attempt to access a certain resource regardless of a malicious
// intent, or a failed attempt to gain access to a target system to gather information prior to
// exploitation.
IntentProbing Intent = "Probing"
// IntentUnknown Unknown
IntentUnknown Intent = "Unknown"
)
// PossibleIntentValues returns an array of possible values for the Intent const type.
func PossibleIntentValues() []Intent {
return []Intent{IntentCollection, IntentCommandAndControl, IntentCredentialAccess, IntentDefenseEvasion, IntentDiscovery, IntentExecution, IntentExfiltration, IntentExploitation, IntentImpact, IntentInitialAccess, IntentLateralMovement, IntentPersistence, IntentPreAttack, IntentPrivilegeEscalation, IntentProbing, IntentUnknown}
}
// Issue enumerates the values for issue.
type Issue string
const (
// ExecutableViolationsAudited ...
ExecutableViolationsAudited Issue = "ExecutableViolationsAudited"
// MsiAndScriptViolationsAudited ...
MsiAndScriptViolationsAudited Issue = "MsiAndScriptViolationsAudited"
// MsiAndScriptViolationsBlocked ...
MsiAndScriptViolationsBlocked Issue = "MsiAndScriptViolationsBlocked"
// RulesViolatedManually ...
RulesViolatedManually Issue = "RulesViolatedManually"
// ViolationsAudited ...
ViolationsAudited Issue = "ViolationsAudited"
// ViolationsBlocked ...
ViolationsBlocked Issue = "ViolationsBlocked"
)
// PossibleIssueValues returns an array of possible values for the Issue const type.
func PossibleIssueValues() []Issue {
return []Issue{ExecutableViolationsAudited, MsiAndScriptViolationsAudited, MsiAndScriptViolationsBlocked, RulesViolatedManually, ViolationsAudited, ViolationsBlocked}
}
// KindEnum enumerates the values for kind enum.
type KindEnum string
const (
// KindAAD ...
KindAAD KindEnum = "AAD"
// KindATA ...
KindATA KindEnum = "ATA"
// KindCEF ...
KindCEF KindEnum = "CEF"
// KindExternalSecuritySolution ...
KindExternalSecuritySolution KindEnum = "ExternalSecuritySolution"
)
// PossibleKindEnumValues returns an array of possible values for the KindEnum const type.
func PossibleKindEnumValues() []KindEnum {
return []KindEnum{KindAAD, KindATA, KindCEF, KindExternalSecuritySolution}
}
// KindEnum1 enumerates the values for kind enum 1.
type KindEnum1 string
const (
// KindAlertSimulatorRequestProperties ...
KindAlertSimulatorRequestProperties KindEnum1 = "AlertSimulatorRequestProperties"
// KindBundles ...
KindBundles KindEnum1 = "Bundles"
)
// PossibleKindEnum1Values returns an array of possible values for the KindEnum1 const type.
func PossibleKindEnum1Values() []KindEnum1 {
return []KindEnum1{KindAlertSimulatorRequestProperties, KindBundles}
}
// KindEnum2 enumerates the values for kind enum 2.
type KindEnum2 string
const (
// KindAlertSyncSettings ...
KindAlertSyncSettings KindEnum2 = "AlertSyncSettings"
// KindDataExportSettings ...
KindDataExportSettings KindEnum2 = "DataExportSettings"
// KindSetting ...
KindSetting KindEnum2 = "Setting"
)
// PossibleKindEnum2Values returns an array of possible values for the KindEnum2 const type.
func PossibleKindEnum2Values() []KindEnum2 {
return []KindEnum2{KindAlertSyncSettings, KindDataExportSettings, KindSetting}
}
// MacSignificance enumerates the values for mac significance.
type MacSignificance string
const (
// Primary ...
Primary MacSignificance = "Primary"
// Secondary ...
Secondary MacSignificance = "Secondary"
)
// PossibleMacSignificanceValues returns an array of possible values for the MacSignificance const type.
func PossibleMacSignificanceValues() []MacSignificance {
return []MacSignificance{Primary, Secondary}
}
// ManagementState enumerates the values for management state.
type ManagementState string
const (
// Managed ...
Managed ManagementState = "Managed"
// Unmanaged ...
Unmanaged ManagementState = "Unmanaged"
)
// PossibleManagementStateValues returns an array of possible values for the ManagementState const type.
func PossibleManagementStateValues() []ManagementState {
return []ManagementState{Managed, Unmanaged}
}
// Msi enumerates the values for msi.
type Msi string
const (
// MsiAudit ...
MsiAudit Msi = "Audit"
// MsiEnforce ...
MsiEnforce Msi = "Enforce"
// MsiNone ...
MsiNone Msi = "None"
)
// PossibleMsiValues returns an array of possible values for the Msi const type.
func PossibleMsiValues() []Msi {
return []Msi{MsiAudit, MsiEnforce, MsiNone}
}
// OnboardingKind enumerates the values for onboarding kind.
type OnboardingKind string
const (
// Default ...
Default OnboardingKind = "Default"
// Evaluation ...
Evaluation OnboardingKind = "Evaluation"
// MigratedToAzure ...
MigratedToAzure OnboardingKind = "MigratedToAzure"
// Purchased ...
Purchased OnboardingKind = "Purchased"
)
// PossibleOnboardingKindValues returns an array of possible values for the OnboardingKind const type.
func PossibleOnboardingKindValues() []OnboardingKind {
return []OnboardingKind{Default, Evaluation, MigratedToAzure, Purchased}
}
// Operator enumerates the values for operator.
type Operator string