Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Generated from ca1fbd115689f2f0caa6116bb5a0f0fdcd32f590
Fix spell check errors
  • Loading branch information
AutorestCI committed Jul 14, 2019
commit 4cade70d949a3716bf42a5550a6d84f1abd63d68
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
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 .azure_advanced_threat_protection_data_connector_py3 import AzureAdvancedThreatProtectionDataConnector
from .microsoft_defender_advanced_threat_protection_data_connector_py3 import MicrosoftDefenderAdvancedThreatProtectionDataConnector
from .data_connector_with_alerts_properties_py3 import DataConnectorWithAlertsProperties
from .data_connector_data_type_common_py3 import DataConnectorDataTypeCommon
from .entity_py3 import Entity
Expand Down Expand Up @@ -90,8 +90,8 @@
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 .azure_advanced_threat_protection_data_connector import AzureAdvancedThreatProtectionDataConnector
from .microsoft_defender_advanced_threat_protection_data_connector import MicrosoftDefenderAdvancedThreatProtectionDataConnector
from .data_connector_with_alerts_properties import DataConnectorWithAlertsProperties
from .data_connector_data_type_common import DataConnectorDataTypeCommon
from .entity import Entity
Expand Down Expand Up @@ -167,8 +167,8 @@
'MCASDataConnectorDataTypesDiscoveryLogs',
'MCASDataConnectorDataTypes',
'MCASDataConnector',
'AATPDataConnector',
'MDATPDataConnector',
'AzureAdvancedThreatProtectionDataConnector',
'MicrosoftDefenderAdvancedThreatProtectionDataConnector',
'DataConnectorWithAlertsProperties',
'DataConnectorDataTypeCommon',
'Entity',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from .data_connector import DataConnector


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

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -55,7 +55,7 @@ class AATPDataConnector(DataConnector):
}

def __init__(self, **kwargs):
super(AATPDataConnector, self).__init__(**kwargs)
super(AzureAdvancedThreatProtectionDataConnector, 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
Expand Up @@ -12,8 +12,8 @@
from .data_connector_py3 import DataConnector


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

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -55,7 +55,7 @@ class AATPDataConnector(DataConnector):
}

def __init__(self, *, etag: str=None, tenant_id: str=None, data_types=None, **kwargs) -> None:
super(AATPDataConnector, self).__init__(etag=etag, **kwargs)
super(AzureAdvancedThreatProtectionDataConnector, self).__init__(etag=etag, **kwargs)
self.tenant_id = tenant_id
self.data_types = data_types
self.kind = 'AzureAdvancedThreatProtection'
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class DataConnector(Model):
You probably want to use the sub-classes and not this class directly. Known
sub-classes are: OfficeDataConnector, TIDataConnector,
AwsCloudTrailDataConnector, AADDataConnector, ASCDataConnector,
MCASDataConnector, AATPDataConnector, MDATPDataConnector
MCASDataConnector, AzureAdvancedThreatProtectionDataConnector,
MicrosoftDefenderAdvancedThreatProtectionDataConnector

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -53,7 +54,7 @@ class DataConnector(Model):
}

_subtype_map = {
'kind': {'Office365': 'OfficeDataConnector', 'ThreatIntelligence': 'TIDataConnector', 'AmazonWebServicesCloudTrail': 'AwsCloudTrailDataConnector', 'AzureActiveDirectory': 'AADDataConnector', 'AzureSecurityCenter': 'ASCDataConnector', 'MicrosoftCloudAppSecurity': 'MCASDataConnector', 'AzureAdvancedThreatProtection': 'AATPDataConnector', 'MicrosoftDefenderAdvancedThreatProtection': 'MDATPDataConnector'}
'kind': {'Office365': 'OfficeDataConnector', 'ThreatIntelligence': 'TIDataConnector', 'AmazonWebServicesCloudTrail': 'AwsCloudTrailDataConnector', 'AzureActiveDirectory': 'AADDataConnector', 'AzureSecurityCenter': 'ASCDataConnector', 'MicrosoftCloudAppSecurity': 'MCASDataConnector', 'AzureAdvancedThreatProtection': 'AzureAdvancedThreatProtectionDataConnector', 'MicrosoftDefenderAdvancedThreatProtection': 'MicrosoftDefenderAdvancedThreatProtectionDataConnector'}
}

def __init__(self, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class DataConnector(Model):
You probably want to use the sub-classes and not this class directly. Known
sub-classes are: OfficeDataConnector, TIDataConnector,
AwsCloudTrailDataConnector, AADDataConnector, ASCDataConnector,
MCASDataConnector, AATPDataConnector, MDATPDataConnector
MCASDataConnector, AzureAdvancedThreatProtectionDataConnector,
MicrosoftDefenderAdvancedThreatProtectionDataConnector

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -53,7 +54,7 @@ class DataConnector(Model):
}

_subtype_map = {
'kind': {'Office365': 'OfficeDataConnector', 'ThreatIntelligence': 'TIDataConnector', 'AmazonWebServicesCloudTrail': 'AwsCloudTrailDataConnector', 'AzureActiveDirectory': 'AADDataConnector', 'AzureSecurityCenter': 'ASCDataConnector', 'MicrosoftCloudAppSecurity': 'MCASDataConnector', 'AzureAdvancedThreatProtection': 'AATPDataConnector', 'MicrosoftDefenderAdvancedThreatProtection': 'MDATPDataConnector'}
'kind': {'Office365': 'OfficeDataConnector', 'ThreatIntelligence': 'TIDataConnector', 'AmazonWebServicesCloudTrail': 'AwsCloudTrailDataConnector', 'AzureActiveDirectory': 'AADDataConnector', 'AzureSecurityCenter': 'ASCDataConnector', 'MicrosoftCloudAppSecurity': 'MCASDataConnector', 'AzureAdvancedThreatProtection': 'AzureAdvancedThreatProtectionDataConnector', 'MicrosoftDefenderAdvancedThreatProtection': 'MicrosoftDefenderAdvancedThreatProtectionDataConnector'}
}

def __init__(self, *, etag: str=None, **kwargs) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
from .data_connector import DataConnector


class MDATPDataConnector(DataConnector):
"""Represents MDATP (Microsoft Defender Advanced Threat Protection) data
connector.
class MicrosoftDefenderAdvancedThreatProtectionDataConnector(DataConnector):
"""Represents Microsoft Defender Advanced Threat Protection data connector.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -56,7 +55,7 @@ class MDATPDataConnector(DataConnector):
}

def __init__(self, **kwargs):
super(MDATPDataConnector, self).__init__(**kwargs)
super(MicrosoftDefenderAdvancedThreatProtectionDataConnector, self).__init__(**kwargs)
self.tenant_id = kwargs.get('tenant_id', None)
self.data_types = kwargs.get('data_types', None)
self.kind = 'MicrosoftDefenderAdvancedThreatProtection'
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
from .data_connector_py3 import DataConnector


class MDATPDataConnector(DataConnector):
"""Represents MDATP (Microsoft Defender Advanced Threat Protection) data
connector.
class MicrosoftDefenderAdvancedThreatProtectionDataConnector(DataConnector):
"""Represents Microsoft Defender Advanced Threat Protection data connector.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -56,7 +55,7 @@ class MDATPDataConnector(DataConnector):
}

def __init__(self, *, etag: str=None, tenant_id: str=None, data_types=None, **kwargs) -> None:
super(MDATPDataConnector, self).__init__(etag=etag, **kwargs)
super(MicrosoftDefenderAdvancedThreatProtectionDataConnector, self).__init__(etag=etag, **kwargs)
self.tenant_id = tenant_id
self.data_types = data_types
self.kind = 'MicrosoftDefenderAdvancedThreatProtection'