1package security 2 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// Licensed under the MIT License. See License.txt in the project root for license information. 5// 6// Code generated by Microsoft (R) AutoRest Code Generator. 7// Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9// AadConnectivityState enumerates the values for aad connectivity state. 10type AadConnectivityState string 11 12const ( 13 // Connected ... 14 Connected AadConnectivityState = "Connected" 15 // Discovered ... 16 Discovered AadConnectivityState = "Discovered" 17 // NotLicensed ... 18 NotLicensed AadConnectivityState = "NotLicensed" 19) 20 21// PossibleAadConnectivityStateValues returns an array of possible values for the AadConnectivityState const type. 22func PossibleAadConnectivityStateValues() []AadConnectivityState { 23 return []AadConnectivityState{Connected, Discovered, NotLicensed} 24} 25 26// Action enumerates the values for action. 27type Action string 28 29const ( 30 // Add ... 31 Add Action = "Add" 32 // Recommended ... 33 Recommended Action = "Recommended" 34 // Remove ... 35 Remove Action = "Remove" 36) 37 38// PossibleActionValues returns an array of possible values for the Action const type. 39func PossibleActionValues() []Action { 40 return []Action{Add, Recommended, Remove} 41} 42 43// ActionType enumerates the values for action type. 44type ActionType string 45 46const ( 47 // ActionTypeAutomationAction ... 48 ActionTypeAutomationAction ActionType = "AutomationAction" 49 // ActionTypeEventHub ... 50 ActionTypeEventHub ActionType = "EventHub" 51 // ActionTypeLogicApp ... 52 ActionTypeLogicApp ActionType = "LogicApp" 53 // ActionTypeWorkspace ... 54 ActionTypeWorkspace ActionType = "Workspace" 55) 56 57// PossibleActionTypeValues returns an array of possible values for the ActionType const type. 58func PossibleActionTypeValues() []ActionType { 59 return []ActionType{ActionTypeAutomationAction, ActionTypeEventHub, ActionTypeLogicApp, ActionTypeWorkspace} 60} 61 62// AdditionalWorkspaceDataType enumerates the values for additional workspace data type. 63type AdditionalWorkspaceDataType string 64 65const ( 66 // Alerts ... 67 Alerts AdditionalWorkspaceDataType = "Alerts" 68 // RawEvents ... 69 RawEvents AdditionalWorkspaceDataType = "RawEvents" 70) 71 72// PossibleAdditionalWorkspaceDataTypeValues returns an array of possible values for the AdditionalWorkspaceDataType const type. 73func PossibleAdditionalWorkspaceDataTypeValues() []AdditionalWorkspaceDataType { 74 return []AdditionalWorkspaceDataType{Alerts, RawEvents} 75} 76 77// AdditionalWorkspaceType enumerates the values for additional workspace type. 78type AdditionalWorkspaceType string 79 80const ( 81 // Sentinel ... 82 Sentinel AdditionalWorkspaceType = "Sentinel" 83) 84 85// PossibleAdditionalWorkspaceTypeValues returns an array of possible values for the AdditionalWorkspaceType const type. 86func PossibleAdditionalWorkspaceTypeValues() []AdditionalWorkspaceType { 87 return []AdditionalWorkspaceType{Sentinel} 88} 89 90// AlertIntent enumerates the values for alert intent. 91type AlertIntent string 92 93const ( 94 // Collection ... 95 Collection AlertIntent = "Collection" 96 // CommandAndControl ... 97 CommandAndControl AlertIntent = "CommandAndControl" 98 // CredentialAccess ... 99 CredentialAccess AlertIntent = "CredentialAccess" 100 // DefenseEvasion ... 101 DefenseEvasion AlertIntent = "DefenseEvasion" 102 // Discovery ... 103 Discovery AlertIntent = "Discovery" 104 // Execution ... 105 Execution AlertIntent = "Execution" 106 // Exfiltration ... 107 Exfiltration AlertIntent = "Exfiltration" 108 // Exploitation ... 109 Exploitation AlertIntent = "Exploitation" 110 // Impact ... 111 Impact AlertIntent = "Impact" 112 // InitialAccess ... 113 InitialAccess AlertIntent = "InitialAccess" 114 // LateralMovement ... 115 LateralMovement AlertIntent = "LateralMovement" 116 // Persistence ... 117 Persistence AlertIntent = "Persistence" 118 // PreAttack ... 119 PreAttack AlertIntent = "PreAttack" 120 // PrivilegeEscalation ... 121 PrivilegeEscalation AlertIntent = "PrivilegeEscalation" 122 // Probing ... 123 Probing AlertIntent = "Probing" 124 // Unknown ... 125 Unknown AlertIntent = "Unknown" 126) 127 128// PossibleAlertIntentValues returns an array of possible values for the AlertIntent const type. 129func PossibleAlertIntentValues() []AlertIntent { 130 return []AlertIntent{Collection, CommandAndControl, CredentialAccess, DefenseEvasion, Discovery, Execution, Exfiltration, Exploitation, Impact, InitialAccess, LateralMovement, Persistence, PreAttack, PrivilegeEscalation, Probing, Unknown} 131} 132 133// AlertNotifications enumerates the values for alert notifications. 134type AlertNotifications string 135 136const ( 137 // Off Don't get notifications on new alerts 138 Off AlertNotifications = "Off" 139 // On Get notifications on new alerts 140 On AlertNotifications = "On" 141) 142 143// PossibleAlertNotificationsValues returns an array of possible values for the AlertNotifications const type. 144func PossibleAlertNotificationsValues() []AlertNotifications { 145 return []AlertNotifications{Off, On} 146} 147 148// AlertSeverity enumerates the values for alert severity. 149type AlertSeverity string 150 151const ( 152 // High ... 153 High AlertSeverity = "High" 154 // Informational ... 155 Informational AlertSeverity = "Informational" 156 // Low ... 157 Low AlertSeverity = "Low" 158 // Medium ... 159 Medium AlertSeverity = "Medium" 160) 161 162// PossibleAlertSeverityValues returns an array of possible values for the AlertSeverity const type. 163func PossibleAlertSeverityValues() []AlertSeverity { 164 return []AlertSeverity{High, Informational, Low, Medium} 165} 166 167// AlertStatus enumerates the values for alert status. 168type AlertStatus string 169 170const ( 171 // Active An alert which doesn't specify a value is assigned the status 'Active' 172 Active AlertStatus = "Active" 173 // Dismissed Alert dismissed as false positive 174 Dismissed AlertStatus = "Dismissed" 175 // Resolved Alert closed after handling 176 Resolved AlertStatus = "Resolved" 177) 178 179// PossibleAlertStatusValues returns an array of possible values for the AlertStatus const type. 180func PossibleAlertStatusValues() []AlertStatus { 181 return []AlertStatus{Active, Dismissed, Resolved} 182} 183 184// AlertsToAdmins enumerates the values for alerts to admins. 185type AlertsToAdmins string 186 187const ( 188 // AlertsToAdminsOff Don't send notification on new alerts to the subscription's admins 189 AlertsToAdminsOff AlertsToAdmins = "Off" 190 // AlertsToAdminsOn Send notification on new alerts to the subscription's admins 191 AlertsToAdminsOn AlertsToAdmins = "On" 192) 193 194// PossibleAlertsToAdminsValues returns an array of possible values for the AlertsToAdmins const type. 195func PossibleAlertsToAdminsValues() []AlertsToAdmins { 196 return []AlertsToAdmins{AlertsToAdminsOff, AlertsToAdminsOn} 197} 198 199// AssessedResourceType enumerates the values for assessed resource type. 200type AssessedResourceType string 201 202const ( 203 // AssessedResourceTypeAdditionalData ... 204 AssessedResourceTypeAdditionalData AssessedResourceType = "AdditionalData" 205 // AssessedResourceTypeContainerRegistryVulnerability ... 206 AssessedResourceTypeContainerRegistryVulnerability AssessedResourceType = "ContainerRegistryVulnerability" 207 // AssessedResourceTypeServerVulnerabilityAssessment ... 208 AssessedResourceTypeServerVulnerabilityAssessment AssessedResourceType = "ServerVulnerabilityAssessment" 209 // AssessedResourceTypeSQLServerVulnerability ... 210 AssessedResourceTypeSQLServerVulnerability AssessedResourceType = "SqlServerVulnerability" 211) 212 213// PossibleAssessedResourceTypeValues returns an array of possible values for the AssessedResourceType const type. 214func PossibleAssessedResourceTypeValues() []AssessedResourceType { 215 return []AssessedResourceType{AssessedResourceTypeAdditionalData, AssessedResourceTypeContainerRegistryVulnerability, AssessedResourceTypeServerVulnerabilityAssessment, AssessedResourceTypeSQLServerVulnerability} 216} 217 218// AssessmentStatusCode enumerates the values for assessment status code. 219type AssessmentStatusCode string 220 221const ( 222 // Healthy The resource is healthy 223 Healthy AssessmentStatusCode = "Healthy" 224 // NotApplicable Assessment for this resource did not happen 225 NotApplicable AssessmentStatusCode = "NotApplicable" 226 // Unhealthy The resource has a security issue that needs to be addressed 227 Unhealthy AssessmentStatusCode = "Unhealthy" 228) 229 230// PossibleAssessmentStatusCodeValues returns an array of possible values for the AssessmentStatusCode const type. 231func PossibleAssessmentStatusCodeValues() []AssessmentStatusCode { 232 return []AssessmentStatusCode{Healthy, NotApplicable, Unhealthy} 233} 234 235// AssessmentType enumerates the values for assessment type. 236type AssessmentType string 237 238const ( 239 // BuiltIn Azure Security Center managed assessments 240 BuiltIn AssessmentType = "BuiltIn" 241 // CustomerManaged User assessments pushed directly by the user or other third party to Azure Security 242 // Center 243 CustomerManaged AssessmentType = "CustomerManaged" 244 // CustomPolicy User defined policies that are automatically ingested from Azure Policy to Azure Security 245 // Center 246 CustomPolicy AssessmentType = "CustomPolicy" 247 // VerifiedPartner An assessment that was created by a verified 3rd party if the user connected it to ASC 248 VerifiedPartner AssessmentType = "VerifiedPartner" 249) 250 251// PossibleAssessmentTypeValues returns an array of possible values for the AssessmentType const type. 252func PossibleAssessmentTypeValues() []AssessmentType { 253 return []AssessmentType{BuiltIn, CustomerManaged, CustomPolicy, VerifiedPartner} 254} 255 256// AuthenticationProvisioningState enumerates the values for authentication provisioning state. 257type AuthenticationProvisioningState string 258 259const ( 260 // Expired the connection has expired 261 Expired AuthenticationProvisioningState = "Expired" 262 // IncorrectPolicy Incorrect policy of the connector 263 IncorrectPolicy AuthenticationProvisioningState = "IncorrectPolicy" 264 // Invalid Invalid connector 265 Invalid AuthenticationProvisioningState = "Invalid" 266 // Valid Valid connector 267 Valid AuthenticationProvisioningState = "Valid" 268) 269 270// PossibleAuthenticationProvisioningStateValues returns an array of possible values for the AuthenticationProvisioningState const type. 271func PossibleAuthenticationProvisioningStateValues() []AuthenticationProvisioningState { 272 return []AuthenticationProvisioningState{Expired, IncorrectPolicy, Invalid, Valid} 273} 274 275// AuthenticationType enumerates the values for authentication type. 276type AuthenticationType string 277 278const ( 279 // AuthenticationTypeAuthenticationDetailsProperties ... 280 AuthenticationTypeAuthenticationDetailsProperties AuthenticationType = "AuthenticationDetailsProperties" 281 // AuthenticationTypeAwsAssumeRole ... 282 AuthenticationTypeAwsAssumeRole AuthenticationType = "awsAssumeRole" 283 // AuthenticationTypeAwsCreds ... 284 AuthenticationTypeAwsCreds AuthenticationType = "awsCreds" 285 // AuthenticationTypeGcpCredentials ... 286 AuthenticationTypeGcpCredentials AuthenticationType = "gcpCredentials" 287) 288 289// PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type. 290func PossibleAuthenticationTypeValues() []AuthenticationType { 291 return []AuthenticationType{AuthenticationTypeAuthenticationDetailsProperties, AuthenticationTypeAwsAssumeRole, AuthenticationTypeAwsCreds, AuthenticationTypeGcpCredentials} 292} 293 294// AuthorizationState enumerates the values for authorization state. 295type AuthorizationState string 296 297const ( 298 // Authorized ... 299 Authorized AuthorizationState = "Authorized" 300 // Unauthorized ... 301 Unauthorized AuthorizationState = "Unauthorized" 302) 303 304// PossibleAuthorizationStateValues returns an array of possible values for the AuthorizationState const type. 305func PossibleAuthorizationStateValues() []AuthorizationState { 306 return []AuthorizationState{Authorized, Unauthorized} 307} 308 309// AutoProvision enumerates the values for auto provision. 310type AutoProvision string 311 312const ( 313 // AutoProvisionOff Do not install security agent on the VMs automatically 314 AutoProvisionOff AutoProvision = "Off" 315 // AutoProvisionOn Install missing security agent on VMs automatically 316 AutoProvisionOn AutoProvision = "On" 317) 318 319// PossibleAutoProvisionValues returns an array of possible values for the AutoProvision const type. 320func PossibleAutoProvisionValues() []AutoProvision { 321 return []AutoProvision{AutoProvisionOff, AutoProvisionOn} 322} 323 324// BundleType enumerates the values for bundle type. 325type BundleType string 326 327const ( 328 // AppServices ... 329 AppServices BundleType = "AppServices" 330 // DNS ... 331 DNS BundleType = "DNS" 332 // KeyVaults ... 333 KeyVaults BundleType = "KeyVaults" 334 // KubernetesService ... 335 KubernetesService BundleType = "KubernetesService" 336 // ResourceManager ... 337 ResourceManager BundleType = "ResourceManager" 338 // SQLServers ... 339 SQLServers BundleType = "SqlServers" 340 // StorageAccounts ... 341 StorageAccounts BundleType = "StorageAccounts" 342 // VirtualMachines ... 343 VirtualMachines BundleType = "VirtualMachines" 344) 345 346// PossibleBundleTypeValues returns an array of possible values for the BundleType const type. 347func PossibleBundleTypeValues() []BundleType { 348 return []BundleType{AppServices, DNS, KeyVaults, KubernetesService, ResourceManager, SQLServers, StorageAccounts, VirtualMachines} 349} 350 351// Categories enumerates the values for categories. 352type Categories string 353 354const ( 355 // Compute ... 356 Compute Categories = "Compute" 357 // Data ... 358 Data Categories = "Data" 359 // IdentityAndAccess ... 360 IdentityAndAccess Categories = "IdentityAndAccess" 361 // IoT ... 362 IoT Categories = "IoT" 363 // Networking ... 364 Networking Categories = "Networking" 365) 366 367// PossibleCategoriesValues returns an array of possible values for the Categories const type. 368func PossibleCategoriesValues() []Categories { 369 return []Categories{Compute, Data, IdentityAndAccess, IoT, Networking} 370} 371 372// ConfigurationStatus enumerates the values for configuration status. 373type ConfigurationStatus string 374 375const ( 376 // Configured ... 377 Configured ConfigurationStatus = "Configured" 378 // Failed ... 379 Failed ConfigurationStatus = "Failed" 380 // InProgress ... 381 InProgress ConfigurationStatus = "InProgress" 382 // NoStatus ... 383 NoStatus ConfigurationStatus = "NoStatus" 384 // NotConfigured ... 385 NotConfigured ConfigurationStatus = "NotConfigured" 386) 387 388// PossibleConfigurationStatusValues returns an array of possible values for the ConfigurationStatus const type. 389func PossibleConfigurationStatusValues() []ConfigurationStatus { 390 return []ConfigurationStatus{Configured, Failed, InProgress, NoStatus, NotConfigured} 391} 392 393// ConfigurationStatus1 enumerates the values for configuration status 1. 394type ConfigurationStatus1 string 395 396const ( 397 // ConfigurationStatus1Configured ... 398 ConfigurationStatus1Configured ConfigurationStatus1 = "Configured" 399 // ConfigurationStatus1Failed ... 400 ConfigurationStatus1Failed ConfigurationStatus1 = "Failed" 401 // ConfigurationStatus1InProgress ... 402 ConfigurationStatus1InProgress ConfigurationStatus1 = "InProgress" 403 // ConfigurationStatus1NoStatus ... 404 ConfigurationStatus1NoStatus ConfigurationStatus1 = "NoStatus" 405 // ConfigurationStatus1NotConfigured ... 406 ConfigurationStatus1NotConfigured ConfigurationStatus1 = "NotConfigured" 407) 408 409// PossibleConfigurationStatus1Values returns an array of possible values for the ConfigurationStatus1 const type. 410func PossibleConfigurationStatus1Values() []ConfigurationStatus1 { 411 return []ConfigurationStatus1{ConfigurationStatus1Configured, ConfigurationStatus1Failed, ConfigurationStatus1InProgress, ConfigurationStatus1NoStatus, ConfigurationStatus1NotConfigured} 412} 413 414// ConfigurationStatus2 enumerates the values for configuration status 2. 415type ConfigurationStatus2 string 416 417const ( 418 // ConfigurationStatus2Configured ... 419 ConfigurationStatus2Configured ConfigurationStatus2 = "Configured" 420 // ConfigurationStatus2Failed ... 421 ConfigurationStatus2Failed ConfigurationStatus2 = "Failed" 422 // ConfigurationStatus2InProgress ... 423 ConfigurationStatus2InProgress ConfigurationStatus2 = "InProgress" 424 // ConfigurationStatus2NoStatus ... 425 ConfigurationStatus2NoStatus ConfigurationStatus2 = "NoStatus" 426 // ConfigurationStatus2NotConfigured ... 427 ConfigurationStatus2NotConfigured ConfigurationStatus2 = "NotConfigured" 428) 429 430// PossibleConfigurationStatus2Values returns an array of possible values for the ConfigurationStatus2 const type. 431func PossibleConfigurationStatus2Values() []ConfigurationStatus2 { 432 return []ConfigurationStatus2{ConfigurationStatus2Configured, ConfigurationStatus2Failed, ConfigurationStatus2InProgress, ConfigurationStatus2NoStatus, ConfigurationStatus2NotConfigured} 433} 434 435// ConnectionType enumerates the values for connection type. 436type ConnectionType string 437 438const ( 439 // External ... 440 External ConnectionType = "External" 441 // Internal ... 442 Internal ConnectionType = "Internal" 443) 444 445// PossibleConnectionTypeValues returns an array of possible values for the ConnectionType const type. 446func PossibleConnectionTypeValues() []ConnectionType { 447 return []ConnectionType{External, Internal} 448} 449 450// ControlType enumerates the values for control type. 451type ControlType string 452 453const ( 454 // ControlTypeBuiltIn Azure Security Center managed assessments 455 ControlTypeBuiltIn ControlType = "BuiltIn" 456 // ControlTypeCustom Non Azure Security Center managed assessments 457 ControlTypeCustom ControlType = "Custom" 458) 459 460// PossibleControlTypeValues returns an array of possible values for the ControlType const type. 461func PossibleControlTypeValues() []ControlType { 462 return []ControlType{ControlTypeBuiltIn, ControlTypeCustom} 463} 464 465// CreatedByType enumerates the values for created by type. 466type CreatedByType string 467 468const ( 469 // Application ... 470 Application CreatedByType = "Application" 471 // Key ... 472 Key CreatedByType = "Key" 473 // ManagedIdentity ... 474 ManagedIdentity CreatedByType = "ManagedIdentity" 475 // User ... 476 User CreatedByType = "User" 477) 478 479// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type. 480func PossibleCreatedByTypeValues() []CreatedByType { 481 return []CreatedByType{Application, Key, ManagedIdentity, User} 482} 483 484// DataSource enumerates the values for data source. 485type DataSource string 486 487const ( 488 // TwinData Devices twin data 489 TwinData DataSource = "TwinData" 490) 491 492// PossibleDataSourceValues returns an array of possible values for the DataSource const type. 493func PossibleDataSourceValues() []DataSource { 494 return []DataSource{TwinData} 495} 496 497// DeviceCriticality enumerates the values for device criticality. 498type DeviceCriticality string 499 500const ( 501 // Important ... 502 Important DeviceCriticality = "Important" 503 // Standard ... 504 Standard DeviceCriticality = "Standard" 505) 506 507// PossibleDeviceCriticalityValues returns an array of possible values for the DeviceCriticality const type. 508func PossibleDeviceCriticalityValues() []DeviceCriticality { 509 return []DeviceCriticality{Important, Standard} 510} 511 512// DeviceStatus enumerates the values for device status. 513type DeviceStatus string 514 515const ( 516 // DeviceStatusActive ... 517 DeviceStatusActive DeviceStatus = "Active" 518 // DeviceStatusRemoved ... 519 DeviceStatusRemoved DeviceStatus = "Removed" 520) 521 522// PossibleDeviceStatusValues returns an array of possible values for the DeviceStatus const type. 523func PossibleDeviceStatusValues() []DeviceStatus { 524 return []DeviceStatus{DeviceStatusActive, DeviceStatusRemoved} 525} 526 527// Direction enumerates the values for direction. 528type Direction string 529 530const ( 531 // Inbound ... 532 Inbound Direction = "Inbound" 533 // Outbound ... 534 Outbound Direction = "Outbound" 535) 536 537// PossibleDirectionValues returns an array of possible values for the Direction const type. 538func PossibleDirectionValues() []Direction { 539 return []Direction{Inbound, Outbound} 540} 541 542// EndOfSupportStatus enumerates the values for end of support status. 543type EndOfSupportStatus string 544 545const ( 546 // NoLongerSupported ... 547 NoLongerSupported EndOfSupportStatus = "noLongerSupported" 548 // None ... 549 None EndOfSupportStatus = "None" 550 // UpcomingNoLongerSupported ... 551 UpcomingNoLongerSupported EndOfSupportStatus = "upcomingNoLongerSupported" 552 // UpcomingVersionNoLongerSupported ... 553 UpcomingVersionNoLongerSupported EndOfSupportStatus = "upcomingVersionNoLongerSupported" 554 // VersionNoLongerSupported ... 555 VersionNoLongerSupported EndOfSupportStatus = "versionNoLongerSupported" 556) 557 558// PossibleEndOfSupportStatusValues returns an array of possible values for the EndOfSupportStatus const type. 559func PossibleEndOfSupportStatusValues() []EndOfSupportStatus { 560 return []EndOfSupportStatus{NoLongerSupported, None, UpcomingNoLongerSupported, UpcomingVersionNoLongerSupported, VersionNoLongerSupported} 561} 562 563// EnforcementMode enumerates the values for enforcement mode. 564type EnforcementMode string 565 566const ( 567 // EnforcementModeAudit ... 568 EnforcementModeAudit EnforcementMode = "Audit" 569 // EnforcementModeEnforce ... 570 EnforcementModeEnforce EnforcementMode = "Enforce" 571 // EnforcementModeNone ... 572 EnforcementModeNone EnforcementMode = "None" 573) 574 575// PossibleEnforcementModeValues returns an array of possible values for the EnforcementMode const type. 576func PossibleEnforcementModeValues() []EnforcementMode { 577 return []EnforcementMode{EnforcementModeAudit, EnforcementModeEnforce, EnforcementModeNone} 578} 579 580// EnforcementSupport enumerates the values for enforcement support. 581type EnforcementSupport string 582 583const ( 584 // EnforcementSupportNotSupported ... 585 EnforcementSupportNotSupported EnforcementSupport = "NotSupported" 586 // EnforcementSupportSupported ... 587 EnforcementSupportSupported EnforcementSupport = "Supported" 588 // EnforcementSupportUnknown ... 589 EnforcementSupportUnknown EnforcementSupport = "Unknown" 590) 591 592// PossibleEnforcementSupportValues returns an array of possible values for the EnforcementSupport const type. 593func PossibleEnforcementSupportValues() []EnforcementSupport { 594 return []EnforcementSupport{EnforcementSupportNotSupported, EnforcementSupportSupported, EnforcementSupportUnknown} 595} 596 597// EventSource enumerates the values for event source. 598type EventSource string 599 600const ( 601 // EventSourceAlerts ... 602 EventSourceAlerts EventSource = "Alerts" 603 // EventSourceAssessments ... 604 EventSourceAssessments EventSource = "Assessments" 605 // EventSourceRegulatoryComplianceAssessment ... 606 EventSourceRegulatoryComplianceAssessment EventSource = "RegulatoryComplianceAssessment" 607 // EventSourceRegulatoryComplianceAssessmentSnapshot ... 608 EventSourceRegulatoryComplianceAssessmentSnapshot EventSource = "RegulatoryComplianceAssessmentSnapshot" 609 // EventSourceSecureScoreControls ... 610 EventSourceSecureScoreControls EventSource = "SecureScoreControls" 611 // EventSourceSecureScoreControlsSnapshot ... 612 EventSourceSecureScoreControlsSnapshot EventSource = "SecureScoreControlsSnapshot" 613 // EventSourceSecureScores ... 614 EventSourceSecureScores EventSource = "SecureScores" 615 // EventSourceSecureScoresSnapshot ... 616 EventSourceSecureScoresSnapshot EventSource = "SecureScoresSnapshot" 617 // EventSourceSubAssessments ... 618 EventSourceSubAssessments EventSource = "SubAssessments" 619) 620 621// PossibleEventSourceValues returns an array of possible values for the EventSource const type. 622func PossibleEventSourceValues() []EventSource { 623 return []EventSource{EventSourceAlerts, EventSourceAssessments, EventSourceRegulatoryComplianceAssessment, EventSourceRegulatoryComplianceAssessmentSnapshot, EventSourceSecureScoreControls, EventSourceSecureScoreControlsSnapshot, EventSourceSecureScores, EventSourceSecureScoresSnapshot, EventSourceSubAssessments} 624} 625 626// Exe enumerates the values for exe. 627type Exe string 628 629const ( 630 // ExeAudit ... 631 ExeAudit Exe = "Audit" 632 // ExeEnforce ... 633 ExeEnforce Exe = "Enforce" 634 // ExeNone ... 635 ExeNone Exe = "None" 636) 637 638// PossibleExeValues returns an array of possible values for the Exe const type. 639func PossibleExeValues() []Exe { 640 return []Exe{ExeAudit, ExeEnforce, ExeNone} 641} 642 643// Executable enumerates the values for executable. 644type Executable string 645 646const ( 647 // ExecutableAudit ... 648 ExecutableAudit Executable = "Audit" 649 // ExecutableEnforce ... 650 ExecutableEnforce Executable = "Enforce" 651 // ExecutableNone ... 652 ExecutableNone Executable = "None" 653) 654 655// PossibleExecutableValues returns an array of possible values for the Executable const type. 656func PossibleExecutableValues() []Executable { 657 return []Executable{ExecutableAudit, ExecutableEnforce, ExecutableNone} 658} 659 660// ExpandControlsEnum enumerates the values for expand controls enum. 661type ExpandControlsEnum string 662 663const ( 664 // Definition Add definition object for each control 665 Definition ExpandControlsEnum = "definition" 666) 667 668// PossibleExpandControlsEnumValues returns an array of possible values for the ExpandControlsEnum const type. 669func PossibleExpandControlsEnumValues() []ExpandControlsEnum { 670 return []ExpandControlsEnum{Definition} 671} 672 673// ExpandEnum enumerates the values for expand enum. 674type ExpandEnum string 675 676const ( 677 // Links All links associated with an assessment 678 Links ExpandEnum = "links" 679 // Metadata Assessment metadata 680 Metadata ExpandEnum = "metadata" 681) 682 683// PossibleExpandEnumValues returns an array of possible values for the ExpandEnum const type. 684func PossibleExpandEnumValues() []ExpandEnum { 685 return []ExpandEnum{Links, Metadata} 686} 687 688// ExportData enumerates the values for export data. 689type ExportData string 690 691const ( 692 // ExportDataRawEvents Agent raw events 693 ExportDataRawEvents ExportData = "RawEvents" 694) 695 696// PossibleExportDataValues returns an array of possible values for the ExportData const type. 697func PossibleExportDataValues() []ExportData { 698 return []ExportData{ExportDataRawEvents} 699} 700 701// ExternalSecuritySolutionKind enumerates the values for external security solution kind. 702type ExternalSecuritySolutionKind string 703 704const ( 705 // AAD ... 706 AAD ExternalSecuritySolutionKind = "AAD" 707 // ATA ... 708 ATA ExternalSecuritySolutionKind = "ATA" 709 // CEF ... 710 CEF ExternalSecuritySolutionKind = "CEF" 711) 712 713// PossibleExternalSecuritySolutionKindValues returns an array of possible values for the ExternalSecuritySolutionKind const type. 714func PossibleExternalSecuritySolutionKindValues() []ExternalSecuritySolutionKind { 715 return []ExternalSecuritySolutionKind{AAD, ATA, CEF} 716} 717 718// Family enumerates the values for family. 719type Family string 720 721const ( 722 // Ngfw ... 723 Ngfw Family = "Ngfw" 724 // SaasWaf ... 725 SaasWaf Family = "SaasWaf" 726 // Va ... 727 Va Family = "Va" 728 // Waf ... 729 Waf Family = "Waf" 730) 731 732// PossibleFamilyValues returns an array of possible values for the Family const type. 733func PossibleFamilyValues() []Family { 734 return []Family{Ngfw, SaasWaf, Va, Waf} 735} 736 737// FileType enumerates the values for file type. 738type FileType string 739 740const ( 741 // FileTypeDll ... 742 FileTypeDll FileType = "Dll" 743 // FileTypeExe ... 744 FileTypeExe FileType = "Exe" 745 // FileTypeExecutable ... 746 FileTypeExecutable FileType = "Executable" 747 // FileTypeMsi ... 748 FileTypeMsi FileType = "Msi" 749 // FileTypeScript ... 750 FileTypeScript FileType = "Script" 751 // FileTypeUnknown ... 752 FileTypeUnknown FileType = "Unknown" 753) 754 755// PossibleFileTypeValues returns an array of possible values for the FileType const type. 756func PossibleFileTypeValues() []FileType { 757 return []FileType{FileTypeDll, FileTypeExe, FileTypeExecutable, FileTypeMsi, FileTypeScript, FileTypeUnknown} 758} 759 760// HybridComputeProvisioningState enumerates the values for hybrid compute provisioning state. 761type HybridComputeProvisioningState string 762 763const ( 764 // HybridComputeProvisioningStateExpired the service principal details are expired 765 HybridComputeProvisioningStateExpired HybridComputeProvisioningState = "Expired" 766 // HybridComputeProvisioningStateInvalid Invalid service principal details. 767 HybridComputeProvisioningStateInvalid HybridComputeProvisioningState = "Invalid" 768 // HybridComputeProvisioningStateValid Valid service principal details. 769 HybridComputeProvisioningStateValid HybridComputeProvisioningState = "Valid" 770) 771 772// PossibleHybridComputeProvisioningStateValues returns an array of possible values for the HybridComputeProvisioningState const type. 773func PossibleHybridComputeProvisioningStateValues() []HybridComputeProvisioningState { 774 return []HybridComputeProvisioningState{HybridComputeProvisioningStateExpired, HybridComputeProvisioningStateInvalid, HybridComputeProvisioningStateValid} 775} 776 777// ImplementationEffort enumerates the values for implementation effort. 778type ImplementationEffort string 779 780const ( 781 // ImplementationEffortHigh ... 782 ImplementationEffortHigh ImplementationEffort = "High" 783 // ImplementationEffortLow ... 784 ImplementationEffortLow ImplementationEffort = "Low" 785 // ImplementationEffortModerate ... 786 ImplementationEffortModerate ImplementationEffort = "Moderate" 787) 788 789// PossibleImplementationEffortValues returns an array of possible values for the ImplementationEffort const type. 790func PossibleImplementationEffortValues() []ImplementationEffort { 791 return []ImplementationEffort{ImplementationEffortHigh, ImplementationEffortLow, ImplementationEffortModerate} 792} 793 794// Intent enumerates the values for intent. 795type Intent string 796 797const ( 798 // IntentCollection Collection consists of techniques used to identify and gather information, such as 799 // sensitive files, from a target network prior to exfiltration. 800 IntentCollection Intent = "Collection" 801 // IntentCommandAndControl The command and control tactic represents how adversaries communicate with 802 // systems under their control within a target network. 803 IntentCommandAndControl Intent = "CommandAndControl" 804 // IntentCredentialAccess Credential access represents techniques resulting in access to or control over 805 // system, domain, or service credentials that are used within an enterprise environment. 806 IntentCredentialAccess Intent = "CredentialAccess" 807 // IntentDefenseEvasion Defense evasion consists of techniques an adversary may use to evade detection or 808 // avoid other defenses. 809 IntentDefenseEvasion Intent = "DefenseEvasion" 810 // IntentDiscovery Discovery consists of techniques that allow the adversary to gain knowledge about the 811 // system and internal network. 812 IntentDiscovery Intent = "Discovery" 813 // IntentExecution The execution tactic represents techniques that result in execution of 814 // adversary-controlled code on a local or remote system. 815 IntentExecution Intent = "Execution" 816 // IntentExfiltration Exfiltration refers to techniques and attributes that result or aid in the adversary 817 // removing files and information from a target network. 818 IntentExfiltration Intent = "Exfiltration" 819 // IntentExploitation Exploitation is the stage where an attacker manages to get a foothold on the attacked 820 // resource. This stage is relevant for compute hosts and resources such as user accounts, certificates 821 // etc. 822 IntentExploitation Intent = "Exploitation" 823 // IntentImpact Impact events primarily try to directly reduce the availability or integrity of a system, 824 // service, or network; including manipulation of data to impact a business or operational process. 825 IntentImpact Intent = "Impact" 826 // IntentInitialAccess InitialAccess is the stage where an attacker manages to get foothold on the attacked 827 // resource. 828 IntentInitialAccess Intent = "InitialAccess" 829 // IntentLateralMovement Lateral movement consists of techniques that enable an adversary to access and 830 // control remote systems on a network and could, but does not necessarily, include execution of tools on 831 // remote systems. 832 IntentLateralMovement Intent = "LateralMovement" 833 // IntentPersistence Persistence is any access, action, or configuration change to a system that gives a 834 // threat actor a persistent presence on that system. 835 IntentPersistence Intent = "Persistence" 836 // IntentPreAttack PreAttack could be either an attempt to access a certain resource regardless of a 837 // malicious intent, or a failed attempt to gain access to a target system to gather information prior to 838 // exploitation. This step is usually detected as an attempt, originating from outside the network, to scan 839 // the target system and find a way in. Further details on the PreAttack stage can be read in [MITRE 840 // Pre-Att&ck matrix](https://attack.mitre.org/matrices/pre/). 841 IntentPreAttack Intent = "PreAttack" 842 // IntentPrivilegeEscalation Privilege escalation is the result of actions that allow an adversary to 843 // obtain a higher level of permissions on a system or network. 844 IntentPrivilegeEscalation Intent = "PrivilegeEscalation" 845 // IntentProbing Probing could be either an attempt to access a certain resource regardless of a malicious 846 // intent, or a failed attempt to gain access to a target system to gather information prior to 847 // exploitation. 848 IntentProbing Intent = "Probing" 849 // IntentUnknown Unknown 850 IntentUnknown Intent = "Unknown" 851) 852 853// PossibleIntentValues returns an array of possible values for the Intent const type. 854func PossibleIntentValues() []Intent { 855 return []Intent{IntentCollection, IntentCommandAndControl, IntentCredentialAccess, IntentDefenseEvasion, IntentDiscovery, IntentExecution, IntentExfiltration, IntentExploitation, IntentImpact, IntentInitialAccess, IntentLateralMovement, IntentPersistence, IntentPreAttack, IntentPrivilegeEscalation, IntentProbing, IntentUnknown} 856} 857 858// Issue enumerates the values for issue. 859type Issue string 860 861const ( 862 // ExecutableViolationsAudited ... 863 ExecutableViolationsAudited Issue = "ExecutableViolationsAudited" 864 // MsiAndScriptViolationsAudited ... 865 MsiAndScriptViolationsAudited Issue = "MsiAndScriptViolationsAudited" 866 // MsiAndScriptViolationsBlocked ... 867 MsiAndScriptViolationsBlocked Issue = "MsiAndScriptViolationsBlocked" 868 // RulesViolatedManually ... 869 RulesViolatedManually Issue = "RulesViolatedManually" 870 // ViolationsAudited ... 871 ViolationsAudited Issue = "ViolationsAudited" 872 // ViolationsBlocked ... 873 ViolationsBlocked Issue = "ViolationsBlocked" 874) 875 876// PossibleIssueValues returns an array of possible values for the Issue const type. 877func PossibleIssueValues() []Issue { 878 return []Issue{ExecutableViolationsAudited, MsiAndScriptViolationsAudited, MsiAndScriptViolationsBlocked, RulesViolatedManually, ViolationsAudited, ViolationsBlocked} 879} 880 881// KindEnum enumerates the values for kind enum. 882type KindEnum string 883 884const ( 885 // KindAAD ... 886 KindAAD KindEnum = "AAD" 887 // KindATA ... 888 KindATA KindEnum = "ATA" 889 // KindCEF ... 890 KindCEF KindEnum = "CEF" 891 // KindExternalSecuritySolution ... 892 KindExternalSecuritySolution KindEnum = "ExternalSecuritySolution" 893) 894 895// PossibleKindEnumValues returns an array of possible values for the KindEnum const type. 896func PossibleKindEnumValues() []KindEnum { 897 return []KindEnum{KindAAD, KindATA, KindCEF, KindExternalSecuritySolution} 898} 899 900// KindEnum1 enumerates the values for kind enum 1. 901type KindEnum1 string 902 903const ( 904 // KindAlertSimulatorRequestProperties ... 905 KindAlertSimulatorRequestProperties KindEnum1 = "AlertSimulatorRequestProperties" 906 // KindBundles ... 907 KindBundles KindEnum1 = "Bundles" 908) 909 910// PossibleKindEnum1Values returns an array of possible values for the KindEnum1 const type. 911func PossibleKindEnum1Values() []KindEnum1 { 912 return []KindEnum1{KindAlertSimulatorRequestProperties, KindBundles} 913} 914 915// KindEnum2 enumerates the values for kind enum 2. 916type KindEnum2 string 917 918const ( 919 // KindAlertSyncSettings ... 920 KindAlertSyncSettings KindEnum2 = "AlertSyncSettings" 921 // KindDataExportSettings ... 922 KindDataExportSettings KindEnum2 = "DataExportSettings" 923 // KindSetting ... 924 KindSetting KindEnum2 = "Setting" 925) 926 927// PossibleKindEnum2Values returns an array of possible values for the KindEnum2 const type. 928func PossibleKindEnum2Values() []KindEnum2 { 929 return []KindEnum2{KindAlertSyncSettings, KindDataExportSettings, KindSetting} 930} 931 932// MacSignificance enumerates the values for mac significance. 933type MacSignificance string 934 935const ( 936 // Primary ... 937 Primary MacSignificance = "Primary" 938 // Secondary ... 939 Secondary MacSignificance = "Secondary" 940) 941 942// PossibleMacSignificanceValues returns an array of possible values for the MacSignificance const type. 943func PossibleMacSignificanceValues() []MacSignificance { 944 return []MacSignificance{Primary, Secondary} 945} 946 947// ManagementState enumerates the values for management state. 948type ManagementState string 949 950const ( 951 // Managed ... 952 Managed ManagementState = "Managed" 953 // Unmanaged ... 954 Unmanaged ManagementState = "Unmanaged" 955) 956 957// PossibleManagementStateValues returns an array of possible values for the ManagementState const type. 958func PossibleManagementStateValues() []ManagementState { 959 return []ManagementState{Managed, Unmanaged} 960} 961 962// Msi enumerates the values for msi. 963type Msi string 964 965const ( 966 // MsiAudit ... 967 MsiAudit Msi = "Audit" 968 // MsiEnforce ... 969 MsiEnforce Msi = "Enforce" 970 // MsiNone ... 971 MsiNone Msi = "None" 972) 973 974// PossibleMsiValues returns an array of possible values for the Msi const type. 975func PossibleMsiValues() []Msi { 976 return []Msi{MsiAudit, MsiEnforce, MsiNone} 977} 978 979// OnboardingKind enumerates the values for onboarding kind. 980type OnboardingKind string 981 982const ( 983 // Default ... 984 Default OnboardingKind = "Default" 985 // Evaluation ... 986 Evaluation OnboardingKind = "Evaluation" 987 // MigratedToAzure ... 988 MigratedToAzure OnboardingKind = "MigratedToAzure" 989 // Purchased ... 990 Purchased OnboardingKind = "Purchased" 991) 992 993// PossibleOnboardingKindValues returns an array of possible values for the OnboardingKind const type. 994func PossibleOnboardingKindValues() []OnboardingKind { 995 return []OnboardingKind{Default, Evaluation, MigratedToAzure, Purchased} 996} 997 998// Operator enumerates the values for operator. 999type Operator string 1000 1001const ( 1002 // Contains Applies only for non-decimal operands 1003 Contains Operator = "Contains" 1004 // EndsWith Applies only for non-decimal operands 1005 EndsWith Operator = "EndsWith" 1006 // Equals Applies for decimal and non-decimal operands 1007 Equals Operator = "Equals" 1008 // GreaterThan Applies only for decimal operands 1009 GreaterThan Operator = "GreaterThan" 1010 // GreaterThanOrEqualTo Applies only for decimal operands 1011 GreaterThanOrEqualTo Operator = "GreaterThanOrEqualTo" 1012 // LesserThan Applies only for decimal operands 1013 LesserThan Operator = "LesserThan" 1014 // LesserThanOrEqualTo Applies only for decimal operands 1015 LesserThanOrEqualTo Operator = "LesserThanOrEqualTo" 1016 // NotEquals Applies for decimal and non-decimal operands 1017 NotEquals Operator = "NotEquals" 1018 // StartsWith Applies only for non-decimal operands 1019 StartsWith Operator = "StartsWith" 1020) 1021 1022// PossibleOperatorValues returns an array of possible values for the Operator const type. 1023func PossibleOperatorValues() []Operator { 1024 return []Operator{Contains, EndsWith, Equals, GreaterThan, GreaterThanOrEqualTo, LesserThan, LesserThanOrEqualTo, NotEquals, StartsWith} 1025} 1026 1027// PermissionProperty enumerates the values for permission property. 1028type PermissionProperty string 1029 1030const ( 1031 // AWSAmazonSSMAutomationRole The permission provides for EC2 Automation service to execute activities 1032 // defined within Automation documents. 1033 AWSAmazonSSMAutomationRole PermissionProperty = "AWS::AmazonSSMAutomationRole" 1034 // AWSAWSSecurityHubReadOnlyAccess This permission provides read only access to AWS Security Hub resources. 1035 AWSAWSSecurityHubReadOnlyAccess PermissionProperty = "AWS::AWSSecurityHubReadOnlyAccess" 1036 // AWSSecurityAudit This permission grants access to read security configuration metadata. 1037 AWSSecurityAudit PermissionProperty = "AWS::SecurityAudit" 1038 // GCPSecurityCenterAdminViewer This permission provides read only access to GCP Security Command Center. 1039 GCPSecurityCenterAdminViewer PermissionProperty = "GCP::Security Center Admin Viewer" 1040) 1041 1042// PossiblePermissionPropertyValues returns an array of possible values for the PermissionProperty const type. 1043func PossiblePermissionPropertyValues() []PermissionProperty { 1044 return []PermissionProperty{AWSAmazonSSMAutomationRole, AWSAWSSecurityHubReadOnlyAccess, AWSSecurityAudit, GCPSecurityCenterAdminViewer} 1045} 1046 1047// PricingTier enumerates the values for pricing tier. 1048type PricingTier string 1049 1050const ( 1051 // PricingTierFree Get free Azure security center experience with basic security features 1052 PricingTierFree PricingTier = "Free" 1053 // PricingTierStandard Get the standard Azure security center experience with advanced security features 1054 PricingTierStandard PricingTier = "Standard" 1055) 1056 1057// PossiblePricingTierValues returns an array of possible values for the PricingTier const type. 1058func PossiblePricingTierValues() []PricingTier { 1059 return []PricingTier{PricingTierFree, PricingTierStandard} 1060} 1061 1062// ProgrammingState enumerates the values for programming state. 1063type ProgrammingState string 1064 1065const ( 1066 // NotProgrammingDevice ... 1067 NotProgrammingDevice ProgrammingState = "NotProgrammingDevice" 1068 // ProgrammingDevice ... 1069 ProgrammingDevice ProgrammingState = "ProgrammingDevice" 1070) 1071 1072// PossibleProgrammingStateValues returns an array of possible values for the ProgrammingState const type. 1073func PossibleProgrammingStateValues() []ProgrammingState { 1074 return []ProgrammingState{NotProgrammingDevice, ProgrammingDevice} 1075} 1076 1077// PropertyType enumerates the values for property type. 1078type PropertyType string 1079 1080const ( 1081 // Boolean ... 1082 Boolean PropertyType = "Boolean" 1083 // Integer ... 1084 Integer PropertyType = "Integer" 1085 // Number ... 1086 Number PropertyType = "Number" 1087 // String ... 1088 String PropertyType = "String" 1089) 1090 1091// PossiblePropertyTypeValues returns an array of possible values for the PropertyType const type. 1092func PossiblePropertyTypeValues() []PropertyType { 1093 return []PropertyType{Boolean, Integer, Number, String} 1094} 1095 1096// Protocol enumerates the values for protocol. 1097type Protocol string 1098 1099const ( 1100 // All ... 1101 All Protocol = "*" 1102 // TCP ... 1103 TCP Protocol = "TCP" 1104 // UDP ... 1105 UDP Protocol = "UDP" 1106) 1107 1108// PossibleProtocolValues returns an array of possible values for the Protocol const type. 1109func PossibleProtocolValues() []Protocol { 1110 return []Protocol{All, TCP, UDP} 1111} 1112 1113// ProvisioningState enumerates the values for provisioning state. 1114type ProvisioningState string 1115 1116const ( 1117 // ProvisioningStateFailed ... 1118 ProvisioningStateFailed ProvisioningState = "Failed" 1119 // ProvisioningStateSucceeded ... 1120 ProvisioningStateSucceeded ProvisioningState = "Succeeded" 1121 // ProvisioningStateUpdating ... 1122 ProvisioningStateUpdating ProvisioningState = "Updating" 1123) 1124 1125// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 1126func PossibleProvisioningStateValues() []ProvisioningState { 1127 return []ProvisioningState{ProvisioningStateFailed, ProvisioningStateSucceeded, ProvisioningStateUpdating} 1128} 1129 1130// ProvisioningState1 enumerates the values for provisioning state 1. 1131type ProvisioningState1 string 1132 1133const ( 1134 // ProvisioningState1Canceled ... 1135 ProvisioningState1Canceled ProvisioningState1 = "Canceled" 1136 // ProvisioningState1Deprovisioning ... 1137 ProvisioningState1Deprovisioning ProvisioningState1 = "Deprovisioning" 1138 // ProvisioningState1Failed ... 1139 ProvisioningState1Failed ProvisioningState1 = "Failed" 1140 // ProvisioningState1Provisioning ... 1141 ProvisioningState1Provisioning ProvisioningState1 = "Provisioning" 1142 // ProvisioningState1Succeeded ... 1143 ProvisioningState1Succeeded ProvisioningState1 = "Succeeded" 1144) 1145 1146// PossibleProvisioningState1Values returns an array of possible values for the ProvisioningState1 const type. 1147func PossibleProvisioningState1Values() []ProvisioningState1 { 1148 return []ProvisioningState1{ProvisioningState1Canceled, ProvisioningState1Deprovisioning, ProvisioningState1Failed, ProvisioningState1Provisioning, ProvisioningState1Succeeded} 1149} 1150 1151// PurdueLevel enumerates the values for purdue level. 1152type PurdueLevel string 1153 1154const ( 1155 // Enterprise ... 1156 Enterprise PurdueLevel = "Enterprise" 1157 // ProcessControl ... 1158 ProcessControl PurdueLevel = "ProcessControl" 1159 // Supervisory ... 1160 Supervisory PurdueLevel = "Supervisory" 1161) 1162 1163// PossiblePurdueLevelValues returns an array of possible values for the PurdueLevel const type. 1164func PossiblePurdueLevelValues() []PurdueLevel { 1165 return []PurdueLevel{Enterprise, ProcessControl, Supervisory} 1166} 1167 1168// Rank enumerates the values for rank. 1169type Rank string 1170 1171const ( 1172 // RankCritical ... 1173 RankCritical Rank = "Critical" 1174 // RankHigh ... 1175 RankHigh Rank = "High" 1176 // RankLow ... 1177 RankLow Rank = "Low" 1178 // RankMedium ... 1179 RankMedium Rank = "Medium" 1180 // RankNone ... 1181 RankNone Rank = "None" 1182) 1183 1184// PossibleRankValues returns an array of possible values for the Rank const type. 1185func PossibleRankValues() []Rank { 1186 return []Rank{RankCritical, RankHigh, RankLow, RankMedium, RankNone} 1187} 1188 1189// RecommendationAction enumerates the values for recommendation action. 1190type RecommendationAction string 1191 1192const ( 1193 // RecommendationActionAdd ... 1194 RecommendationActionAdd RecommendationAction = "Add" 1195 // RecommendationActionRecommended ... 1196 RecommendationActionRecommended RecommendationAction = "Recommended" 1197 // RecommendationActionRemove ... 1198 RecommendationActionRemove RecommendationAction = "Remove" 1199) 1200 1201// PossibleRecommendationActionValues returns an array of possible values for the RecommendationAction const type. 1202func PossibleRecommendationActionValues() []RecommendationAction { 1203 return []RecommendationAction{RecommendationActionAdd, RecommendationActionRecommended, RecommendationActionRemove} 1204} 1205 1206// RecommendationAction1 enumerates the values for recommendation action 1. 1207type RecommendationAction1 string 1208 1209const ( 1210 // RecommendationAction1Add ... 1211 RecommendationAction1Add RecommendationAction1 = "Add" 1212 // RecommendationAction1Recommended ... 1213 RecommendationAction1Recommended RecommendationAction1 = "Recommended" 1214 // RecommendationAction1Remove ... 1215 RecommendationAction1Remove RecommendationAction1 = "Remove" 1216) 1217 1218// PossibleRecommendationAction1Values returns an array of possible values for the RecommendationAction1 const type. 1219func PossibleRecommendationAction1Values() []RecommendationAction1 { 1220 return []RecommendationAction1{RecommendationAction1Add, RecommendationAction1Recommended, RecommendationAction1Remove} 1221} 1222 1223// RecommendationConfigStatus enumerates the values for recommendation config status. 1224type RecommendationConfigStatus string 1225 1226const ( 1227 // Disabled ... 1228 Disabled RecommendationConfigStatus = "Disabled" 1229 // Enabled ... 1230 Enabled RecommendationConfigStatus = "Enabled" 1231) 1232 1233// PossibleRecommendationConfigStatusValues returns an array of possible values for the RecommendationConfigStatus const type. 1234func PossibleRecommendationConfigStatusValues() []RecommendationConfigStatus { 1235 return []RecommendationConfigStatus{Disabled, Enabled} 1236} 1237 1238// RecommendationSeverity enumerates the values for recommendation severity. 1239type RecommendationSeverity string 1240 1241const ( 1242 // RecommendationSeverityHealthy ... 1243 RecommendationSeverityHealthy RecommendationSeverity = "Healthy" 1244 // RecommendationSeverityHigh ... 1245 RecommendationSeverityHigh RecommendationSeverity = "High" 1246 // RecommendationSeverityLow ... 1247 RecommendationSeverityLow RecommendationSeverity = "Low" 1248 // RecommendationSeverityMedium ... 1249 RecommendationSeverityMedium RecommendationSeverity = "Medium" 1250 // RecommendationSeverityNotApplicable ... 1251 RecommendationSeverityNotApplicable RecommendationSeverity = "NotApplicable" 1252 // RecommendationSeverityOffByPolicy ... 1253 RecommendationSeverityOffByPolicy RecommendationSeverity = "OffByPolicy" 1254 // RecommendationSeverityUnknown ... 1255 RecommendationSeverityUnknown RecommendationSeverity = "Unknown" 1256) 1257 1258// PossibleRecommendationSeverityValues returns an array of possible values for the RecommendationSeverity const type. 1259func PossibleRecommendationSeverityValues() []RecommendationSeverity { 1260 return []RecommendationSeverity{RecommendationSeverityHealthy, RecommendationSeverityHigh, RecommendationSeverityLow, RecommendationSeverityMedium, RecommendationSeverityNotApplicable, RecommendationSeverityOffByPolicy, RecommendationSeverityUnknown} 1261} 1262 1263// RecommendationStatus enumerates the values for recommendation status. 1264type RecommendationStatus string 1265 1266const ( 1267 // RecommendationStatusNoStatus ... 1268 RecommendationStatusNoStatus RecommendationStatus = "NoStatus" 1269 // RecommendationStatusNotAvailable ... 1270 RecommendationStatusNotAvailable RecommendationStatus = "NotAvailable" 1271 // RecommendationStatusNotRecommended ... 1272 RecommendationStatusNotRecommended RecommendationStatus = "NotRecommended" 1273 // RecommendationStatusRecommended ... 1274 RecommendationStatusRecommended RecommendationStatus = "Recommended" 1275) 1276 1277// PossibleRecommendationStatusValues returns an array of possible values for the RecommendationStatus const type. 1278func PossibleRecommendationStatusValues() []RecommendationStatus { 1279 return []RecommendationStatus{RecommendationStatusNoStatus, RecommendationStatusNotAvailable, RecommendationStatusNotRecommended, RecommendationStatusRecommended} 1280} 1281 1282// RecommendationType enumerates the values for recommendation type. 1283type RecommendationType string 1284 1285const ( 1286 // IoTACRAuthentication Authentication schema used for pull an edge module from an ACR repository does not 1287 // use Service Principal Authentication. 1288 IoTACRAuthentication RecommendationType = "IoT_ACRAuthentication" 1289 // IoTAgentSendsUnutilizedMessages IoT agent message size capacity is currently underutilized, causing an 1290 // increase in the number of sent messages. Adjust message intervals for better utilization. 1291 IoTAgentSendsUnutilizedMessages RecommendationType = "IoT_AgentSendsUnutilizedMessages" 1292 // IoTBaseline Identified security related system configuration issues. 1293 IoTBaseline RecommendationType = "IoT_Baseline" 1294 // IoTEdgeHubMemOptimize You can optimize Edge Hub memory usage by turning off protocol heads for any 1295 // protocols not used by Edge modules in your solution. 1296 IoTEdgeHubMemOptimize RecommendationType = "IoT_EdgeHubMemOptimize" 1297 // IoTEdgeLoggingOptions Logging is disabled for this edge module. 1298 IoTEdgeLoggingOptions RecommendationType = "IoT_EdgeLoggingOptions" 1299 // IoTInconsistentModuleSettings A minority within a device security group has inconsistent Edge Module 1300 // settings with the rest of their group. 1301 IoTInconsistentModuleSettings RecommendationType = "IoT_InconsistentModuleSettings" 1302 // IoTInstallAgent Install the Azure Security of Things Agent. 1303 IoTInstallAgent RecommendationType = "IoT_InstallAgent" 1304 // IoTIPFilterDenyAll IP Filter Configuration should have rules defined for allowed traffic and should deny 1305 // all other traffic by default. 1306 IoTIPFilterDenyAll RecommendationType = "IoT_IPFilter_DenyAll" 1307 // IoTIPFilterPermissiveRule An Allow IP Filter rules source IP range is too large. Overly permissive rules 1308 // might expose your IoT hub to malicious intenders. 1309 IoTIPFilterPermissiveRule RecommendationType = "IoT_IPFilter_PermissiveRule" 1310 // IoTOpenPorts A listening endpoint was found on the device. 1311 IoTOpenPorts RecommendationType = "IoT_OpenPorts" 1312 // IoTPermissiveFirewallPolicy An Allowed firewall policy was found (INPUT/OUTPUT). The policy should Deny 1313 // all traffic by default and define rules to allow necessary communication to/from the device. 1314 IoTPermissiveFirewallPolicy RecommendationType = "IoT_PermissiveFirewallPolicy" 1315 // IoTPermissiveInputFirewallRules A rule in the firewall has been found that contains a permissive pattern 1316 // for a wide range of IP addresses or Ports. 1317 IoTPermissiveInputFirewallRules RecommendationType = "IoT_PermissiveInputFirewallRules" 1318 // IoTPermissiveOutputFirewallRules A rule in the firewall has been found that contains a permissive 1319 // pattern for a wide range of IP addresses or Ports. 1320 IoTPermissiveOutputFirewallRules RecommendationType = "IoT_PermissiveOutputFirewallRules" 1321 // IoTPrivilegedDockerOptions Edge module is configured to run in privileged mode, with extensive Linux 1322 // capabilities or with host-level network access (send/receive data to host machine). 1323 IoTPrivilegedDockerOptions RecommendationType = "IoT_PrivilegedDockerOptions" 1324 // IoTSharedCredentials Same authentication credentials to the IoT Hub used by multiple devices. This could 1325 // indicate an illegitimate device impersonating a legitimate device. It also exposes the risk of device 1326 // impersonation by an attacker. 1327 IoTSharedCredentials RecommendationType = "IoT_SharedCredentials" 1328 // IoTVulnerableTLSCipherSuite Insecure TLS configurations detected. Immediate upgrade recommended. 1329 IoTVulnerableTLSCipherSuite RecommendationType = "IoT_VulnerableTLSCipherSuite" 1330) 1331 1332// PossibleRecommendationTypeValues returns an array of possible values for the RecommendationType const type. 1333func PossibleRecommendationTypeValues() []RecommendationType { 1334 return []RecommendationType{IoTACRAuthentication, IoTAgentSendsUnutilizedMessages, IoTBaseline, IoTEdgeHubMemOptimize, IoTEdgeLoggingOptions, IoTInconsistentModuleSettings, IoTInstallAgent, IoTIPFilterDenyAll, IoTIPFilterPermissiveRule, IoTOpenPorts, IoTPermissiveFirewallPolicy, IoTPermissiveInputFirewallRules, IoTPermissiveOutputFirewallRules, IoTPrivilegedDockerOptions, IoTSharedCredentials, IoTVulnerableTLSCipherSuite} 1335} 1336 1337// RelationToIPStatus enumerates the values for relation to ip status. 1338type RelationToIPStatus string 1339 1340const ( 1341 // Certain ... 1342 Certain RelationToIPStatus = "Certain" 1343 // Guess ... 1344 Guess RelationToIPStatus = "Guess" 1345) 1346 1347// PossibleRelationToIPStatusValues returns an array of possible values for the RelationToIPStatus const type. 1348func PossibleRelationToIPStatusValues() []RelationToIPStatus { 1349 return []RelationToIPStatus{Certain, Guess} 1350} 1351 1352// ReportedSeverity enumerates the values for reported severity. 1353type ReportedSeverity string 1354 1355const ( 1356 // ReportedSeverityHigh ... 1357 ReportedSeverityHigh ReportedSeverity = "High" 1358 // ReportedSeverityInformational ... 1359 ReportedSeverityInformational ReportedSeverity = "Informational" 1360 // ReportedSeverityLow ... 1361 ReportedSeverityLow ReportedSeverity = "Low" 1362 // ReportedSeverityMedium ... 1363 ReportedSeverityMedium ReportedSeverity = "Medium" 1364) 1365 1366// PossibleReportedSeverityValues returns an array of possible values for the ReportedSeverity const type. 1367func PossibleReportedSeverityValues() []ReportedSeverity { 1368 return []ReportedSeverity{ReportedSeverityHigh, ReportedSeverityInformational, ReportedSeverityLow, ReportedSeverityMedium} 1369} 1370 1371// ResourceStatus enumerates the values for resource status. 1372type ResourceStatus string 1373 1374const ( 1375 // ResourceStatusHealthy This assessment on the resource is healthy 1376 ResourceStatusHealthy ResourceStatus = "Healthy" 1377 // ResourceStatusNotApplicable This assessment is not applicable to this resource 1378 ResourceStatusNotApplicable ResourceStatus = "NotApplicable" 1379 // ResourceStatusNotHealthy This assessment on the resource is not healthy 1380 ResourceStatusNotHealthy ResourceStatus = "NotHealthy" 1381 // ResourceStatusOffByPolicy This assessment is turned off by policy on this subscription 1382 ResourceStatusOffByPolicy ResourceStatus = "OffByPolicy" 1383) 1384 1385// PossibleResourceStatusValues returns an array of possible values for the ResourceStatus const type. 1386func PossibleResourceStatusValues() []ResourceStatus { 1387 return []ResourceStatus{ResourceStatusHealthy, ResourceStatusNotApplicable, ResourceStatusNotHealthy, ResourceStatusOffByPolicy} 1388} 1389 1390// RuleSeverity enumerates the values for rule severity. 1391type RuleSeverity string 1392 1393const ( 1394 // RuleSeverityHigh High 1395 RuleSeverityHigh RuleSeverity = "High" 1396 // RuleSeverityInformational Informational 1397 RuleSeverityInformational RuleSeverity = "Informational" 1398 // RuleSeverityLow Low 1399 RuleSeverityLow RuleSeverity = "Low" 1400 // RuleSeverityMedium Medium 1401 RuleSeverityMedium RuleSeverity = "Medium" 1402 // RuleSeverityObsolete Obsolete 1403 RuleSeverityObsolete RuleSeverity = "Obsolete" 1404) 1405 1406// PossibleRuleSeverityValues returns an array of possible values for the RuleSeverity const type. 1407func PossibleRuleSeverityValues() []RuleSeverity { 1408 return []RuleSeverity{RuleSeverityHigh, RuleSeverityInformational, RuleSeverityLow, RuleSeverityMedium, RuleSeverityObsolete} 1409} 1410 1411// RuleState enumerates the values for rule state. 1412type RuleState string 1413 1414const ( 1415 // RuleStateDisabled ... 1416 RuleStateDisabled RuleState = "Disabled" 1417 // RuleStateEnabled ... 1418 RuleStateEnabled RuleState = "Enabled" 1419 // RuleStateExpired ... 1420 RuleStateExpired RuleState = "Expired" 1421) 1422 1423// PossibleRuleStateValues returns an array of possible values for the RuleState const type. 1424func PossibleRuleStateValues() []RuleState { 1425 return []RuleState{RuleStateDisabled, RuleStateEnabled, RuleStateExpired} 1426} 1427 1428// RuleStatus enumerates the values for rule status. 1429type RuleStatus string 1430 1431const ( 1432 // Finding Finding 1433 Finding RuleStatus = "Finding" 1434 // InternalError InternalError 1435 InternalError RuleStatus = "InternalError" 1436 // NonFinding NonFinding 1437 NonFinding RuleStatus = "NonFinding" 1438) 1439 1440// PossibleRuleStatusValues returns an array of possible values for the RuleStatus const type. 1441func PossibleRuleStatusValues() []RuleStatus { 1442 return []RuleStatus{Finding, InternalError, NonFinding} 1443} 1444 1445// RuleType enumerates the values for rule type. 1446type RuleType string 1447 1448const ( 1449 // BaselineExpected BaselineExpected 1450 BaselineExpected RuleType = "BaselineExpected" 1451 // Binary Binary 1452 Binary RuleType = "Binary" 1453 // NegativeList NegativeList 1454 NegativeList RuleType = "NegativeList" 1455 // PositiveList PositiveList 1456 PositiveList RuleType = "PositiveList" 1457) 1458 1459// PossibleRuleTypeValues returns an array of possible values for the RuleType const type. 1460func PossibleRuleTypeValues() []RuleType { 1461 return []RuleType{BaselineExpected, Binary, NegativeList, PositiveList} 1462} 1463 1464// RuleTypeBasicCustomAlertRule enumerates the values for rule type basic custom alert rule. 1465type RuleTypeBasicCustomAlertRule string 1466 1467const ( 1468 // RuleTypeActiveConnectionsNotInAllowedRange ... 1469 RuleTypeActiveConnectionsNotInAllowedRange RuleTypeBasicCustomAlertRule = "ActiveConnectionsNotInAllowedRange" 1470 // RuleTypeAllowlistCustomAlertRule ... 1471 RuleTypeAllowlistCustomAlertRule RuleTypeBasicCustomAlertRule = "AllowlistCustomAlertRule" 1472 // RuleTypeAmqpC2DMessagesNotInAllowedRange ... 1473 RuleTypeAmqpC2DMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "AmqpC2DMessagesNotInAllowedRange" 1474 // RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange ... 1475 RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "AmqpC2DRejectedMessagesNotInAllowedRange" 1476 // RuleTypeAmqpD2CMessagesNotInAllowedRange ... 1477 RuleTypeAmqpD2CMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "AmqpD2CMessagesNotInAllowedRange" 1478 // RuleTypeConnectionFromIPNotAllowed ... 1479 RuleTypeConnectionFromIPNotAllowed RuleTypeBasicCustomAlertRule = "ConnectionFromIpNotAllowed" 1480 // RuleTypeConnectionToIPNotAllowed ... 1481 RuleTypeConnectionToIPNotAllowed RuleTypeBasicCustomAlertRule = "ConnectionToIpNotAllowed" 1482 // RuleTypeCustomAlertRule ... 1483 RuleTypeCustomAlertRule RuleTypeBasicCustomAlertRule = "CustomAlertRule" 1484 // RuleTypeDenylistCustomAlertRule ... 1485 RuleTypeDenylistCustomAlertRule RuleTypeBasicCustomAlertRule = "DenylistCustomAlertRule" 1486 // RuleTypeDirectMethodInvokesNotInAllowedRange ... 1487 RuleTypeDirectMethodInvokesNotInAllowedRange RuleTypeBasicCustomAlertRule = "DirectMethodInvokesNotInAllowedRange" 1488 // RuleTypeFailedLocalLoginsNotInAllowedRange ... 1489 RuleTypeFailedLocalLoginsNotInAllowedRange RuleTypeBasicCustomAlertRule = "FailedLocalLoginsNotInAllowedRange" 1490 // RuleTypeFileUploadsNotInAllowedRange ... 1491 RuleTypeFileUploadsNotInAllowedRange RuleTypeBasicCustomAlertRule = "FileUploadsNotInAllowedRange" 1492 // RuleTypeHTTPC2DMessagesNotInAllowedRange ... 1493 RuleTypeHTTPC2DMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "HttpC2DMessagesNotInAllowedRange" 1494 // RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange ... 1495 RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "HttpC2DRejectedMessagesNotInAllowedRange" 1496 // RuleTypeHTTPD2CMessagesNotInAllowedRange ... 1497 RuleTypeHTTPD2CMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "HttpD2CMessagesNotInAllowedRange" 1498 // RuleTypeListCustomAlertRule ... 1499 RuleTypeListCustomAlertRule RuleTypeBasicCustomAlertRule = "ListCustomAlertRule" 1500 // RuleTypeLocalUserNotAllowed ... 1501 RuleTypeLocalUserNotAllowed RuleTypeBasicCustomAlertRule = "LocalUserNotAllowed" 1502 // RuleTypeMqttC2DMessagesNotInAllowedRange ... 1503 RuleTypeMqttC2DMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "MqttC2DMessagesNotInAllowedRange" 1504 // RuleTypeMqttC2DRejectedMessagesNotInAllowedRange ... 1505 RuleTypeMqttC2DRejectedMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "MqttC2DRejectedMessagesNotInAllowedRange" 1506 // RuleTypeMqttD2CMessagesNotInAllowedRange ... 1507 RuleTypeMqttD2CMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "MqttD2CMessagesNotInAllowedRange" 1508 // RuleTypeProcessNotAllowed ... 1509 RuleTypeProcessNotAllowed RuleTypeBasicCustomAlertRule = "ProcessNotAllowed" 1510 // RuleTypeQueuePurgesNotInAllowedRange ... 1511 RuleTypeQueuePurgesNotInAllowedRange RuleTypeBasicCustomAlertRule = "QueuePurgesNotInAllowedRange" 1512 // RuleTypeThresholdCustomAlertRule ... 1513 RuleTypeThresholdCustomAlertRule RuleTypeBasicCustomAlertRule = "ThresholdCustomAlertRule" 1514 // RuleTypeTimeWindowCustomAlertRule ... 1515 RuleTypeTimeWindowCustomAlertRule RuleTypeBasicCustomAlertRule = "TimeWindowCustomAlertRule" 1516 // RuleTypeTwinUpdatesNotInAllowedRange ... 1517 RuleTypeTwinUpdatesNotInAllowedRange RuleTypeBasicCustomAlertRule = "TwinUpdatesNotInAllowedRange" 1518 // RuleTypeUnauthorizedOperationsNotInAllowedRange ... 1519 RuleTypeUnauthorizedOperationsNotInAllowedRange RuleTypeBasicCustomAlertRule = "UnauthorizedOperationsNotInAllowedRange" 1520) 1521 1522// PossibleRuleTypeBasicCustomAlertRuleValues returns an array of possible values for the RuleTypeBasicCustomAlertRule const type. 1523func PossibleRuleTypeBasicCustomAlertRuleValues() []RuleTypeBasicCustomAlertRule { 1524 return []RuleTypeBasicCustomAlertRule{RuleTypeActiveConnectionsNotInAllowedRange, RuleTypeAllowlistCustomAlertRule, RuleTypeAmqpC2DMessagesNotInAllowedRange, RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange, RuleTypeAmqpD2CMessagesNotInAllowedRange, RuleTypeConnectionFromIPNotAllowed, RuleTypeConnectionToIPNotAllowed, RuleTypeCustomAlertRule, RuleTypeDenylistCustomAlertRule, RuleTypeDirectMethodInvokesNotInAllowedRange, RuleTypeFailedLocalLoginsNotInAllowedRange, RuleTypeFileUploadsNotInAllowedRange, RuleTypeHTTPC2DMessagesNotInAllowedRange, RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange, RuleTypeHTTPD2CMessagesNotInAllowedRange, RuleTypeListCustomAlertRule, RuleTypeLocalUserNotAllowed, RuleTypeMqttC2DMessagesNotInAllowedRange, RuleTypeMqttC2DRejectedMessagesNotInAllowedRange, RuleTypeMqttD2CMessagesNotInAllowedRange, RuleTypeProcessNotAllowed, RuleTypeQueuePurgesNotInAllowedRange, RuleTypeThresholdCustomAlertRule, RuleTypeTimeWindowCustomAlertRule, RuleTypeTwinUpdatesNotInAllowedRange, RuleTypeUnauthorizedOperationsNotInAllowedRange} 1525} 1526 1527// ScanningFunctionality enumerates the values for scanning functionality. 1528type ScanningFunctionality string 1529 1530const ( 1531 // NotScannerDevice ... 1532 NotScannerDevice ScanningFunctionality = "NotScannerDevice" 1533 // ScannerDevice ... 1534 ScannerDevice ScanningFunctionality = "ScannerDevice" 1535) 1536 1537// PossibleScanningFunctionalityValues returns an array of possible values for the ScanningFunctionality const type. 1538func PossibleScanningFunctionalityValues() []ScanningFunctionality { 1539 return []ScanningFunctionality{NotScannerDevice, ScannerDevice} 1540} 1541 1542// ScanState enumerates the values for scan state. 1543type ScanState string 1544 1545const ( 1546 // ScanStateFailed Failed 1547 ScanStateFailed ScanState = "Failed" 1548 // ScanStateFailedToRun FailedToRun 1549 ScanStateFailedToRun ScanState = "FailedToRun" 1550 // ScanStateInProgress InProgress 1551 ScanStateInProgress ScanState = "InProgress" 1552 // ScanStatePassed Passed 1553 ScanStatePassed ScanState = "Passed" 1554) 1555 1556// PossibleScanStateValues returns an array of possible values for the ScanState const type. 1557func PossibleScanStateValues() []ScanState { 1558 return []ScanState{ScanStateFailed, ScanStateFailedToRun, ScanStateInProgress, ScanStatePassed} 1559} 1560 1561// ScanTriggerType enumerates the values for scan trigger type. 1562type ScanTriggerType string 1563 1564const ( 1565 // OnDemand OnDemand 1566 OnDemand ScanTriggerType = "OnDemand" 1567 // Recurring Recurring 1568 Recurring ScanTriggerType = "Recurring" 1569) 1570 1571// PossibleScanTriggerTypeValues returns an array of possible values for the ScanTriggerType const type. 1572func PossibleScanTriggerTypeValues() []ScanTriggerType { 1573 return []ScanTriggerType{OnDemand, Recurring} 1574} 1575 1576// Script enumerates the values for script. 1577type Script string 1578 1579const ( 1580 // ScriptAudit ... 1581 ScriptAudit Script = "Audit" 1582 // ScriptEnforce ... 1583 ScriptEnforce Script = "Enforce" 1584 // ScriptNone ... 1585 ScriptNone Script = "None" 1586) 1587 1588// PossibleScriptValues returns an array of possible values for the Script const type. 1589func PossibleScriptValues() []Script { 1590 return []Script{ScriptAudit, ScriptEnforce, ScriptNone} 1591} 1592 1593// SensorStatus enumerates the values for sensor status. 1594type SensorStatus string 1595 1596const ( 1597 // Disconnected ... 1598 Disconnected SensorStatus = "Disconnected" 1599 // Ok ... 1600 Ok SensorStatus = "Ok" 1601 // Unavailable ... 1602 Unavailable SensorStatus = "Unavailable" 1603) 1604 1605// PossibleSensorStatusValues returns an array of possible values for the SensorStatus const type. 1606func PossibleSensorStatusValues() []SensorStatus { 1607 return []SensorStatus{Disconnected, Ok, Unavailable} 1608} 1609 1610// SensorType enumerates the values for sensor type. 1611type SensorType string 1612 1613const ( 1614 // SensorTypeEnterprise ... 1615 SensorTypeEnterprise SensorType = "Enterprise" 1616 // SensorTypeOt ... 1617 SensorTypeOt SensorType = "Ot" 1618) 1619 1620// PossibleSensorTypeValues returns an array of possible values for the SensorType const type. 1621func PossibleSensorTypeValues() []SensorType { 1622 return []SensorType{SensorTypeEnterprise, SensorTypeOt} 1623} 1624 1625// Severity enumerates the values for severity. 1626type Severity string 1627 1628const ( 1629 // SeverityHigh ... 1630 SeverityHigh Severity = "High" 1631 // SeverityLow ... 1632 SeverityLow Severity = "Low" 1633 // SeverityMedium ... 1634 SeverityMedium Severity = "Medium" 1635) 1636 1637// PossibleSeverityValues returns an array of possible values for the Severity const type. 1638func PossibleSeverityValues() []Severity { 1639 return []Severity{SeverityHigh, SeverityLow, SeverityMedium} 1640} 1641 1642// SolutionStatus enumerates the values for solution status. 1643type SolutionStatus string 1644 1645const ( 1646 // SolutionStatusDisabled ... 1647 SolutionStatusDisabled SolutionStatus = "Disabled" 1648 // SolutionStatusEnabled ... 1649 SolutionStatusEnabled SolutionStatus = "Enabled" 1650) 1651 1652// PossibleSolutionStatusValues returns an array of possible values for the SolutionStatus const type. 1653func PossibleSolutionStatusValues() []SolutionStatus { 1654 return []SolutionStatus{SolutionStatusDisabled, SolutionStatusEnabled} 1655} 1656 1657// Source enumerates the values for source. 1658type Source string 1659 1660const ( 1661 // SourceAzure ... 1662 SourceAzure Source = "Azure" 1663 // SourceOnPremise ... 1664 SourceOnPremise Source = "OnPremise" 1665 // SourceOnPremiseSQL ... 1666 SourceOnPremiseSQL Source = "OnPremiseSql" 1667 // SourceResourceDetails ... 1668 SourceResourceDetails Source = "ResourceDetails" 1669) 1670 1671// PossibleSourceValues returns an array of possible values for the Source const type. 1672func PossibleSourceValues() []Source { 1673 return []Source{SourceAzure, SourceOnPremise, SourceOnPremiseSQL, SourceResourceDetails} 1674} 1675 1676// SourceSystem enumerates the values for source system. 1677type SourceSystem string 1678 1679const ( 1680 // SourceSystemAzureAppLocker ... 1681 SourceSystemAzureAppLocker SourceSystem = "Azure_AppLocker" 1682 // SourceSystemAzureAuditD ... 1683 SourceSystemAzureAuditD SourceSystem = "Azure_AuditD" 1684 // SourceSystemNonAzureAppLocker ... 1685 SourceSystemNonAzureAppLocker SourceSystem = "NonAzure_AppLocker" 1686 // SourceSystemNonAzureAuditD ... 1687 SourceSystemNonAzureAuditD SourceSystem = "NonAzure_AuditD" 1688 // SourceSystemNone ... 1689 SourceSystemNone SourceSystem = "None" 1690) 1691 1692// PossibleSourceSystemValues returns an array of possible values for the SourceSystem const type. 1693func PossibleSourceSystemValues() []SourceSystem { 1694 return []SourceSystem{SourceSystemAzureAppLocker, SourceSystemAzureAuditD, SourceSystemNonAzureAppLocker, SourceSystemNonAzureAuditD, SourceSystemNone} 1695} 1696 1697// State enumerates the values for state. 1698type State string 1699 1700const ( 1701 // StateFailed At least one supported regulatory compliance control in the given standard has a state of 1702 // failed 1703 StateFailed State = "Failed" 1704 // StatePassed All supported regulatory compliance controls in the given standard have a passed state 1705 StatePassed State = "Passed" 1706 // StateSkipped All supported regulatory compliance controls in the given standard have a state of skipped 1707 StateSkipped State = "Skipped" 1708 // StateUnsupported No supported regulatory compliance data for the given standard 1709 StateUnsupported State = "Unsupported" 1710) 1711 1712// PossibleStateValues returns an array of possible values for the State const type. 1713func PossibleStateValues() []State { 1714 return []State{StateFailed, StatePassed, StateSkipped, StateUnsupported} 1715} 1716 1717// Status enumerates the values for status. 1718type Status string 1719 1720const ( 1721 // Initiated ... 1722 Initiated Status = "Initiated" 1723 // Revoked ... 1724 Revoked Status = "Revoked" 1725) 1726 1727// PossibleStatusValues returns an array of possible values for the Status const type. 1728func PossibleStatusValues() []Status { 1729 return []Status{Initiated, Revoked} 1730} 1731 1732// StatusReason enumerates the values for status reason. 1733type StatusReason string 1734 1735const ( 1736 // StatusReasonExpired ... 1737 StatusReasonExpired StatusReason = "Expired" 1738 // StatusReasonNewerRequestInitiated ... 1739 StatusReasonNewerRequestInitiated StatusReason = "NewerRequestInitiated" 1740 // StatusReasonUserRequested ... 1741 StatusReasonUserRequested StatusReason = "UserRequested" 1742) 1743 1744// PossibleStatusReasonValues returns an array of possible values for the StatusReason const type. 1745func PossibleStatusReasonValues() []StatusReason { 1746 return []StatusReason{StatusReasonExpired, StatusReasonNewerRequestInitiated, StatusReasonUserRequested} 1747} 1748 1749// SubAssessmentStatusCode enumerates the values for sub assessment status code. 1750type SubAssessmentStatusCode string 1751 1752const ( 1753 // SubAssessmentStatusCodeHealthy The resource is healthy 1754 SubAssessmentStatusCodeHealthy SubAssessmentStatusCode = "Healthy" 1755 // SubAssessmentStatusCodeNotApplicable Assessment for this resource did not happen 1756 SubAssessmentStatusCodeNotApplicable SubAssessmentStatusCode = "NotApplicable" 1757 // SubAssessmentStatusCodeUnhealthy The resource has a security issue that needs to be addressed 1758 SubAssessmentStatusCodeUnhealthy SubAssessmentStatusCode = "Unhealthy" 1759) 1760 1761// PossibleSubAssessmentStatusCodeValues returns an array of possible values for the SubAssessmentStatusCode const type. 1762func PossibleSubAssessmentStatusCodeValues() []SubAssessmentStatusCode { 1763 return []SubAssessmentStatusCode{SubAssessmentStatusCodeHealthy, SubAssessmentStatusCodeNotApplicable, SubAssessmentStatusCodeUnhealthy} 1764} 1765 1766// Threats enumerates the values for threats. 1767type Threats string 1768 1769const ( 1770 // AccountBreach ... 1771 AccountBreach Threats = "accountBreach" 1772 // DataExfiltration ... 1773 DataExfiltration Threats = "dataExfiltration" 1774 // DataSpillage ... 1775 DataSpillage Threats = "dataSpillage" 1776 // DenialOfService ... 1777 DenialOfService Threats = "denialOfService" 1778 // ElevationOfPrivilege ... 1779 ElevationOfPrivilege Threats = "elevationOfPrivilege" 1780 // MaliciousInsider ... 1781 MaliciousInsider Threats = "maliciousInsider" 1782 // MissingCoverage ... 1783 MissingCoverage Threats = "missingCoverage" 1784 // ThreatResistance ... 1785 ThreatResistance Threats = "threatResistance" 1786) 1787 1788// PossibleThreatsValues returns an array of possible values for the Threats const type. 1789func PossibleThreatsValues() []Threats { 1790 return []Threats{AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage, ThreatResistance} 1791} 1792 1793// TiStatus enumerates the values for ti status. 1794type TiStatus string 1795 1796const ( 1797 // TiStatusFailed ... 1798 TiStatusFailed TiStatus = "Failed" 1799 // TiStatusInProgress ... 1800 TiStatusInProgress TiStatus = "InProgress" 1801 // TiStatusOk ... 1802 TiStatusOk TiStatus = "Ok" 1803 // TiStatusUpdateAvailable ... 1804 TiStatusUpdateAvailable TiStatus = "UpdateAvailable" 1805) 1806 1807// PossibleTiStatusValues returns an array of possible values for the TiStatus const type. 1808func PossibleTiStatusValues() []TiStatus { 1809 return []TiStatus{TiStatusFailed, TiStatusInProgress, TiStatusOk, TiStatusUpdateAvailable} 1810} 1811 1812// TransportProtocol enumerates the values for transport protocol. 1813type TransportProtocol string 1814 1815const ( 1816 // TransportProtocolTCP ... 1817 TransportProtocolTCP TransportProtocol = "TCP" 1818 // TransportProtocolUDP ... 1819 TransportProtocolUDP TransportProtocol = "UDP" 1820) 1821 1822// PossibleTransportProtocolValues returns an array of possible values for the TransportProtocol const type. 1823func PossibleTransportProtocolValues() []TransportProtocol { 1824 return []TransportProtocol{TransportProtocolTCP, TransportProtocolUDP} 1825} 1826 1827// Type enumerates the values for type. 1828type Type string 1829 1830const ( 1831 // BinarySignature ... 1832 BinarySignature Type = "BinarySignature" 1833 // File ... 1834 File Type = "File" 1835 // FileHash ... 1836 FileHash Type = "FileHash" 1837 // ProductSignature ... 1838 ProductSignature Type = "ProductSignature" 1839 // PublisherSignature ... 1840 PublisherSignature Type = "PublisherSignature" 1841 // VersionAndAboveSignature ... 1842 VersionAndAboveSignature Type = "VersionAndAboveSignature" 1843) 1844 1845// PossibleTypeValues returns an array of possible values for the Type const type. 1846func PossibleTypeValues() []Type { 1847 return []Type{BinarySignature, File, FileHash, ProductSignature, PublisherSignature, VersionAndAboveSignature} 1848} 1849 1850// TypeBasicResourceIdentifier enumerates the values for type basic resource identifier. 1851type TypeBasicResourceIdentifier string 1852 1853const ( 1854 // TypeAzureResource ... 1855 TypeAzureResource TypeBasicResourceIdentifier = "AzureResource" 1856 // TypeLogAnalytics ... 1857 TypeLogAnalytics TypeBasicResourceIdentifier = "LogAnalytics" 1858 // TypeResourceIdentifier ... 1859 TypeResourceIdentifier TypeBasicResourceIdentifier = "ResourceIdentifier" 1860) 1861 1862// PossibleTypeBasicResourceIdentifierValues returns an array of possible values for the TypeBasicResourceIdentifier const type. 1863func PossibleTypeBasicResourceIdentifierValues() []TypeBasicResourceIdentifier { 1864 return []TypeBasicResourceIdentifier{TypeAzureResource, TypeLogAnalytics, TypeResourceIdentifier} 1865} 1866 1867// UnmaskedIPLoggingStatus enumerates the values for unmasked ip logging status. 1868type UnmaskedIPLoggingStatus string 1869 1870const ( 1871 // UnmaskedIPLoggingStatusDisabled Unmasked IP logging is disabled 1872 UnmaskedIPLoggingStatusDisabled UnmaskedIPLoggingStatus = "Disabled" 1873 // UnmaskedIPLoggingStatusEnabled Unmasked IP logging is enabled 1874 UnmaskedIPLoggingStatusEnabled UnmaskedIPLoggingStatus = "Enabled" 1875) 1876 1877// PossibleUnmaskedIPLoggingStatusValues returns an array of possible values for the UnmaskedIPLoggingStatus const type. 1878func PossibleUnmaskedIPLoggingStatusValues() []UnmaskedIPLoggingStatus { 1879 return []UnmaskedIPLoggingStatus{UnmaskedIPLoggingStatusDisabled, UnmaskedIPLoggingStatusEnabled} 1880} 1881 1882// UserImpact enumerates the values for user impact. 1883type UserImpact string 1884 1885const ( 1886 // UserImpactHigh ... 1887 UserImpactHigh UserImpact = "High" 1888 // UserImpactLow ... 1889 UserImpactLow UserImpact = "Low" 1890 // UserImpactModerate ... 1891 UserImpactModerate UserImpact = "Moderate" 1892) 1893 1894// PossibleUserImpactValues returns an array of possible values for the UserImpact const type. 1895func PossibleUserImpactValues() []UserImpact { 1896 return []UserImpact{UserImpactHigh, UserImpactLow, UserImpactModerate} 1897} 1898 1899// ValueType enumerates the values for value type. 1900type ValueType string 1901 1902const ( 1903 // ValueTypeIPCidr An IP range in CIDR format (e.g. '192.168.0.1/8'). 1904 ValueTypeIPCidr ValueType = "IpCidr" 1905 // ValueTypeString Any string value. 1906 ValueTypeString ValueType = "String" 1907) 1908 1909// PossibleValueTypeValues returns an array of possible values for the ValueType const type. 1910func PossibleValueTypeValues() []ValueType { 1911 return []ValueType{ValueTypeIPCidr, ValueTypeString} 1912} 1913 1914// VersionKind enumerates the values for version kind. 1915type VersionKind string 1916 1917const ( 1918 // Latest ... 1919 Latest VersionKind = "Latest" 1920 // Preview ... 1921 Preview VersionKind = "Preview" 1922 // Previous ... 1923 Previous VersionKind = "Previous" 1924) 1925 1926// PossibleVersionKindValues returns an array of possible values for the VersionKind const type. 1927func PossibleVersionKindValues() []VersionKind { 1928 return []VersionKind{Latest, Preview, Previous} 1929} 1930