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 @@ -18,6 +18,7 @@
from .action_py3 import Action
from .user_info_py3 import UserInfo
from .case_py3 import Case
from .case_comment_py3 import CaseComment
from .bookmark_py3 import Bookmark
from .data_connector_py3 import DataConnector
from .data_connector_kind1_py3 import DataConnectorKind1
Expand All @@ -36,14 +37,39 @@
from .alerts_data_type_of_data_connector_py3 import AlertsDataTypeOfDataConnector
from .aad_data_connector_py3 import AADDataConnector
from .asc_data_connector_py3 import ASCDataConnector
from .mcas_data_connector_data_types_discovery_logs_py3 import MCASDataConnectorDataTypesDiscoveryLogs
from .mcas_data_connector_data_types_py3 import MCASDataConnectorDataTypes
from .mcas_data_connector_py3 import MCASDataConnector
from .aatp_data_connector_py3 import AATPDataConnector
from .mdatp_data_connector_py3 import MDATPDataConnector
from .data_connector_with_alerts_properties_py3 import DataConnectorWithAlertsProperties
from .data_connector_data_type_common_py3 import DataConnectorDataTypeCommon
from .entity_py3 import Entity
from .entity_kind1_py3 import EntityKind1
from .entity_common_properties_py3 import EntityCommonProperties
from .account_entity_py3 import AccountEntity
from .host_entity_py3 import HostEntity
from .file_entity_py3 import FileEntity
from .security_alert_properties_confidence_reasons_item_py3 import SecurityAlertPropertiesConfidenceReasonsItem
from .security_alert_py3 import SecurityAlert
from .file_hash_entity_py3 import FileHashEntity
from .malware_entity_py3 import MalwareEntity
from .security_group_entity_py3 import SecurityGroupEntity
from .azure_resource_entity_py3 import AzureResourceEntity
from .cloud_application_entity_py3 import CloudApplicationEntity
from .process_entity_py3 import ProcessEntity
from .dns_entity_py3 import DnsEntity
from .geo_location_py3 import GeoLocation
from .threat_intelligence_py3 import ThreatIntelligence
from .ip_entity_py3 import IpEntity
from .registry_key_entity_py3 import RegistryKeyEntity
from .registry_value_entity_py3 import RegistryValueEntity
from .url_entity_py3 import UrlEntity
from .entity_expand_parameters_py3 import EntityExpandParameters
from .entity_expand_response_value_py3 import EntityExpandResponseValue
from .expansion_result_aggregation_py3 import ExpansionResultAggregation
from .expansion_results_metadata_py3 import ExpansionResultsMetadata
from .entity_expand_response_py3 import EntityExpandResponse
from .office_consent_py3 import OfficeConsent
from .resource_py3 import Resource
from .settings_py3 import Settings
Expand All @@ -65,6 +91,7 @@
from .action import Action
from .user_info import UserInfo
from .case import Case
from .case_comment import CaseComment
from .bookmark import Bookmark
from .data_connector import DataConnector
from .data_connector_kind1 import DataConnectorKind1
Expand All @@ -83,14 +110,39 @@
from .alerts_data_type_of_data_connector import AlertsDataTypeOfDataConnector
from .aad_data_connector import AADDataConnector
from .asc_data_connector import ASCDataConnector
from .mcas_data_connector_data_types_discovery_logs import MCASDataConnectorDataTypesDiscoveryLogs
from .mcas_data_connector_data_types import MCASDataConnectorDataTypes
from .mcas_data_connector import MCASDataConnector
from .aatp_data_connector import AATPDataConnector
from .mdatp_data_connector import MDATPDataConnector
from .data_connector_with_alerts_properties import DataConnectorWithAlertsProperties
from .data_connector_data_type_common import DataConnectorDataTypeCommon
from .entity import Entity
from .entity_kind1 import EntityKind1
from .entity_common_properties import EntityCommonProperties
from .account_entity import AccountEntity
from .host_entity import HostEntity
from .file_entity import FileEntity
from .security_alert_properties_confidence_reasons_item import SecurityAlertPropertiesConfidenceReasonsItem
from .security_alert import SecurityAlert
from .file_hash_entity import FileHashEntity
from .malware_entity import MalwareEntity
from .security_group_entity import SecurityGroupEntity
from .azure_resource_entity import AzureResourceEntity
from .cloud_application_entity import CloudApplicationEntity
from .process_entity import ProcessEntity
from .dns_entity import DnsEntity
from .geo_location import GeoLocation
from .threat_intelligence import ThreatIntelligence
from .ip_entity import IpEntity
from .registry_key_entity import RegistryKeyEntity
from .registry_value_entity import RegistryValueEntity
from .url_entity import UrlEntity
from .entity_expand_parameters import EntityExpandParameters
from .entity_expand_response_value import EntityExpandResponseValue
from .expansion_result_aggregation import ExpansionResultAggregation
from .expansion_results_metadata import ExpansionResultsMetadata
from .entity_expand_response import EntityExpandResponse
from .office_consent import OfficeConsent
from .resource import Resource
from .settings import Settings
Expand All @@ -107,6 +159,7 @@
from .alert_rule_paged import AlertRulePaged
from .action_paged import ActionPaged
from .case_paged import CasePaged
from .case_comment_paged import CaseCommentPaged
from .bookmark_paged import BookmarkPaged
from .data_connector_paged import DataConnectorPaged
from .entity_paged import EntityPaged
Expand All @@ -123,10 +176,19 @@
DataTypeState,
EntityKind,
OSFamily,
ConfidenceScoreStatus,
KillChainIntent,
ConfidenceLevel,
AlertStatus,
FileHashAlgorithm,
ElevationToken,
RegistryHive,
RegistryValueKind,
SettingKind,
StatusInMcas,
LicenseStatus,
AggregationsKind,
EntityType,
)

__all__ = [
Expand All @@ -138,6 +200,7 @@
'Action',
'UserInfo',
'Case',
'CaseComment',
'Bookmark',
'DataConnector',
'DataConnectorKind1',
Expand All @@ -156,14 +219,39 @@
'AlertsDataTypeOfDataConnector',
'AADDataConnector',
'ASCDataConnector',
'MCASDataConnectorDataTypesDiscoveryLogs',
'MCASDataConnectorDataTypes',
'MCASDataConnector',
'AATPDataConnector',
'MDATPDataConnector',
'DataConnectorWithAlertsProperties',
'DataConnectorDataTypeCommon',
'Entity',
'EntityKind1',
'EntityCommonProperties',
'AccountEntity',
'HostEntity',
'FileEntity',
'SecurityAlertPropertiesConfidenceReasonsItem',
'SecurityAlert',
'FileHashEntity',
'MalwareEntity',
'SecurityGroupEntity',
'AzureResourceEntity',
'CloudApplicationEntity',
'ProcessEntity',
'DnsEntity',
'GeoLocation',
'ThreatIntelligence',
'IpEntity',
'RegistryKeyEntity',
'RegistryValueEntity',
'UrlEntity',
'EntityExpandParameters',
'EntityExpandResponseValue',
'ExpansionResultAggregation',
'ExpansionResultsMetadata',
'EntityExpandResponse',
'OfficeConsent',
'Resource',
'Settings',
Expand All @@ -180,6 +268,7 @@
'AlertRulePaged',
'ActionPaged',
'CasePaged',
'CaseCommentPaged',
'BookmarkPaged',
'DataConnectorPaged',
'EntityPaged',
Expand All @@ -195,8 +284,17 @@
'DataTypeState',
'EntityKind',
'OSFamily',
'ConfidenceScoreStatus',
'KillChainIntent',
'ConfidenceLevel',
'AlertStatus',
'FileHashAlgorithm',
'ElevationToken',
'RegistryHive',
'RegistryValueKind',
'SettingKind',
'StatusInMcas',
'LicenseStatus',
'AggregationsKind',
'EntityType',
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# 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 .data_connector import DataConnector


class AATPDataConnector(DataConnector):
"""Represents AATP (Azure Advanced Threat Protection) data connector.

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

All required parameters must be populated in order to send to Azure.

:ivar id: Azure resource Id
:vartype id: str
:ivar type: Azure resource type
:vartype type: str
:ivar name: Azure resource name
:vartype name: str
:param etag: Etag of the data connector.
:type etag: str
:param kind: Required. Constant filled by server.
:type kind: str
:param tenant_id: The tenant id to connect to, and get the data from.
:type tenant_id: str
:param data_types: The available data types for the connector.
:type data_types:
~azure.mgmt.securityinsight.models.AlertsDataTypeOfDataConnector
"""

_validation = {
'id': {'readonly': True},
'type': {'readonly': True},
'name': {'readonly': True},
'kind': {'required': True},
}

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'tenant_id': {'key': 'properties.tenantId', 'type': 'str'},
'data_types': {'key': 'properties.dataTypes', 'type': 'AlertsDataTypeOfDataConnector'},
}

def __init__(self, **kwargs):
super(AATPDataConnector, self).__init__(**kwargs)
self.tenant_id = kwargs.get('tenant_id', None)
self.data_types = kwargs.get('data_types', None)
self.kind = 'AzureAdvancedThreatProtection'
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# 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 .data_connector_py3 import DataConnector


class AATPDataConnector(DataConnector):
"""Represents AATP (Azure Advanced Threat Protection) data connector.

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

All required parameters must be populated in order to send to Azure.

:ivar id: Azure resource Id
:vartype id: str
:ivar type: Azure resource type
:vartype type: str
:ivar name: Azure resource name
:vartype name: str
:param etag: Etag of the data connector.
:type etag: str
:param kind: Required. Constant filled by server.
:type kind: str
:param tenant_id: The tenant id to connect to, and get the data from.
:type tenant_id: str
:param data_types: The available data types for the connector.
:type data_types:
~azure.mgmt.securityinsight.models.AlertsDataTypeOfDataConnector
"""

_validation = {
'id': {'readonly': True},
'type': {'readonly': True},
'name': {'readonly': True},
'kind': {'required': True},
}

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'tenant_id': {'key': 'properties.tenantId', 'type': 'str'},
'data_types': {'key': 'properties.dataTypes', 'type': 'AlertsDataTypeOfDataConnector'},
}

def __init__(self, *, etag: str=None, tenant_id: str=None, data_types=None, **kwargs) -> None:
super(AATPDataConnector, self).__init__(etag=etag, **kwargs)
self.tenant_id = tenant_id
self.data_types = data_types
self.kind = 'AzureAdvancedThreatProtection'
Loading