diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityCustomEntityQuery.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityCustomEntityQuery.cs index 90d755c93950..82af8ba5e902 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityCustomEntityQuery.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityCustomEntityQuery.cs @@ -56,7 +56,7 @@ public ActivityCustomEntityQuery() /// 'Malware', 'Process', 'RegistryKey', 'RegistryValue', /// 'SecurityGroup', 'URL', 'IoTDevice', 'SecurityAlert', /// 'HuntingBookmark', 'MailCluster', 'MailMessage', 'Mailbox', - /// 'SubmissionMail' + /// 'SubmissionMail', 'Nic' /// List of the fields of the /// source entity that are required to run the query /// The query applied only to entities @@ -121,7 +121,7 @@ public ActivityCustomEntityQuery() /// 'CloudApplication', 'DNS', 'FileHash', 'IP', 'Malware', 'Process', /// 'RegistryKey', 'RegistryValue', 'SecurityGroup', 'URL', /// 'IoTDevice', 'SecurityAlert', 'HuntingBookmark', 'MailCluster', - /// 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailMessage', 'Mailbox', 'SubmissionMail', 'Nic' /// [JsonProperty(PropertyName = "properties.inputEntityType")] public string InputEntityType { get; set; } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityEntityQuery.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityEntityQuery.cs index de83406d7424..63629813d2f3 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityEntityQuery.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityEntityQuery.cs @@ -56,7 +56,7 @@ public ActivityEntityQuery() /// 'Malware', 'Process', 'RegistryKey', 'RegistryValue', /// 'SecurityGroup', 'URL', 'IoTDevice', 'SecurityAlert', /// 'HuntingBookmark', 'MailCluster', 'MailMessage', 'Mailbox', - /// 'SubmissionMail' + /// 'SubmissionMail', 'Nic' /// List of the fields of the /// source entity that are required to run the query /// The query applied only to entities @@ -121,7 +121,7 @@ public ActivityEntityQuery() /// 'CloudApplication', 'DNS', 'FileHash', 'IP', 'Malware', 'Process', /// 'RegistryKey', 'RegistryValue', 'SecurityGroup', 'URL', /// 'IoTDevice', 'SecurityAlert', 'HuntingBookmark', 'MailCluster', - /// 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailMessage', 'Mailbox', 'SubmissionMail', 'Nic' /// [JsonProperty(PropertyName = "properties.inputEntityType")] public string InputEntityType { get; set; } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityEntityQueryTemplate.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityEntityQueryTemplate.cs index 5c153c6a3c06..f7643158a6c0 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityEntityQueryTemplate.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ActivityEntityQueryTemplate.cs @@ -59,7 +59,7 @@ public ActivityEntityQueryTemplate() /// 'Malware', 'Process', 'RegistryKey', 'RegistryValue', /// 'SecurityGroup', 'URL', 'IoTDevice', 'SecurityAlert', /// 'HuntingBookmark', 'MailCluster', 'MailMessage', 'Mailbox', - /// 'SubmissionMail' + /// 'SubmissionMail', 'Nic' /// List of the fields of the /// source entity that are required to run the query /// The query applied only to entities @@ -120,7 +120,7 @@ public ActivityEntityQueryTemplate() /// 'CloudApplication', 'DNS', 'FileHash', 'IP', 'Malware', 'Process', /// 'RegistryKey', 'RegistryValue', 'SecurityGroup', 'URL', /// 'IoTDevice', 'SecurityAlert', 'HuntingBookmark', 'MailCluster', - /// 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailMessage', 'Mailbox', 'SubmissionMail', 'Nic' /// [JsonProperty(PropertyName = "properties.inputEntityType")] public string InputEntityType { get; set; } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/DeviceImportance.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/DeviceImportance.cs new file mode 100644 index 000000000000..0b58873656aa --- /dev/null +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/DeviceImportance.cs @@ -0,0 +1,36 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.SecurityInsights.Models +{ + + /// + /// Defines values for DeviceImportance. + /// + public static class DeviceImportance + { + /// + /// Unknown - Default value + /// + public const string Unknown = "Unknown"; + /// + /// Low + /// + public const string Low = "Low"; + /// + /// Normal + /// + public const string Normal = "Normal"; + /// + /// High + /// + public const string High = "High"; + } +} diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityAnalytics.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityAnalytics.cs index 9cd4307b7aad..4b98f6bf4493 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityAnalytics.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityAnalytics.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.SecurityInsights.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -41,12 +43,12 @@ public EntityAnalytics() /// Azure Resource Manager metadata containing /// createdBy and modifiedBy information. /// Etag of the azure resource - /// Determines whether the setting is enable or - /// disabled. - public EntityAnalytics(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), bool? isEnabled = default(bool?)) + /// The relevant entity providers that + /// are synced + public EntityAnalytics(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), IList entityProviders = default(IList)) : base(id, name, type, systemData, etag) { - IsEnabled = isEnabled; + EntityProviders = entityProviders; CustomInit(); } @@ -56,10 +58,10 @@ public EntityAnalytics() partial void CustomInit(); /// - /// Gets determines whether the setting is enable or disabled. + /// Gets or sets the relevant entity providers that are synced /// - [JsonProperty(PropertyName = "properties.isEnabled")] - public bool? IsEnabled { get; private set; } + [JsonProperty(PropertyName = "properties.entityProviders")] + public IList EntityProviders { get; set; } } } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityKind.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityKind.cs index 2547a43a7e72..10f739266189 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityKind.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityKind.cs @@ -100,5 +100,9 @@ public static class EntityKind /// Entity represents submission mail in the system. /// public const string SubmissionMail = "SubmissionMail"; + /// + /// Entity represents network interface in the system. + /// + public const string Nic = "Nic"; } } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityProviders.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityProviders.cs new file mode 100644 index 000000000000..56b3cb933866 --- /dev/null +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityProviders.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.SecurityInsights.Models +{ + + /// + /// Defines values for EntityProviders. + /// + public static class EntityProviders + { + public const string ActiveDirectory = "ActiveDirectory"; + public const string AzureActiveDirectory = "AzureActiveDirectory"; + } +} diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityQueryItemProperties.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityQueryItemProperties.cs index 50be53c5ad32..a798a04209c8 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityQueryItemProperties.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityQueryItemProperties.cs @@ -37,7 +37,7 @@ public EntityQueryItemProperties() /// 'CloudApplication', 'DNS', 'FileHash', 'IP', 'Malware', 'Process', /// 'RegistryKey', 'RegistryValue', 'SecurityGroup', 'URL', /// 'IoTDevice', 'SecurityAlert', 'HuntingBookmark', 'MailCluster', - /// 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailMessage', 'Mailbox', 'SubmissionMail', 'Nic' /// Data types for /// template /// The query applied only to entities @@ -68,7 +68,7 @@ public EntityQueryItemProperties() /// 'DNS', 'FileHash', 'IP', 'Malware', 'Process', 'RegistryKey', /// 'RegistryValue', 'SecurityGroup', 'URL', 'IoTDevice', /// 'SecurityAlert', 'HuntingBookmark', 'MailCluster', 'MailMessage', - /// 'Mailbox', 'SubmissionMail' + /// 'Mailbox', 'SubmissionMail', 'Nic' /// [JsonProperty(PropertyName = "inputEntityType")] public string InputEntityType { get; set; } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityType.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityType.cs index 0a6dc63eb8a1..c4237b5aa576 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityType.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/EntityType.cs @@ -100,5 +100,9 @@ public static class EntityType /// Entity represents submission mail in the system. /// public const string SubmissionMail = "SubmissionMail"; + /// + /// Entity represents network interface in the system. + /// + public const string Nic = "Nic"; } } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ExpansionEntityQuery.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ExpansionEntityQuery.cs index 19b310286fbd..115db4112f2d 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ExpansionEntityQuery.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ExpansionEntityQuery.cs @@ -53,7 +53,7 @@ public ExpansionEntityQuery() /// 'Malware', 'Process', 'RegistryKey', 'RegistryValue', /// 'SecurityGroup', 'URL', 'IoTDevice', 'SecurityAlert', /// 'HuntingBookmark', 'MailCluster', 'MailMessage', 'Mailbox', - /// 'SubmissionMail' + /// 'SubmissionMail', 'Nic' /// List of the fields of the source entity /// that are required to run the query /// List of the desired output types to @@ -96,7 +96,7 @@ public ExpansionEntityQuery() /// 'CloudApplication', 'DNS', 'FileHash', 'IP', 'Malware', 'Process', /// 'RegistryKey', 'RegistryValue', 'SecurityGroup', 'URL', /// 'IoTDevice', 'SecurityAlert', 'HuntingBookmark', 'MailCluster', - /// 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailMessage', 'Mailbox', 'SubmissionMail', 'Nic' /// [JsonProperty(PropertyName = "properties.inputEntityType")] public string InputEntityType { get; set; } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ExpansionResultAggregation.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ExpansionResultAggregation.cs index dbc96904e981..5ad8b6a68ab9 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ExpansionResultAggregation.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ExpansionResultAggregation.cs @@ -37,7 +37,8 @@ public ExpansionResultAggregation() /// 'AzureResource', 'CloudApplication', 'DnsResolution', 'FileHash', /// 'Ip', 'Malware', 'Process', 'RegistryKey', 'RegistryValue', /// 'SecurityGroup', 'Url', 'IoTDevice', 'SecurityAlert', 'Bookmark', - /// 'MailCluster', 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailCluster', 'MailMessage', 'Mailbox', 'SubmissionMail', + /// 'Nic' /// The common type of the aggregation. /// (for e.g. entity field name) /// The display name of the aggregation by @@ -82,7 +83,7 @@ public ExpansionResultAggregation() /// 'CloudApplication', 'DnsResolution', 'FileHash', 'Ip', 'Malware', /// 'Process', 'RegistryKey', 'RegistryValue', 'SecurityGroup', 'Url', /// 'IoTDevice', 'SecurityAlert', 'Bookmark', 'MailCluster', - /// 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailMessage', 'Mailbox', 'SubmissionMail', 'Nic' /// [JsonProperty(PropertyName = "entityKind")] public string EntityKind { get; set; } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IncidentEntitiesResultsMetadata.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IncidentEntitiesResultsMetadata.cs index 4731429847eb..347c44efe4d0 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IncidentEntitiesResultsMetadata.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IncidentEntitiesResultsMetadata.cs @@ -40,7 +40,8 @@ public IncidentEntitiesResultsMetadata() /// 'AzureResource', 'CloudApplication', 'DnsResolution', 'FileHash', /// 'Ip', 'Malware', 'Process', 'RegistryKey', 'RegistryValue', /// 'SecurityGroup', 'Url', 'IoTDevice', 'SecurityAlert', 'Bookmark', - /// 'MailCluster', 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailCluster', 'MailMessage', 'Mailbox', 'SubmissionMail', + /// 'Nic' public IncidentEntitiesResultsMetadata(int count, string entityKind) { Count = count; @@ -66,7 +67,7 @@ public IncidentEntitiesResultsMetadata(int count, string entityKind) /// 'CloudApplication', 'DnsResolution', 'FileHash', 'Ip', 'Malware', /// 'Process', 'RegistryKey', 'RegistryValue', 'SecurityGroup', 'Url', /// 'IoTDevice', 'SecurityAlert', 'Bookmark', 'MailCluster', - /// 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailMessage', 'Mailbox', 'SubmissionMail', 'Nic' /// [JsonProperty(PropertyName = "entityKind")] public string EntityKind { get; set; } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IncidentOwnerInfo.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IncidentOwnerInfo.cs index 7f0e76a11915..cf1264ef3ea6 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IncidentOwnerInfo.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IncidentOwnerInfo.cs @@ -81,11 +81,11 @@ public IncidentOwnerInfo() public string UserPrincipalName { get; set; } /// - /// Gets the type of the owner the incident is assigned to. Possible - /// values include: 'Unknown', 'User', 'Group' + /// Gets or sets the type of the owner the incident is assigned to. + /// Possible values include: 'Unknown', 'User', 'Group' /// [JsonProperty(PropertyName = "ownerType")] - public string OwnerType { get; private set; } + public string OwnerType { get; set; } } } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/InsightQueryItemProperties.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/InsightQueryItemProperties.cs index ac1af8ad8233..ac3c42901d4b 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/InsightQueryItemProperties.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/InsightQueryItemProperties.cs @@ -37,7 +37,7 @@ public InsightQueryItemProperties() /// 'CloudApplication', 'DNS', 'FileHash', 'IP', 'Malware', 'Process', /// 'RegistryKey', 'RegistryValue', 'SecurityGroup', 'URL', /// 'IoTDevice', 'SecurityAlert', 'HuntingBookmark', 'MailCluster', - /// 'MailMessage', 'Mailbox', 'SubmissionMail' + /// 'MailMessage', 'Mailbox', 'SubmissionMail', 'Nic' /// Data types for /// template /// The query applied only to entities diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IoTDeviceEntity.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IoTDeviceEntity.cs index bf806cb66aa6..668b887befac 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IoTDeviceEntity.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/IoTDeviceEntity.cs @@ -74,7 +74,25 @@ public IoTDeviceEntity() /// the IoTDevice entity. /// A list of protocols of the IoTDevice /// entity. - public IoTDeviceEntity(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary additionalData = default(IDictionary), string friendlyName = default(string), string deviceId = default(string), string deviceName = default(string), string source = default(string), System.Guid? iotSecurityAgentId = default(System.Guid?), string deviceType = default(string), string vendor = default(string), string edgeId = default(string), string macAddress = default(string), string model = default(string), string serialNumber = default(string), string firmwareVersion = default(string), string operatingSystem = default(string), string iotHubEntityId = default(string), string hostEntityId = default(string), string ipAddressEntityId = default(string), IList threatIntelligence = default(IList), IList protocols = default(IList)) + /// A list of Nic entity ids of the + /// IoTDevice entity. + /// The site of the device + /// The zone location of the device within a + /// site + /// The sensor the device is monitored by + /// The subType of the device ('PLC', + /// 'HMI', 'EWS', etc.) + /// Device importance, determines if the + /// device classified as 'crown jewel'. Possible values include: + /// 'Unknown', 'Low', 'Normal', 'High' + /// The Purdue Layer of the device + /// Determines whether the device classified + /// as authorized device + /// Determines whether the device + /// classified as programming device + /// Is the device classified as a scanner + /// device + public IoTDeviceEntity(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary additionalData = default(IDictionary), string friendlyName = default(string), string deviceId = default(string), string deviceName = default(string), string source = default(string), System.Guid? iotSecurityAgentId = default(System.Guid?), string deviceType = default(string), string vendor = default(string), string edgeId = default(string), string macAddress = default(string), string model = default(string), string serialNumber = default(string), string firmwareVersion = default(string), string operatingSystem = default(string), string iotHubEntityId = default(string), string hostEntityId = default(string), string ipAddressEntityId = default(string), IList threatIntelligence = default(IList), IList protocols = default(IList), IList nicEntityIds = default(IList), string site = default(string), string zone = default(string), string sensor = default(string), string deviceSubType = default(string), string importance = default(string), string purdueLayer = default(string), bool? isAuthorized = default(bool?), bool? isProgramming = default(bool?), bool? isScanner = default(bool?)) : base(id, name, type, systemData) { AdditionalData = additionalData; @@ -96,6 +114,16 @@ public IoTDeviceEntity() IpAddressEntityId = ipAddressEntityId; ThreatIntelligence = threatIntelligence; Protocols = protocols; + NicEntityIds = nicEntityIds; + Site = site; + Zone = zone; + Sensor = sensor; + DeviceSubType = deviceSubType; + Importance = importance; + PurdueLayer = purdueLayer; + IsAuthorized = isAuthorized; + IsProgramming = isProgramming; + IsScanner = isScanner; CustomInit(); } @@ -221,5 +249,67 @@ public IoTDeviceEntity() [JsonProperty(PropertyName = "properties.protocols")] public IList Protocols { get; private set; } + /// + /// Gets a list of Nic entity ids of the IoTDevice entity. + /// + [JsonProperty(PropertyName = "properties.nicEntityIds")] + public IList NicEntityIds { get; private set; } + + /// + /// Gets the site of the device + /// + [JsonProperty(PropertyName = "properties.site")] + public string Site { get; private set; } + + /// + /// Gets the zone location of the device within a site + /// + [JsonProperty(PropertyName = "properties.zone")] + public string Zone { get; private set; } + + /// + /// Gets the sensor the device is monitored by + /// + [JsonProperty(PropertyName = "properties.sensor")] + public string Sensor { get; private set; } + + /// + /// Gets the subType of the device ('PLC', 'HMI', 'EWS', etc.) + /// + [JsonProperty(PropertyName = "properties.deviceSubType")] + public string DeviceSubType { get; private set; } + + /// + /// Gets or sets device importance, determines if the device classified + /// as 'crown jewel'. Possible values include: 'Unknown', 'Low', + /// 'Normal', 'High' + /// + [JsonProperty(PropertyName = "properties.importance")] + public string Importance { get; set; } + + /// + /// Gets the Purdue Layer of the device + /// + [JsonProperty(PropertyName = "properties.purdueLayer")] + public string PurdueLayer { get; private set; } + + /// + /// Gets determines whether the device classified as authorized device + /// + [JsonProperty(PropertyName = "properties.isAuthorized")] + public bool? IsAuthorized { get; private set; } + + /// + /// Gets determines whether the device classified as programming device + /// + [JsonProperty(PropertyName = "properties.isProgramming")] + public bool? IsProgramming { get; private set; } + + /// + /// Gets is the device classified as a scanner device + /// + [JsonProperty(PropertyName = "properties.isScanner")] + public bool? IsScanner { get; private set; } + } } diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/NicEntity.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/NicEntity.cs new file mode 100644 index 000000000000..078164e51848 --- /dev/null +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/NicEntity.cs @@ -0,0 +1,107 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.SecurityInsights.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Represents an network interface entity. + /// + [Newtonsoft.Json.JsonObject("Nic")] + [Rest.Serialization.JsonTransformation] + public partial class NicEntity : Entity + { + /// + /// Initializes a new instance of the NicEntity class. + /// + public NicEntity() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NicEntity class. + /// + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// The name of the resource + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// Azure Resource Manager metadata containing + /// createdBy and modifiedBy information. + /// A bag of custom fields that should be + /// part of the entity and will be presented to the user. + /// The graph item display name which is a + /// short humanly readable description of the graph item instance. This + /// property is optional and might be system generated. + /// The MAC address of this network + /// interface + /// The IP entity id of this network + /// interface + /// A list of VLANs of the network interface + /// entity. + public NicEntity(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary additionalData = default(IDictionary), string friendlyName = default(string), string macAddress = default(string), string ipAddressEntityId = default(string), IList vlans = default(IList)) + : base(id, name, type, systemData) + { + AdditionalData = additionalData; + FriendlyName = friendlyName; + MacAddress = macAddress; + IpAddressEntityId = ipAddressEntityId; + Vlans = vlans; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets a bag of custom fields that should be part of the entity and + /// will be presented to the user. + /// + [JsonProperty(PropertyName = "properties.additionalData")] + public IDictionary AdditionalData { get; private set; } + + /// + /// Gets the graph item display name which is a short humanly readable + /// description of the graph item instance. This property is optional + /// and might be system generated. + /// + [JsonProperty(PropertyName = "properties.friendlyName")] + public string FriendlyName { get; private set; } + + /// + /// Gets the MAC address of this network interface + /// + [JsonProperty(PropertyName = "properties.macAddress")] + public string MacAddress { get; private set; } + + /// + /// Gets the IP entity id of this network interface + /// + [JsonProperty(PropertyName = "properties.ipAddressEntityId")] + public string IpAddressEntityId { get; private set; } + + /// + /// Gets a list of VLANs of the network interface entity. + /// + [JsonProperty(PropertyName = "properties.vlans")] + public IList Vlans { get; private set; } + + } +} diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/WatchlistItem.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/WatchlistItem.cs index 161d2e5d31bc..520137054097 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/WatchlistItem.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/WatchlistItem.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.SecurityInsights.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -61,7 +63,7 @@ public WatchlistItem() /// item /// key-value pairs for a watchlist item /// entity mapping - public WatchlistItem(object itemsKeyValue, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), string watchlistItemType = default(string), string watchlistItemId = default(string), string tenantId = default(string), bool? isDeleted = default(bool?), System.DateTime? created = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?), UserInfo createdBy = default(UserInfo), UserInfo updatedBy = default(UserInfo), object entityMapping = default(object)) + public WatchlistItem(IDictionary itemsKeyValue, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), string watchlistItemType = default(string), string watchlistItemId = default(string), string tenantId = default(string), bool? isDeleted = default(bool?), System.DateTime? created = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?), UserInfo createdBy = default(UserInfo), UserInfo updatedBy = default(UserInfo), IDictionary entityMapping = default(IDictionary)) : base(id, name, type, systemData, etag) { WatchlistItemType = watchlistItemType; @@ -135,13 +137,13 @@ public WatchlistItem() /// Gets or sets key-value pairs for a watchlist item /// [JsonProperty(PropertyName = "properties.itemsKeyValue")] - public object ItemsKeyValue { get; set; } + public IDictionary ItemsKeyValue { get; set; } /// /// Gets or sets key-value pairs for a watchlist item entity mapping /// [JsonProperty(PropertyName = "properties.entityMapping")] - public object EntityMapping { get; set; } + public IDictionary EntityMapping { get; set; } /// /// Validate the object. diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs index 60d9df8c0677..54fbaae3f574 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs @@ -19,51 +19,40 @@ public static IEnumerable> ApiInfo_SecurityInsight { return new Tuple[] { - new Tuple("OperationalInsights", "Actions", "2022-01-01-preview"), - new Tuple("OperationalInsights", "AlertRuleTemplates", "2022-01-01-preview"), - new Tuple("OperationalInsights", "AlertRules", "2022-01-01-preview"), - new Tuple("OperationalInsights", "AutomationRules", "2022-01-01-preview"), - new Tuple("OperationalInsights", "Bookmark", "2022-01-01-preview"), - new Tuple("OperationalInsights", "BookmarkRelations", "2022-01-01-preview"), - new Tuple("OperationalInsights", "Bookmarks", "2022-01-01-preview"), - new Tuple("OperationalInsights", "DataConnectors", "2022-01-01-preview"), - new Tuple("OperationalInsights", "DataConnectorsCheckRequirements", "2022-01-01-preview"), - new Tuple("OperationalInsights", "Entities", "2022-01-01-preview"), - new Tuple("OperationalInsights", "EntitiesGetTimeline", "2022-01-01-preview"), - new Tuple("OperationalInsights", "EntitiesRelations", "2022-01-01-preview"), - new Tuple("OperationalInsights", "EntityQueries", "2022-01-01-preview"), - new Tuple("OperationalInsights", "EntityQueryTemplates", "2022-01-01-preview"), - new Tuple("OperationalInsights", "EntityRelations", "2022-01-01-preview"), - new Tuple("OperationalInsights", "IncidentComments", "2022-01-01-preview"), - new Tuple("OperationalInsights", "IncidentRelations", "2022-01-01-preview"), - new Tuple("OperationalInsights", "Incidents", "2022-01-01-preview"), - new Tuple("OperationalInsights", "Metadata", "2022-01-01-preview"), - new Tuple("OperationalInsights", "OfficeConsents", "2022-01-01-preview"), - new Tuple("OperationalInsights", "ProductSettings", "2022-01-01-preview"), - new Tuple("OperationalInsights", "SentinelOnboardingStates", "2022-01-01-preview"), - new Tuple("OperationalInsights", "SourceControl", "2022-01-01-preview"), - new Tuple("OperationalInsights", "SourceControls", "2022-01-01-preview"), - new Tuple("OperationalInsights", "ThreatIntelligenceIndicator", "2022-01-01-preview"), - new Tuple("OperationalInsights", "ThreatIntelligenceIndicatorMetrics", "2022-01-01-preview"), - new Tuple("OperationalInsights", "ThreatIntelligenceIndicators", "2022-01-01-preview"), - new Tuple("OperationalInsights", "WatchlistItems", "2022-01-01-preview"), - new Tuple("OperationalInsights", "Watchlists", "2022-01-01-preview"), - new Tuple("SecurityInsights", "DomainWhois", "2022-01-01-preview"), - new Tuple("SecurityInsights", "IPGeodata", "2022-01-01-preview"), - new Tuple("SecurityInsights", "Operations", "2022-01-01-preview"), + new Tuple("OperationalInsights", "Actions", "2022-05-01-preview"), + new Tuple("OperationalInsights", "AlertRuleTemplates", "2022-05-01-preview"), + new Tuple("OperationalInsights", "AlertRules", "2022-05-01-preview"), + new Tuple("OperationalInsights", "AutomationRules", "2022-05-01-preview"), + new Tuple("OperationalInsights", "Bookmark", "2022-05-01-preview"), + new Tuple("OperationalInsights", "BookmarkRelations", "2022-05-01-preview"), + new Tuple("OperationalInsights", "Bookmarks", "2022-05-01-preview"), + new Tuple("OperationalInsights", "DataConnectors", "2022-05-01-preview"), + new Tuple("OperationalInsights", "DataConnectorsCheckRequirements", "2022-05-01-preview"), + new Tuple("OperationalInsights", "Entities", "2022-05-01-preview"), + new Tuple("OperationalInsights", "EntitiesGetTimeline", "2022-05-01-preview"), + new Tuple("OperationalInsights", "EntitiesRelations", "2022-05-01-preview"), + new Tuple("OperationalInsights", "EntityQueries", "2022-05-01-preview"), + new Tuple("OperationalInsights", "EntityQueryTemplates", "2022-05-01-preview"), + new Tuple("OperationalInsights", "EntityRelations", "2022-05-01-preview"), + new Tuple("OperationalInsights", "IncidentComments", "2022-05-01-preview"), + new Tuple("OperationalInsights", "IncidentRelations", "2022-05-01-preview"), + new Tuple("OperationalInsights", "Incidents", "2022-05-01-preview"), + new Tuple("OperationalInsights", "Metadata", "2022-05-01-preview"), + new Tuple("OperationalInsights", "OfficeConsents", "2022-05-01-preview"), + new Tuple("OperationalInsights", "ProductSettings", "2022-05-01-preview"), + new Tuple("OperationalInsights", "SentinelOnboardingStates", "2022-05-01-preview"), + new Tuple("OperationalInsights", "SourceControl", "2022-05-01-preview"), + new Tuple("OperationalInsights", "SourceControls", "2022-05-01-preview"), + new Tuple("OperationalInsights", "ThreatIntelligenceIndicator", "2022-05-01-preview"), + new Tuple("OperationalInsights", "ThreatIntelligenceIndicatorMetrics", "2022-05-01-preview"), + new Tuple("OperationalInsights", "ThreatIntelligenceIndicators", "2022-05-01-preview"), + new Tuple("OperationalInsights", "WatchlistItems", "2022-05-01-preview"), + new Tuple("OperationalInsights", "Watchlists", "2022-05-01-preview"), + new Tuple("SecurityInsights", "DomainWhois", "2022-05-01-preview"), + new Tuple("SecurityInsights", "IPGeodata", "2022-05-01-preview"), + new Tuple("SecurityInsights", "Operations", "2022-05-01-preview"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "2.0.4421"; - public static readonly String AutoRestBootStrapperVersion = "autorest@3.5.1"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/securityinsights/resource-manager/readme.md --csharp --version=2.0.4421 --reflect-api-versions --csharp-sdks-folder=C:\\One\\azure\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "main"; - public static readonly String GithubCommidId = "96da969aa75e2beb27c3dbc2d69a76900856cc52"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SecurityInsights.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SecurityInsights.cs index 349e1e2ffd27..d55d9e752290 100644 --- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SecurityInsights.cs +++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SecurityInsights.cs @@ -509,7 +509,7 @@ private void Initialize() DataConnectorsCheckRequirements = new DataConnectorsCheckRequirementsOperations(this); Operations = new Operations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2022-01-01-preview"; + ApiVersion = "2022-05-01-preview"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true;