Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] securityinsights/resource-manager #5428

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
248 changes: 228 additions & 20 deletions profiles/preview/preview/securityinsight/mgmt/securityinsight/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ const (
Medium AlertSeverity = original.Medium
)

type AlertStatus = original.AlertStatus

const (
AlertStatusDismissed AlertStatus = original.AlertStatusDismissed
AlertStatusInProgress AlertStatus = original.AlertStatusInProgress
AlertStatusNew AlertStatus = original.AlertStatusNew
AlertStatusResolved AlertStatus = original.AlertStatusResolved
AlertStatusUnknown AlertStatus = original.AlertStatusUnknown
)

type CaseSeverity = original.CaseSeverity

const (
Expand Down Expand Up @@ -77,15 +87,34 @@ const (
Resolved CloseReason = original.Resolved
)

type ConfidenceLevel = original.ConfidenceLevel

const (
ConfidenceLevelHigh ConfidenceLevel = original.ConfidenceLevelHigh
ConfidenceLevelLow ConfidenceLevel = original.ConfidenceLevelLow
ConfidenceLevelUnknown ConfidenceLevel = original.ConfidenceLevelUnknown
)

type ConfidenceScoreStatus = original.ConfidenceScoreStatus

const (
Final ConfidenceScoreStatus = original.Final
InProcess ConfidenceScoreStatus = original.InProcess
NotApplicable ConfidenceScoreStatus = original.NotApplicable
NotFinal ConfidenceScoreStatus = original.NotFinal
)

type DataConnectorKind = original.DataConnectorKind

const (
AmazonWebServicesCloudTrail DataConnectorKind = original.AmazonWebServicesCloudTrail
AzureActiveDirectory DataConnectorKind = original.AzureActiveDirectory
AzureSecurityCenter DataConnectorKind = original.AzureSecurityCenter
MicrosoftCloudAppSecurity DataConnectorKind = original.MicrosoftCloudAppSecurity
Office365 DataConnectorKind = original.Office365
ThreatIntelligence DataConnectorKind = original.ThreatIntelligence
DataConnectorKindAmazonWebServicesCloudTrail DataConnectorKind = original.DataConnectorKindAmazonWebServicesCloudTrail
DataConnectorKindAzureActiveDirectory DataConnectorKind = original.DataConnectorKindAzureActiveDirectory
DataConnectorKindAzureAdvancedThreatProtection DataConnectorKind = original.DataConnectorKindAzureAdvancedThreatProtection
DataConnectorKindAzureSecurityCenter DataConnectorKind = original.DataConnectorKindAzureSecurityCenter
DataConnectorKindMicrosoftCloudAppSecurity DataConnectorKind = original.DataConnectorKindMicrosoftCloudAppSecurity
DataConnectorKindMicrosoftDefenderAdvancedThreatProtection DataConnectorKind = original.DataConnectorKindMicrosoftDefenderAdvancedThreatProtection
DataConnectorKindOffice365 DataConnectorKind = original.DataConnectorKindOffice365
DataConnectorKindThreatIntelligence DataConnectorKind = original.DataConnectorKindThreatIntelligence
)

type DataTypeState = original.DataTypeState
Expand All @@ -95,12 +124,83 @@ const (
Enabled DataTypeState = original.Enabled
)

type ElevationToken = original.ElevationToken

const (
Default ElevationToken = original.Default
Full ElevationToken = original.Full
Limited ElevationToken = original.Limited
)

type EntityKind = original.EntityKind

const (
Account EntityKind = original.Account
File EntityKind = original.File
Host EntityKind = original.Host
EntityKindAccount EntityKind = original.EntityKindAccount
EntityKindAzureResource EntityKind = original.EntityKindAzureResource
EntityKindBookmark EntityKind = original.EntityKindBookmark
EntityKindCloudApplication EntityKind = original.EntityKindCloudApplication
EntityKindDNSResolution EntityKind = original.EntityKindDNSResolution
EntityKindFile EntityKind = original.EntityKindFile
EntityKindFileHash EntityKind = original.EntityKindFileHash
EntityKindHost EntityKind = original.EntityKindHost
EntityKindIP EntityKind = original.EntityKindIP
EntityKindMalware EntityKind = original.EntityKindMalware
EntityKindProcess EntityKind = original.EntityKindProcess
EntityKindRegistryKey EntityKind = original.EntityKindRegistryKey
EntityKindRegistryValue EntityKind = original.EntityKindRegistryValue
EntityKindSecurityAlert EntityKind = original.EntityKindSecurityAlert
EntityKindSecurityGroup EntityKind = original.EntityKindSecurityGroup
EntityKindURL EntityKind = original.EntityKindURL
)

type EntityType = original.EntityType

const (
EntityTypeAccount EntityType = original.EntityTypeAccount
EntityTypeAzureResource EntityType = original.EntityTypeAzureResource
EntityTypeCloudApplication EntityType = original.EntityTypeCloudApplication
EntityTypeDNS EntityType = original.EntityTypeDNS
EntityTypeFile EntityType = original.EntityTypeFile
EntityTypeFileHash EntityType = original.EntityTypeFileHash
EntityTypeHost EntityType = original.EntityTypeHost
EntityTypeHuntingBookmark EntityType = original.EntityTypeHuntingBookmark
EntityTypeIP EntityType = original.EntityTypeIP
EntityTypeMalware EntityType = original.EntityTypeMalware
EntityTypeProcess EntityType = original.EntityTypeProcess
EntityTypeRegistryKey EntityType = original.EntityTypeRegistryKey
EntityTypeRegistryValue EntityType = original.EntityTypeRegistryValue
EntityTypeSecurityAlert EntityType = original.EntityTypeSecurityAlert
EntityTypeSecurityGroup EntityType = original.EntityTypeSecurityGroup
EntityTypeURL EntityType = original.EntityTypeURL
)

type FileHashAlgorithm = original.FileHashAlgorithm

const (
MD5 FileHashAlgorithm = original.MD5
SHA1 FileHashAlgorithm = original.SHA1
SHA256 FileHashAlgorithm = original.SHA256
SHA256AC FileHashAlgorithm = original.SHA256AC
Unknown FileHashAlgorithm = original.Unknown
)

type KillChainIntent = original.KillChainIntent

const (
KillChainIntentCollection KillChainIntent = original.KillChainIntentCollection
KillChainIntentCommandAndControl KillChainIntent = original.KillChainIntentCommandAndControl
KillChainIntentCredentialAccess KillChainIntent = original.KillChainIntentCredentialAccess
KillChainIntentDefenseEvasion KillChainIntent = original.KillChainIntentDefenseEvasion
KillChainIntentDiscovery KillChainIntent = original.KillChainIntentDiscovery
KillChainIntentExecution KillChainIntent = original.KillChainIntentExecution
KillChainIntentExfiltration KillChainIntent = original.KillChainIntentExfiltration
KillChainIntentExploitation KillChainIntent = original.KillChainIntentExploitation
KillChainIntentImpact KillChainIntent = original.KillChainIntentImpact
KillChainIntentLateralMovement KillChainIntent = original.KillChainIntentLateralMovement
KillChainIntentPersistence KillChainIntent = original.KillChainIntentPersistence
KillChainIntentPrivilegeEscalation KillChainIntent = original.KillChainIntentPrivilegeEscalation
KillChainIntentProbing KillChainIntent = original.KillChainIntentProbing
KillChainIntentUnknown KillChainIntent = original.KillChainIntentUnknown
)

type Kind = original.Kind
Expand All @@ -120,22 +220,36 @@ const (
type KindBasicDataConnector = original.KindBasicDataConnector

const (
KindAmazonWebServicesCloudTrail KindBasicDataConnector = original.KindAmazonWebServicesCloudTrail
KindAzureActiveDirectory KindBasicDataConnector = original.KindAzureActiveDirectory
KindAzureSecurityCenter KindBasicDataConnector = original.KindAzureSecurityCenter
KindDataConnector KindBasicDataConnector = original.KindDataConnector
KindMicrosoftCloudAppSecurity KindBasicDataConnector = original.KindMicrosoftCloudAppSecurity
KindOffice365 KindBasicDataConnector = original.KindOffice365
KindThreatIntelligence KindBasicDataConnector = original.KindThreatIntelligence
KindAmazonWebServicesCloudTrail KindBasicDataConnector = original.KindAmazonWebServicesCloudTrail
KindAzureActiveDirectory KindBasicDataConnector = original.KindAzureActiveDirectory
KindAzureAdvancedThreatProtection KindBasicDataConnector = original.KindAzureAdvancedThreatProtection
KindAzureSecurityCenter KindBasicDataConnector = original.KindAzureSecurityCenter
KindDataConnector KindBasicDataConnector = original.KindDataConnector
KindMicrosoftCloudAppSecurity KindBasicDataConnector = original.KindMicrosoftCloudAppSecurity
KindMicrosoftDefenderAdvancedThreatProtection KindBasicDataConnector = original.KindMicrosoftDefenderAdvancedThreatProtection
KindOffice365 KindBasicDataConnector = original.KindOffice365
KindThreatIntelligence KindBasicDataConnector = original.KindThreatIntelligence
)

type KindBasicEntity = original.KindBasicEntity

const (
KindAccount KindBasicEntity = original.KindAccount
KindEntity KindBasicEntity = original.KindEntity
KindFile KindBasicEntity = original.KindFile
KindHost KindBasicEntity = original.KindHost
KindAccount KindBasicEntity = original.KindAccount
KindAzureResource KindBasicEntity = original.KindAzureResource
KindCloudApplication KindBasicEntity = original.KindCloudApplication
KindDNSResolution KindBasicEntity = original.KindDNSResolution
KindEntity KindBasicEntity = original.KindEntity
KindFile KindBasicEntity = original.KindFile
KindFileHash KindBasicEntity = original.KindFileHash
KindHost KindBasicEntity = original.KindHost
KindIP KindBasicEntity = original.KindIP
KindMalware KindBasicEntity = original.KindMalware
KindProcess KindBasicEntity = original.KindProcess
KindRegistryKey KindBasicEntity = original.KindRegistryKey
KindRegistryValue KindBasicEntity = original.KindRegistryValue
KindSecurityAlert KindBasicEntity = original.KindSecurityAlert
KindSecurityGroup KindBasicEntity = original.KindSecurityGroup
KindURL KindBasicEntity = original.KindURL
)

type KindBasicSettings = original.KindBasicSettings
Expand All @@ -162,6 +276,34 @@ const (
Windows OSFamily = original.Windows
)

type RegistryHive = original.RegistryHive

const (
HKEYA RegistryHive = original.HKEYA
HKEYCLASSESROOT RegistryHive = original.HKEYCLASSESROOT
HKEYCURRENTCONFIG RegistryHive = original.HKEYCURRENTCONFIG
HKEYCURRENTUSER RegistryHive = original.HKEYCURRENTUSER
HKEYCURRENTUSERLOCALSETTINGS RegistryHive = original.HKEYCURRENTUSERLOCALSETTINGS
HKEYLOCALMACHINE RegistryHive = original.HKEYLOCALMACHINE
HKEYPERFORMANCEDATA RegistryHive = original.HKEYPERFORMANCEDATA
HKEYPERFORMANCENLSTEXT RegistryHive = original.HKEYPERFORMANCENLSTEXT
HKEYPERFORMANCETEXT RegistryHive = original.HKEYPERFORMANCETEXT
HKEYUSERS RegistryHive = original.HKEYUSERS
)

type RegistryValueKind = original.RegistryValueKind

const (
RegistryValueKindBinary RegistryValueKind = original.RegistryValueKindBinary
RegistryValueKindDWord RegistryValueKind = original.RegistryValueKindDWord
RegistryValueKindExpandString RegistryValueKind = original.RegistryValueKindExpandString
RegistryValueKindMultiString RegistryValueKind = original.RegistryValueKindMultiString
RegistryValueKindNone RegistryValueKind = original.RegistryValueKindNone
RegistryValueKindQWord RegistryValueKind = original.RegistryValueKindQWord
RegistryValueKindString RegistryValueKind = original.RegistryValueKindString
RegistryValueKindUnknown RegistryValueKind = original.RegistryValueKindUnknown
)

type SettingKind = original.SettingKind

const (
Expand All @@ -187,6 +329,8 @@ const (

type AADDataConnector = original.AADDataConnector
type AADDataConnectorProperties = original.AADDataConnectorProperties
type AATPDataConnector = original.AATPDataConnector
type AATPDataConnectorProperties = original.AATPDataConnectorProperties
type ASCDataConnector = original.ASCDataConnector
type ASCDataConnectorProperties = original.ASCDataConnectorProperties
type AccountEntity = original.AccountEntity
Expand All @@ -213,6 +357,8 @@ type AwsCloudTrailDataConnector = original.AwsCloudTrailDataConnector
type AwsCloudTrailDataConnectorDataTypes = original.AwsCloudTrailDataConnectorDataTypes
type AwsCloudTrailDataConnectorDataTypesLogs = original.AwsCloudTrailDataConnectorDataTypesLogs
type AwsCloudTrailDataConnectorProperties = original.AwsCloudTrailDataConnectorProperties
type AzureResourceEntity = original.AzureResourceEntity
type AzureResourceEntityProperties = original.AzureResourceEntityProperties
type BaseClient = original.BaseClient
type BasicAggregations = original.BasicAggregations
type BasicAlertRule = original.BasicAlertRule
Expand All @@ -236,8 +382,12 @@ type CasesAggregationByStatusProperties = original.CasesAggregationByStatusPrope
type CasesAggregationProperties = original.CasesAggregationProperties
type CasesAggregationsClient = original.CasesAggregationsClient
type CasesClient = original.CasesClient
type CloudApplicationEntity = original.CloudApplicationEntity
type CloudApplicationEntityProperties = original.CloudApplicationEntityProperties
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type DNSEntity = original.DNSEntity
type DNSEntityProperties = original.DNSEntityProperties
type DataConnector = original.DataConnector
type DataConnectorDataTypeCommon = original.DataConnectorDataTypeCommon
type DataConnectorKind1 = original.DataConnectorKind1
Expand All @@ -250,6 +400,10 @@ type DataConnectorWithAlertsProperties = original.DataConnectorWithAlertsPropert
type DataConnectorsClient = original.DataConnectorsClient
type EntitiesClient = original.EntitiesClient
type Entity = original.Entity
type EntityCommonProperties = original.EntityCommonProperties
type EntityExpandParameters = original.EntityExpandParameters
type EntityExpandResponse = original.EntityExpandResponse
type EntityExpandResponseValue = original.EntityExpandResponseValue
type EntityKind1 = original.EntityKind1
type EntityList = original.EntityList
type EntityListIterator = original.EntityListIterator
Expand All @@ -261,12 +415,25 @@ type EntityQueryList = original.EntityQueryList
type EntityQueryListIterator = original.EntityQueryListIterator
type EntityQueryListPage = original.EntityQueryListPage
type EntityQueryProperties = original.EntityQueryProperties
type ExpansionResultAggregation = original.ExpansionResultAggregation
type ExpansionResultsMetadata = original.ExpansionResultsMetadata
type FileEntity = original.FileEntity
type FileEntityProperties = original.FileEntityProperties
type FileHashEntity = original.FileHashEntity
type FileHashEntityProperties = original.FileHashEntityProperties
type GeoLocation = original.GeoLocation
type HostEntity = original.HostEntity
type HostEntityProperties = original.HostEntityProperties
type IPEntity = original.IPEntity
type IPEntityProperties = original.IPEntityProperties
type MCASDataConnector = original.MCASDataConnector
type MCASDataConnectorDataTypes = original.MCASDataConnectorDataTypes
type MCASDataConnectorDataTypesDiscoveryLogs = original.MCASDataConnectorDataTypesDiscoveryLogs
type MCASDataConnectorProperties = original.MCASDataConnectorProperties
type MDATPDataConnector = original.MDATPDataConnector
type MDATPDataConnectorProperties = original.MDATPDataConnectorProperties
type MalwareEntity = original.MalwareEntity
type MalwareEntityProperties = original.MalwareEntityProperties
type OfficeConsent = original.OfficeConsent
type OfficeConsentList = original.OfficeConsentList
type OfficeConsentListIterator = original.OfficeConsentListIterator
Expand All @@ -284,19 +451,33 @@ type OperationsClient = original.OperationsClient
type OperationsList = original.OperationsList
type OperationsListIterator = original.OperationsListIterator
type OperationsListPage = original.OperationsListPage
type ProcessEntity = original.ProcessEntity
type ProcessEntityProperties = original.ProcessEntityProperties
type ProductSettingsClient = original.ProductSettingsClient
type RegistryKeyEntity = original.RegistryKeyEntity
type RegistryKeyEntityProperties = original.RegistryKeyEntityProperties
type RegistryValueEntity = original.RegistryValueEntity
type RegistryValueEntityProperties = original.RegistryValueEntityProperties
type Resource = original.Resource
type ScheduledAlertRule = original.ScheduledAlertRule
type ScheduledAlertRuleProperties = original.ScheduledAlertRuleProperties
type SecurityAlert = original.SecurityAlert
type SecurityAlertProperties = original.SecurityAlertProperties
type SecurityAlertPropertiesConfidenceReasonsItem = original.SecurityAlertPropertiesConfidenceReasonsItem
type SecurityGroupEntity = original.SecurityGroupEntity
type SecurityGroupEntityProperties = original.SecurityGroupEntityProperties
type Settings = original.Settings
type SettingsKind = original.SettingsKind
type SettingsModel = original.SettingsModel
type TIDataConnector = original.TIDataConnector
type TIDataConnectorDataTypes = original.TIDataConnectorDataTypes
type TIDataConnectorDataTypesIndicators = original.TIDataConnectorDataTypesIndicators
type TIDataConnectorProperties = original.TIDataConnectorProperties
type ThreatIntelligence = original.ThreatIntelligence
type ToggleSettings = original.ToggleSettings
type ToggleSettingsProperties = original.ToggleSettingsProperties
type URLEntity = original.URLEntity
type URLEntityProperties = original.URLEntityProperties
type UebaSettings = original.UebaSettings
type UebaSettingsProperties = original.UebaSettingsProperties
type UserInfo = original.UserInfo
Expand Down Expand Up @@ -436,6 +617,9 @@ func PossibleAlertRuleKindValues() []AlertRuleKind {
func PossibleAlertSeverityValues() []AlertSeverity {
return original.PossibleAlertSeverityValues()
}
func PossibleAlertStatusValues() []AlertStatus {
return original.PossibleAlertStatusValues()
}
func PossibleCaseSeverityValues() []CaseSeverity {
return original.PossibleCaseSeverityValues()
}
Expand All @@ -445,15 +629,33 @@ func PossibleCaseStatusValues() []CaseStatus {
func PossibleCloseReasonValues() []CloseReason {
return original.PossibleCloseReasonValues()
}
func PossibleConfidenceLevelValues() []ConfidenceLevel {
return original.PossibleConfidenceLevelValues()
}
func PossibleConfidenceScoreStatusValues() []ConfidenceScoreStatus {
return original.PossibleConfidenceScoreStatusValues()
}
func PossibleDataConnectorKindValues() []DataConnectorKind {
return original.PossibleDataConnectorKindValues()
}
func PossibleDataTypeStateValues() []DataTypeState {
return original.PossibleDataTypeStateValues()
}
func PossibleElevationTokenValues() []ElevationToken {
return original.PossibleElevationTokenValues()
}
func PossibleEntityKindValues() []EntityKind {
return original.PossibleEntityKindValues()
}
func PossibleEntityTypeValues() []EntityType {
return original.PossibleEntityTypeValues()
}
func PossibleFileHashAlgorithmValues() []FileHashAlgorithm {
return original.PossibleFileHashAlgorithmValues()
}
func PossibleKillChainIntentValues() []KillChainIntent {
return original.PossibleKillChainIntentValues()
}
func PossibleKindBasicAggregationsValues() []KindBasicAggregations {
return original.PossibleKindBasicAggregationsValues()
}
Expand All @@ -475,6 +677,12 @@ func PossibleLicenseStatusValues() []LicenseStatus {
func PossibleOSFamilyValues() []OSFamily {
return original.PossibleOSFamilyValues()
}
func PossibleRegistryHiveValues() []RegistryHive {
return original.PossibleRegistryHiveValues()
}
func PossibleRegistryValueKindValues() []RegistryValueKind {
return original.PossibleRegistryValueKindValues()
}
func PossibleSettingKindValues() []SettingKind {
return original.PossibleSettingKindValues()
}
Expand Down
Loading