Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,23 @@
from .information_protection_policy_py3 import InformationProtectionPolicy
from .security_contact_py3 import SecurityContact
from .workspace_setting_py3 import WorkspaceSetting
from .tags_resource_py3 import TagsResource
from .user_defined_resources_properties_py3 import UserDefinedResourcesProperties
from .recommendation_configuration_properties_py3 import RecommendationConfigurationProperties
from .io_tsecurity_solution_model_py3 import IoTSecuritySolutionModel
from .update_iot_security_solution_data_py3 import UpdateIotSecuritySolutionData
from .io_tseverity_metrics_py3 import IoTSeverityMetrics
from .io_tsecurity_solution_analytics_model_properties_devices_metrics_item_py3 import IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem
from .io_tsecurity_alerted_device_py3 import IoTSecurityAlertedDevice
from .io_tsecurity_alerted_devices_list_py3 import IoTSecurityAlertedDevicesList
from .io_tsecurity_device_alert_py3 import IoTSecurityDeviceAlert
from .io_tsecurity_device_alerts_list_py3 import IoTSecurityDeviceAlertsList
from .io_tsecurity_device_recommendation_py3 import IoTSecurityDeviceRecommendation
from .io_tsecurity_device_recommendations_list_py3 import IoTSecurityDeviceRecommendationsList
from .io_tsecurity_solution_analytics_model_py3 import IoTSecuritySolutionAnalyticsModel
from .io_tsecurity_solution_analytics_model_list_py3 import IoTSecuritySolutionAnalyticsModelList
from .io_tsecurity_aggregated_alert_py3 import IoTSecurityAggregatedAlert
from .io_tsecurity_aggregated_recommendation_py3 import IoTSecurityAggregatedRecommendation
from .regulatory_compliance_standard_py3 import RegulatoryComplianceStandard
from .regulatory_compliance_control_py3 import RegulatoryComplianceControl
from .regulatory_compliance_assessment_py3 import RegulatoryComplianceAssessment
Expand Down Expand Up @@ -126,6 +143,23 @@
from .information_protection_policy import InformationProtectionPolicy
from .security_contact import SecurityContact
from .workspace_setting import WorkspaceSetting
from .tags_resource import TagsResource
from .user_defined_resources_properties import UserDefinedResourcesProperties
from .recommendation_configuration_properties import RecommendationConfigurationProperties
from .io_tsecurity_solution_model import IoTSecuritySolutionModel
from .update_iot_security_solution_data import UpdateIotSecuritySolutionData
from .io_tseverity_metrics import IoTSeverityMetrics
from .io_tsecurity_solution_analytics_model_properties_devices_metrics_item import IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem
from .io_tsecurity_alerted_device import IoTSecurityAlertedDevice
from .io_tsecurity_alerted_devices_list import IoTSecurityAlertedDevicesList
from .io_tsecurity_device_alert import IoTSecurityDeviceAlert
from .io_tsecurity_device_alerts_list import IoTSecurityDeviceAlertsList
from .io_tsecurity_device_recommendation import IoTSecurityDeviceRecommendation
from .io_tsecurity_device_recommendations_list import IoTSecurityDeviceRecommendationsList
from .io_tsecurity_solution_analytics_model import IoTSecuritySolutionAnalyticsModel
from .io_tsecurity_solution_analytics_model_list import IoTSecuritySolutionAnalyticsModelList
from .io_tsecurity_aggregated_alert import IoTSecurityAggregatedAlert
from .io_tsecurity_aggregated_recommendation import IoTSecurityAggregatedRecommendation
from .regulatory_compliance_standard import RegulatoryComplianceStandard
from .regulatory_compliance_control import RegulatoryComplianceControl
from .regulatory_compliance_assessment import RegulatoryComplianceAssessment
Expand All @@ -147,6 +181,9 @@
from .information_protection_policy_paged import InformationProtectionPolicyPaged
from .security_contact_paged import SecurityContactPaged
from .workspace_setting_paged import WorkspaceSettingPaged
from .io_tsecurity_solution_model_paged import IoTSecuritySolutionModelPaged
from .io_tsecurity_aggregated_alert_paged import IoTSecurityAggregatedAlertPaged
from .io_tsecurity_aggregated_recommendation_paged import IoTSecurityAggregatedRecommendationPaged
from .regulatory_compliance_standard_paged import RegulatoryComplianceStandardPaged
from .regulatory_compliance_control_paged import RegulatoryComplianceControlPaged
from .regulatory_compliance_assessment_paged import RegulatoryComplianceAssessmentPaged
Expand All @@ -164,6 +201,11 @@
AutoProvision,
AlertNotifications,
AlertsToAdmins,
SecuritySolutionStatus,
ExportData,
DataSource,
RecommendationType,
RecommendationConfigStatus,
State,
ConnectionType,
)
Expand Down Expand Up @@ -224,6 +266,23 @@
'InformationProtectionPolicy',
'SecurityContact',
'WorkspaceSetting',
'TagsResource',
'UserDefinedResourcesProperties',
'RecommendationConfigurationProperties',
'IoTSecuritySolutionModel',
'UpdateIotSecuritySolutionData',
'IoTSeverityMetrics',
'IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem',
'IoTSecurityAlertedDevice',
'IoTSecurityAlertedDevicesList',
'IoTSecurityDeviceAlert',
'IoTSecurityDeviceAlertsList',
'IoTSecurityDeviceRecommendation',
'IoTSecurityDeviceRecommendationsList',
'IoTSecuritySolutionAnalyticsModel',
'IoTSecuritySolutionAnalyticsModelList',
'IoTSecurityAggregatedAlert',
'IoTSecurityAggregatedRecommendation',
'RegulatoryComplianceStandard',
'RegulatoryComplianceControl',
'RegulatoryComplianceAssessment',
Expand All @@ -245,6 +304,9 @@
'InformationProtectionPolicyPaged',
'SecurityContactPaged',
'WorkspaceSettingPaged',
'IoTSecuritySolutionModelPaged',
'IoTSecurityAggregatedAlertPaged',
'IoTSecurityAggregatedRecommendationPaged',
'RegulatoryComplianceStandardPaged',
'RegulatoryComplianceControlPaged',
'RegulatoryComplianceAssessmentPaged',
Expand All @@ -261,6 +323,11 @@
'AutoProvision',
'AlertNotifications',
'AlertsToAdmins',
'SecuritySolutionStatus',
'ExportData',
'DataSource',
'RecommendationType',
'RecommendationConfigStatus',
'State',
'ConnectionType',
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class IoTSecurityAggregatedAlert(Model):
"""Security Solution Aggregated Alert information.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource Id
:vartype id: str
:ivar name: Resource name
:vartype name: str
:ivar type: Resource type
:vartype type: str
:param tags: Resource tags
:type tags: dict[str, str]
:ivar alert_type: Name of the alert type
:vartype alert_type: str
:ivar alert_display_name: Display name of the alert type
:vartype alert_display_name: str
:ivar aggregated_date_utc: The date the incidents were detected by the
vendor
:vartype aggregated_date_utc: date
:ivar vendor_name: Name of the vendor that discovered the incident
:vartype vendor_name: str
:ivar reported_severity: Estimated severity of this alert. Possible values
include: 'Informational', 'Low', 'Medium', 'High'
:vartype reported_severity: str or
~azure.mgmt.security.models.ReportedSeverity
:ivar remediation_steps: Recommended steps for remediation
:vartype remediation_steps: str
:ivar description: Description of the incident and what it means
:vartype description: str
:ivar count: Occurrence number of the alert within the aggregated date
:vartype count: int
:ivar effected_resource_type: Azure resource ID of the resource that got
the alerts
:vartype effected_resource_type: str
:ivar system_source: The type of the alerted resource (Azure, Non-Azure)
:vartype system_source: str
:ivar action_taken: The action that was taken as a response to the alert
(Active, Blocked etc.)
:vartype action_taken: str
:ivar log_analytics_query: query in log analytics to get the list of
affected devices/alerts
:vartype log_analytics_query: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'alert_type': {'readonly': True},
'alert_display_name': {'readonly': True},
'aggregated_date_utc': {'readonly': True},
'vendor_name': {'readonly': True},
'reported_severity': {'readonly': True},
'remediation_steps': {'readonly': True},
'description': {'readonly': True},
'count': {'readonly': True},
'effected_resource_type': {'readonly': True},
'system_source': {'readonly': True},
'action_taken': {'readonly': True},
'log_analytics_query': {'readonly': True},
}

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'alert_type': {'key': 'properties.alertType', 'type': 'str'},
'alert_display_name': {'key': 'properties.alertDisplayName', 'type': 'str'},
'aggregated_date_utc': {'key': 'properties.aggregatedDateUtc', 'type': 'date'},
'vendor_name': {'key': 'properties.vendorName', 'type': 'str'},
'reported_severity': {'key': 'properties.reportedSeverity', 'type': 'str'},
'remediation_steps': {'key': 'properties.remediationSteps', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'count': {'key': 'properties.count', 'type': 'int'},
'effected_resource_type': {'key': 'properties.effectedResourceType', 'type': 'str'},
'system_source': {'key': 'properties.systemSource', 'type': 'str'},
'action_taken': {'key': 'properties.actionTaken', 'type': 'str'},
'log_analytics_query': {'key': 'properties.logAnalyticsQuery', 'type': 'str'},
}

def __init__(self, **kwargs):
super(IoTSecurityAggregatedAlert, self).__init__(**kwargs)
self.id = None
self.name = None
self.type = None
self.tags = kwargs.get('tags', None)
self.alert_type = None
self.alert_display_name = None
self.aggregated_date_utc = None
self.vendor_name = None
self.reported_severity = None
self.remediation_steps = None
self.description = None
self.count = None
self.effected_resource_type = None
self.system_source = None
self.action_taken = None
self.log_analytics_query = None
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from msrest.paging import Paged


class IoTSecurityAggregatedAlertPaged(Paged):
"""
A paging container for iterating over a list of :class:`IoTSecurityAggregatedAlert <azure.mgmt.security.models.IoTSecurityAggregatedAlert>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[IoTSecurityAggregatedAlert]'}
}

def __init__(self, *args, **kwargs):

super(IoTSecurityAggregatedAlertPaged, self).__init__(*args, **kwargs)
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class IoTSecurityAggregatedAlert(Model):
"""Security Solution Aggregated Alert information.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource Id
:vartype id: str
:ivar name: Resource name
:vartype name: str
:ivar type: Resource type
:vartype type: str
:param tags: Resource tags
:type tags: dict[str, str]
:ivar alert_type: Name of the alert type
:vartype alert_type: str
:ivar alert_display_name: Display name of the alert type
:vartype alert_display_name: str
:ivar aggregated_date_utc: The date the incidents were detected by the
vendor
:vartype aggregated_date_utc: date
:ivar vendor_name: Name of the vendor that discovered the incident
:vartype vendor_name: str
:ivar reported_severity: Estimated severity of this alert. Possible values
include: 'Informational', 'Low', 'Medium', 'High'
:vartype reported_severity: str or
~azure.mgmt.security.models.ReportedSeverity
:ivar remediation_steps: Recommended steps for remediation
:vartype remediation_steps: str
:ivar description: Description of the incident and what it means
:vartype description: str
:ivar count: Occurrence number of the alert within the aggregated date
:vartype count: int
:ivar effected_resource_type: Azure resource ID of the resource that got
the alerts
:vartype effected_resource_type: str
:ivar system_source: The type of the alerted resource (Azure, Non-Azure)
:vartype system_source: str
:ivar action_taken: The action that was taken as a response to the alert
(Active, Blocked etc.)
:vartype action_taken: str
:ivar log_analytics_query: query in log analytics to get the list of
affected devices/alerts
:vartype log_analytics_query: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'alert_type': {'readonly': True},
'alert_display_name': {'readonly': True},
'aggregated_date_utc': {'readonly': True},
'vendor_name': {'readonly': True},
'reported_severity': {'readonly': True},
'remediation_steps': {'readonly': True},
'description': {'readonly': True},
'count': {'readonly': True},
'effected_resource_type': {'readonly': True},
'system_source': {'readonly': True},
'action_taken': {'readonly': True},
'log_analytics_query': {'readonly': True},
}

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'alert_type': {'key': 'properties.alertType', 'type': 'str'},
'alert_display_name': {'key': 'properties.alertDisplayName', 'type': 'str'},
'aggregated_date_utc': {'key': 'properties.aggregatedDateUtc', 'type': 'date'},
'vendor_name': {'key': 'properties.vendorName', 'type': 'str'},
'reported_severity': {'key': 'properties.reportedSeverity', 'type': 'str'},
'remediation_steps': {'key': 'properties.remediationSteps', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'count': {'key': 'properties.count', 'type': 'int'},
'effected_resource_type': {'key': 'properties.effectedResourceType', 'type': 'str'},
'system_source': {'key': 'properties.systemSource', 'type': 'str'},
'action_taken': {'key': 'properties.actionTaken', 'type': 'str'},
'log_analytics_query': {'key': 'properties.logAnalyticsQuery', 'type': 'str'},
}

def __init__(self, *, tags=None, **kwargs) -> None:
super(IoTSecurityAggregatedAlert, self).__init__(**kwargs)
self.id = None
self.name = None
self.type = None
self.tags = tags
self.alert_type = None
self.alert_display_name = None
self.aggregated_date_utc = None
self.vendor_name = None
self.reported_severity = None
self.remediation_steps = None
self.description = None
self.count = None
self.effected_resource_type = None
self.system_source = None
self.action_taken = None
self.log_analytics_query = None
Loading