-
Notifications
You must be signed in to change notification settings - Fork 800
/
zz_generated_constants.go
549 lines (462 loc) · 15.4 KB
/
zz_generated_constants.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
//go:build go1.16
// +build go1.16
// 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.
package armiotsecurity
const (
module = "armiotsecurity"
version = "v0.1.0"
)
// AlertIntent - Kill chain related intent behind the alert. Could contain multiple enum values (separated by commas)
type AlertIntent string
const (
AlertIntentCollection AlertIntent = "Collection"
AlertIntentCommandAndControl AlertIntent = "CommandAndControl"
AlertIntentCredentialAccess AlertIntent = "CredentialAccess"
AlertIntentDefenseEvasion AlertIntent = "DefenseEvasion"
AlertIntentDiscovery AlertIntent = "Discovery"
AlertIntentExecution AlertIntent = "Execution"
AlertIntentExfiltration AlertIntent = "Exfiltration"
AlertIntentExploitation AlertIntent = "Exploitation"
AlertIntentImpact AlertIntent = "Impact"
AlertIntentInitialAccess AlertIntent = "InitialAccess"
AlertIntentLateralMovement AlertIntent = "LateralMovement"
AlertIntentPersistence AlertIntent = "Persistence"
AlertIntentPreAttack AlertIntent = "PreAttack"
AlertIntentPrivilegeEscalation AlertIntent = "PrivilegeEscalation"
AlertIntentProbing AlertIntent = "Probing"
AlertIntentUnknown AlertIntent = "Unknown"
)
// PossibleAlertIntentValues returns the possible values for the AlertIntent const type.
func PossibleAlertIntentValues() []AlertIntent {
return []AlertIntent{
AlertIntentCollection,
AlertIntentCommandAndControl,
AlertIntentCredentialAccess,
AlertIntentDefenseEvasion,
AlertIntentDiscovery,
AlertIntentExecution,
AlertIntentExfiltration,
AlertIntentExploitation,
AlertIntentImpact,
AlertIntentInitialAccess,
AlertIntentLateralMovement,
AlertIntentPersistence,
AlertIntentPreAttack,
AlertIntentPrivilegeEscalation,
AlertIntentProbing,
AlertIntentUnknown,
}
}
// ToPtr returns a *AlertIntent pointing to the current value.
func (c AlertIntent) ToPtr() *AlertIntent {
return &c
}
// AlertSeverity - Alert Severity
type AlertSeverity string
const (
AlertSeverityHigh AlertSeverity = "High"
AlertSeverityInformational AlertSeverity = "Informational"
AlertSeverityLow AlertSeverity = "Low"
AlertSeverityMedium AlertSeverity = "Medium"
)
// PossibleAlertSeverityValues returns the possible values for the AlertSeverity const type.
func PossibleAlertSeverityValues() []AlertSeverity {
return []AlertSeverity{
AlertSeverityHigh,
AlertSeverityInformational,
AlertSeverityLow,
AlertSeverityMedium,
}
}
// ToPtr returns a *AlertSeverity pointing to the current value.
func (c AlertSeverity) ToPtr() *AlertSeverity {
return &c
}
// AlertStatus - Alert Status
type AlertStatus string
const (
AlertStatusClosed AlertStatus = "Closed"
AlertStatusInProgress AlertStatus = "InProgress"
AlertStatusNew AlertStatus = "New"
)
// PossibleAlertStatusValues returns the possible values for the AlertStatus const type.
func PossibleAlertStatusValues() []AlertStatus {
return []AlertStatus{
AlertStatusClosed,
AlertStatusInProgress,
AlertStatusNew,
}
}
// ToPtr returns a *AlertStatus pointing to the current value.
func (c AlertStatus) ToPtr() *AlertStatus {
return &c
}
// AuthorizedState - Authorized state of the device.
type AuthorizedState string
const (
AuthorizedStateAuthorized AuthorizedState = "Authorized"
AuthorizedStateUnauthorized AuthorizedState = "Unauthorized"
)
// PossibleAuthorizedStateValues returns the possible values for the AuthorizedState const type.
func PossibleAuthorizedStateValues() []AuthorizedState {
return []AuthorizedState{
AuthorizedStateAuthorized,
AuthorizedStateUnauthorized,
}
}
// ToPtr returns a *AuthorizedState pointing to the current value.
func (c AuthorizedState) ToPtr() *AuthorizedState {
return &c
}
// CreatedByType - The type of identity that created the resource.
type CreatedByType string
const (
CreatedByTypeApplication CreatedByType = "Application"
CreatedByTypeKey CreatedByType = "Key"
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{
CreatedByTypeApplication,
CreatedByTypeKey,
CreatedByTypeManagedIdentity,
CreatedByTypeUser,
}
}
// ToPtr returns a *CreatedByType pointing to the current value.
func (c CreatedByType) ToPtr() *CreatedByType {
return &c
}
// Criticality - Device criticality.
type Criticality string
const (
CriticalityHigh Criticality = "High"
CriticalityLow Criticality = "Low"
CriticalityNormal Criticality = "Normal"
)
// PossibleCriticalityValues returns the possible values for the Criticality const type.
func PossibleCriticalityValues() []Criticality {
return []Criticality{
CriticalityHigh,
CriticalityLow,
CriticalityNormal,
}
}
// ToPtr returns a *Criticality pointing to the current value.
func (c Criticality) ToPtr() *Criticality {
return &c
}
// DeviceDataSource - Device data source
type DeviceDataSource string
const (
DeviceDataSourceCorpSensor DeviceDataSource = "CorpSensor"
DeviceDataSourceMde DeviceDataSource = "Mde"
DeviceDataSourceMicroAgent DeviceDataSource = "MicroAgent"
DeviceDataSourceOtSensor DeviceDataSource = "OtSensor"
DeviceDataSourceOther DeviceDataSource = "Other"
)
// PossibleDeviceDataSourceValues returns the possible values for the DeviceDataSource const type.
func PossibleDeviceDataSourceValues() []DeviceDataSource {
return []DeviceDataSource{
DeviceDataSourceCorpSensor,
DeviceDataSourceMde,
DeviceDataSourceMicroAgent,
DeviceDataSourceOtSensor,
DeviceDataSourceOther,
}
}
// ToPtr returns a *DeviceDataSource pointing to the current value.
func (c DeviceDataSource) ToPtr() *DeviceDataSource {
return &c
}
// DeviceStatus - Device status.
type DeviceStatus string
const (
DeviceStatusActive DeviceStatus = "Active"
DeviceStatusDeleted DeviceStatus = "Deleted"
DeviceStatusInactive DeviceStatus = "Inactive"
DeviceStatusRemoved DeviceStatus = "Removed"
)
// PossibleDeviceStatusValues returns the possible values for the DeviceStatus const type.
func PossibleDeviceStatusValues() []DeviceStatus {
return []DeviceStatus{
DeviceStatusActive,
DeviceStatusDeleted,
DeviceStatusInactive,
DeviceStatusRemoved,
}
}
// ToPtr returns a *DeviceStatus pointing to the current value.
func (c DeviceStatus) ToPtr() *DeviceStatus {
return &c
}
// MacCertainty - Indicates whether the association of the mac to the ip address is certain or a guess.
type MacCertainty string
const (
MacCertaintyCertain MacCertainty = "Certain"
MacCertaintyGuess MacCertainty = "Guess"
)
// PossibleMacCertaintyValues returns the possible values for the MacCertainty const type.
func PossibleMacCertaintyValues() []MacCertainty {
return []MacCertainty{
MacCertaintyCertain,
MacCertaintyGuess,
}
}
// ToPtr returns a *MacCertainty pointing to the current value.
func (c MacCertainty) ToPtr() *MacCertainty {
return &c
}
// MdeIntegration - Integration status
type MdeIntegration string
const (
MdeIntegrationDisabled MdeIntegration = "Disabled"
MdeIntegrationEnabled MdeIntegration = "Enabled"
)
// PossibleMdeIntegrationValues returns the possible values for the MdeIntegration const type.
func PossibleMdeIntegrationValues() []MdeIntegration {
return []MdeIntegration{
MdeIntegrationDisabled,
MdeIntegrationEnabled,
}
}
// ToPtr returns a *MdeIntegration pointing to the current value.
func (c MdeIntegration) ToPtr() *MdeIntegration {
return &c
}
// OnboardingKind - The kind of onboarding for the subscription
type OnboardingKind string
const (
OnboardingKindDefault OnboardingKind = "Default"
OnboardingKindEvaluation OnboardingKind = "Evaluation"
OnboardingKindMigratedToAzure OnboardingKind = "MigratedToAzure"
OnboardingKindPurchased OnboardingKind = "Purchased"
)
// PossibleOnboardingKindValues returns the possible values for the OnboardingKind const type.
func PossibleOnboardingKindValues() []OnboardingKind {
return []OnboardingKind{
OnboardingKindDefault,
OnboardingKindEvaluation,
OnboardingKindMigratedToAzure,
OnboardingKindPurchased,
}
}
// ToPtr returns a *OnboardingKind pointing to the current value.
func (c OnboardingKind) ToPtr() *OnboardingKind {
return &c
}
// OnboardingStatus - Device onboarding status.
type OnboardingStatus string
const (
OnboardingStatusInsufficientInfo OnboardingStatus = "InsufficientInfo"
OnboardingStatusNotOnboarded OnboardingStatus = "NotOnboarded"
OnboardingStatusNotSupported OnboardingStatus = "NotSupported"
OnboardingStatusOnboarded OnboardingStatus = "Onboarded"
)
// PossibleOnboardingStatusValues returns the possible values for the OnboardingStatus const type.
func PossibleOnboardingStatusValues() []OnboardingStatus {
return []OnboardingStatus{
OnboardingStatusInsufficientInfo,
OnboardingStatusNotOnboarded,
OnboardingStatusNotSupported,
OnboardingStatusOnboarded,
}
}
// ToPtr returns a *OnboardingStatus pointing to the current value.
func (c OnboardingStatus) ToPtr() *OnboardingStatus {
return &c
}
// ProgrammingState - Indicates whether this device is programming
type ProgrammingState string
const (
ProgrammingStateNotProgrammingDevice ProgrammingState = "NotProgrammingDevice"
ProgrammingStateProgrammingDevice ProgrammingState = "ProgrammingDevice"
)
// PossibleProgrammingStateValues returns the possible values for the ProgrammingState const type.
func PossibleProgrammingStateValues() []ProgrammingState {
return []ProgrammingState{
ProgrammingStateNotProgrammingDevice,
ProgrammingStateProgrammingDevice,
}
}
// ToPtr returns a *ProgrammingState pointing to the current value.
func (c ProgrammingState) ToPtr() *ProgrammingState {
return &c
}
// PurdueLevel - Purdue level of the device.
type PurdueLevel string
const (
PurdueLevelEnterprise PurdueLevel = "Enterprise"
PurdueLevelProcessControl PurdueLevel = "ProcessControl"
PurdueLevelSupervisory PurdueLevel = "Supervisory"
)
// PossiblePurdueLevelValues returns the possible values for the PurdueLevel const type.
func PossiblePurdueLevelValues() []PurdueLevel {
return []PurdueLevel{
PurdueLevelEnterprise,
PurdueLevelProcessControl,
PurdueLevelSupervisory,
}
}
// ToPtr returns a *PurdueLevel pointing to the current value.
func (c PurdueLevel) ToPtr() *PurdueLevel {
return &c
}
// RecommendationSeverity - The severity of the recommendation
type RecommendationSeverity string
const (
RecommendationSeverityHealthy RecommendationSeverity = "Healthy"
RecommendationSeverityHigh RecommendationSeverity = "High"
RecommendationSeverityLow RecommendationSeverity = "Low"
RecommendationSeverityMedium RecommendationSeverity = "Medium"
RecommendationSeverityNotApplicable RecommendationSeverity = "NotApplicable"
RecommendationSeverityOffByPolicy RecommendationSeverity = "OffByPolicy"
RecommendationSeverityUnknown RecommendationSeverity = "Unknown"
)
// PossibleRecommendationSeverityValues returns the possible values for the RecommendationSeverity const type.
func PossibleRecommendationSeverityValues() []RecommendationSeverity {
return []RecommendationSeverity{
RecommendationSeverityHealthy,
RecommendationSeverityHigh,
RecommendationSeverityLow,
RecommendationSeverityMedium,
RecommendationSeverityNotApplicable,
RecommendationSeverityOffByPolicy,
RecommendationSeverityUnknown,
}
}
// ToPtr returns a *RecommendationSeverity pointing to the current value.
func (c RecommendationSeverity) ToPtr() *RecommendationSeverity {
return &c
}
// SensorStatus - Status of the IoT sensor
type SensorStatus string
const (
SensorStatusDisconnected SensorStatus = "Disconnected"
SensorStatusOk SensorStatus = "Ok"
SensorStatusUnavailable SensorStatus = "Unavailable"
)
// PossibleSensorStatusValues returns the possible values for the SensorStatus const type.
func PossibleSensorStatusValues() []SensorStatus {
return []SensorStatus{
SensorStatusDisconnected,
SensorStatusOk,
SensorStatusUnavailable,
}
}
// ToPtr returns a *SensorStatus pointing to the current value.
func (c SensorStatus) ToPtr() *SensorStatus {
return &c
}
// SensorType - Type of sensor
type SensorType string
const (
SensorTypeEnterprise SensorType = "Enterprise"
SensorTypeOt SensorType = "Ot"
)
// PossibleSensorTypeValues returns the possible values for the SensorType const type.
func PossibleSensorTypeValues() []SensorType {
return []SensorType{
SensorTypeEnterprise,
SensorTypeOt,
}
}
// ToPtr returns a *SensorType pointing to the current value.
func (c SensorType) ToPtr() *SensorType {
return &c
}
// SeverityScore - The severity score of the vulnerability
type SeverityScore string
const (
SeverityScoreCritical SeverityScore = "Critical"
SeverityScoreHigh SeverityScore = "High"
SeverityScoreLow SeverityScore = "Low"
SeverityScoreMedium SeverityScore = "Medium"
SeverityScoreNone SeverityScore = "None"
)
// PossibleSeverityScoreValues returns the possible values for the SeverityScore const type.
func PossibleSeverityScoreValues() []SeverityScore {
return []SeverityScore{
SeverityScoreCritical,
SeverityScoreHigh,
SeverityScoreLow,
SeverityScoreMedium,
SeverityScoreNone,
}
}
// ToPtr returns a *SeverityScore pointing to the current value.
func (c SeverityScore) ToPtr() *SeverityScore {
return &c
}
// SlotType - Slot type.
type SlotType string
const (
SlotTypeAnalogIO SlotType = "AnalogIO"
SlotTypeCPU SlotType = "Cpu"
SlotTypeCommAdapter SlotType = "CommAdapter"
SlotTypeDigitalIO SlotType = "DigitalIO"
SlotTypeGeneric SlotType = "Generic"
SlotTypeHmi SlotType = "Hmi"
SlotTypeSupply SlotType = "Supply"
)
// PossibleSlotTypeValues returns the possible values for the SlotType const type.
func PossibleSlotTypeValues() []SlotType {
return []SlotType{
SlotTypeAnalogIO,
SlotTypeCPU,
SlotTypeCommAdapter,
SlotTypeDigitalIO,
SlotTypeGeneric,
SlotTypeHmi,
SlotTypeSupply,
}
}
// ToPtr returns a *SlotType pointing to the current value.
func (c SlotType) ToPtr() *SlotType {
return &c
}
// TiStatus - TI Status of the IoT sensor
type TiStatus string
const (
TiStatusFailed TiStatus = "Failed"
TiStatusInProgress TiStatus = "InProgress"
TiStatusOk TiStatus = "Ok"
TiStatusUpdateAvailable TiStatus = "UpdateAvailable"
)
// PossibleTiStatusValues returns the possible values for the TiStatus const type.
func PossibleTiStatusValues() []TiStatus {
return []TiStatus{
TiStatusFailed,
TiStatusInProgress,
TiStatusOk,
TiStatusUpdateAvailable,
}
}
// ToPtr returns a *TiStatus pointing to the current value.
func (c TiStatus) ToPtr() *TiStatus {
return &c
}
// VersionKind - Kind of the version
type VersionKind string
const (
VersionKindLatest VersionKind = "Latest"
VersionKindPreview VersionKind = "Preview"
VersionKindPrevious VersionKind = "Previous"
)
// PossibleVersionKindValues returns the possible values for the VersionKind const type.
func PossibleVersionKindValues() []VersionKind {
return []VersionKind{
VersionKindLatest,
VersionKindPreview,
VersionKindPrevious,
}
}
// ToPtr returns a *VersionKind pointing to the current value.
func (c VersionKind) ToPtr() *VersionKind {
return &c
}