Skip to main content

Microsoft Azure Security Center Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Security Center Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Usage

To learn how to use this package, see the quickstart guide

For docs and references, see Python SDK References Code samples for this package can be found at Security Center Management on docs.microsoft.com. Additional code samples for different Azure services are available at Samples Repo

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Impressions

Release History

3.0.0 (2022-11-17)

Features Added

  • Model DefenderFoDatabasesAwsOffering has a new parameter rds

Breaking Changes

  • Model DefenderFoDatabasesAwsOfferingArcAutoProvisioning no longer has parameter service_principal_secret_metadata
  • Model DefenderForDatabasesGcpOfferingArcAutoProvisioning no longer has parameter configuration
  • Model DefenderForServersAwsOfferingArcAutoProvisioning no longer has parameter service_principal_secret_metadata
  • Model DefenderForServersGcpOfferingArcAutoProvisioning no longer has parameter configuration

2.0.0 (2022-09-28)

Features Added

  • Added operation AlertsOperations.begin_simulate
  • Added operation AlertsOperations.get_resource_group_level
  • Added operation AlertsOperations.get_subscription_level
  • Added operation AlertsOperations.list_resource_group_level_by_region
  • Added operation AlertsOperations.list_subscription_level_by_region
  • Added operation AlertsOperations.update_resource_group_level_state_to_activate
  • Added operation AlertsOperations.update_resource_group_level_state_to_dismiss
  • Added operation AlertsOperations.update_resource_group_level_state_to_in_progress
  • Added operation AlertsOperations.update_subscription_level_state_to_activate
  • Added operation AlertsOperations.update_subscription_level_state_to_dismiss
  • Added operation AlertsOperations.update_subscription_level_state_to_in_progress
  • Added operation group ApplicationOperations
  • Added operation group ApplicationsOperations
  • Added operation group CustomAssessmentAutomationsOperations
  • Added operation group CustomEntityStoreAssignmentsOperations
  • Added operation group GovernanceAssignmentsOperations
  • Added operation group GovernanceRuleOperations
  • Added operation group GovernanceRulesOperations
  • Added operation group IngestionSettingsOperations
  • Added operation group MdeOnboardingsOperations
  • Added operation group SecurityConnectorApplicationOperations
  • Added operation group SecurityConnectorApplicationsOperations
  • Added operation group SecurityConnectorGovernanceRuleOperations
  • Added operation group SecurityConnectorGovernanceRulesExecuteStatusOperations
  • Added operation group SecurityConnectorGovernanceRulesOperations
  • Added operation group SecurityConnectorsOperations
  • Added operation group SoftwareInventoriesOperations
  • Added operation group SubscriptionGovernanceRulesExecuteStatusOperations
  • Model Alert has a new parameter sub_techniques
  • Model Alert has a new parameter supporting_evidence
  • Model Alert has a new parameter techniques
  • Model Alert has a new parameter version
  • Model IoTSecuritySolutionModel has a new parameter additional_workspaces
  • Model IoTSecuritySolutionModel has a new parameter system_data
  • Model Pricing has a new parameter deprecated
  • Model Pricing has a new parameter replaced_by
  • Model Pricing has a new parameter sub_plan
  • Model SecurityAssessmentMetadata has a new parameter categories
  • Model SecurityAssessmentMetadataProperties has a new parameter categories

Breaking Changes

  • Model SecurityAssessmentMetadata no longer has parameter category
  • Model SecurityAssessmentMetadataProperties no longer has parameter category
  • Operation AdaptiveApplicationControlsOperations.delete has a new parameter asc_location
  • Operation AdaptiveApplicationControlsOperations.get has a new parameter asc_location
  • Operation AdaptiveApplicationControlsOperations.put has a new parameter asc_location
  • Operation AlertsOperations.update_resource_group_level_state_to_resolve has a new parameter asc_location
  • Operation AlertsOperations.update_subscription_level_state_to_resolve has a new parameter asc_location
  • Operation AllowedConnectionsOperations.get has a new parameter asc_location
  • Operation AllowedConnectionsOperations.list_by_home_region has a new parameter asc_location
  • Operation DiscoveredSecuritySolutionsOperations.get has a new parameter asc_location
  • Operation DiscoveredSecuritySolutionsOperations.list_by_home_region has a new parameter asc_location
  • Operation ExternalSecuritySolutionsOperations.get has a new parameter asc_location
  • Operation ExternalSecuritySolutionsOperations.list_by_home_region has a new parameter asc_location
  • Operation JitNetworkAccessPoliciesOperations.create_or_update has a new parameter asc_location
  • Operation JitNetworkAccessPoliciesOperations.delete has a new parameter asc_location
  • Operation JitNetworkAccessPoliciesOperations.get has a new parameter asc_location
  • Operation JitNetworkAccessPoliciesOperations.initiate has a new parameter asc_location
  • Operation JitNetworkAccessPoliciesOperations.list_by_region has a new parameter asc_location
  • Operation JitNetworkAccessPoliciesOperations.list_by_resource_group_and_region has a new parameter asc_location
  • Operation LocationsOperations.get has a new parameter asc_location
  • Operation SecuritySolutionsOperations.get has a new parameter asc_location
  • Operation SecuritySolutionsReferenceDataOperations.list_by_home_region has a new parameter asc_location
  • Operation TasksOperations.get_resource_group_level_task has a new parameter asc_location
  • Operation TasksOperations.get_subscription_level_task has a new parameter asc_location
  • Operation TasksOperations.list_by_home_region has a new parameter asc_location
  • Operation TasksOperations.list_by_resource_group has a new parameter asc_location
  • Operation TasksOperations.update_resource_group_level_task_state has a new parameter asc_location
  • Operation TasksOperations.update_subscription_level_task_state has a new parameter asc_location
  • Operation TopologyOperations.get has a new parameter asc_location
  • Operation TopologyOperations.list_by_home_region has a new parameter asc_location
  • Removed operation AlertsOperations.get_resource_group_level_alerts
  • Removed operation AlertsOperations.get_subscription_level_alert
  • Removed operation AlertsOperations.list_resource_group_level_alerts_by_region
  • Removed operation AlertsOperations.list_subscription_level_alerts_by_region
  • Removed operation AlertsOperations.update_resource_group_level_alert_state_to_dismiss
  • Removed operation AlertsOperations.update_resource_group_level_alert_state_to_reactivate
  • Removed operation AlertsOperations.update_subscription_level_alert_state_to_dismiss
  • Removed operation AlertsOperations.update_subscription_level_alert_state_to_reactivate
  • Removed operation group DeviceOperations
  • Removed operation group DevicesForHubOperations
  • Removed operation group DevicesForSubscriptionOperations
  • Removed operation group IotAlertTypesOperations
  • Removed operation group IotAlertsOperations
  • Removed operation group IotDefenderSettingsOperations
  • Removed operation group IotRecommendationTypesOperations
  • Removed operation group IotRecommendationsOperations
  • Removed operation group IotSensorsOperations
  • Removed operation group IotSitesOperations
  • Removed operation group OnPremiseIotSensorsOperations
  • Renamed operation ServerVulnerabilityAssessmentOperations.delete to ServerVulnerabilityAssessmentOperations.begin_delete

2.0.0b1 (2021-08-10)

Features

  • Model SecurityAssessmentMetadata has a new parameter categories
  • Model SecurityAssessmentMetadataProperties has a new parameter categories
  • Model IoTSecuritySolutionModel has a new parameter system_data
  • Model IoTSecuritySolutionModel has a new parameter additional_workspaces
  • Added operation ServerVulnerabilityAssessmentOperations.begin_delete
  • Added operation AlertsOperations.list_resource_group_level_by_region
  • Added operation AlertsOperations.get_resource_group_level
  • Added operation AlertsOperations.update_subscription_level_state_to_dismiss
  • Added operation AlertsOperations.update_resource_group_level_state_to_dismiss
  • Added operation AlertsOperations.update_resource_group_level_state_to_activate
  • Added operation AlertsOperations.get_subscription_level
  • Added operation AlertsOperations.update_subscription_level_state_to_activate
  • Added operation AlertsOperations.list_subscription_level_by_region
  • Added operation AlertsOperations.begin_simulate
  • Added operation group IngestionSettingsOperations
  • Added operation group SoftwareInventoriesOperations

Breaking changes

  • Model SecurityAssessmentMetadata no longer has parameter category
  • Model SecurityAssessmentMetadataProperties no longer has parameter category
  • Removed operation ServerVulnerabilityAssessmentOperations.delete
  • Removed operation AlertsOperations.update_resource_group_level_alert_state_to_reactivate
  • Removed operation AlertsOperations.get_resource_group_level_alerts
  • Removed operation AlertsOperations.update_subscription_level_alert_state_to_dismiss
  • Removed operation AlertsOperations.get_subscription_level_alert
  • Removed operation AlertsOperations.update_resource_group_level_alert_state_to_dismiss
  • Removed operation AlertsOperations.list_subscription_level_alerts_by_region
  • Removed operation AlertsOperations.update_subscription_level_alert_state_to_reactivate
  • Removed operation AlertsOperations.list_resource_group_level_alerts_by_region
  • Removed operation group OnPremiseIotSensorsOperations
  • Removed operation group IotRecommendationsOperations
  • Removed operation group IotSensorsOperations
  • Removed operation group DeviceOperations
  • Removed operation group IotRecommendationTypesOperations
  • Removed operation group DevicesForHubOperations
  • Removed operation group IotDefenderSettingsOperations
  • Removed operation group DevicesForSubscriptionOperations
  • Removed operation group IotSitesOperations
  • Removed operation group IotAlertTypesOperations
  • Removed operation group IotAlertsOperations

1.0.0 (2020-12-15)

Bugfixes

  • Fix unreasonable boolean enumeration type

1.0.0b1 (2020-11-02)

This is beta preview version.

This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).

General breaking changes

  • Credential system has been completly revamped:

    • azure.common.credentials or msrestazure.azure_active_directory instances are no longer supported, use the azure-identity classes instead: https://pypi.org/project/azure-identity/
    • credentials parameter has been renamed credential
  • The config attribute no longer exists on a client, configuration should be passed as kwarg. Example: MyClient(credential, subscription_id, enable_logging=True). For a complete set of supported options, see the parameters accept in init documentation of azure-core

  • You can't import a version module anymore, use __version__ instead

  • Operations that used to return a msrest.polling.LROPoller now returns a azure.core.polling.LROPoller and are prefixed with begin_.

  • Exceptions tree have been simplified and most exceptions are now azure.core.exceptions.HttpResponseError (CloudError has been removed).

  • Most of the operation kwarg have changed. Some of the most noticeable:

General new features

  • Type annotations support using typing. SDKs are mypy ready.
  • This client has now stable and official support for async. Check the aio namespace of your package to find the async client.
  • This client now support natively tracing library like OpenCensus or OpenTelemetry. See this tracing quickstart for an overview.

0.5.0 (2020-10-29)

Features

  • Model SecureScoreControlDetails has a new parameter weight
  • Model SecureScoreControlDetails has a new parameter percentage
  • Model SecureScoreItem has a new parameter weight
  • Model SecureScoreItem has a new parameter percentage
  • Model SecureScoreControlScore has a new parameter percentage
  • Added operation AlertsOperations.get_resource_group_level
  • Added operation AlertsOperations.get_subscription_level
  • Added operation AlertsOperations.update_resource_group_level_state_to_resolve
  • Added operation AlertsOperations.list_subscription_level_by_region
  • Added operation AlertsOperations.list_resource_group_level_by_region
  • Added operation AlertsOperations.update_subscription_level_state_to_resolve
  • Added operation AlertsOperations.update_subscription_level_state_to_dismiss
  • Added operation AlertsOperations.update_resource_group_level_state_to_dismiss
  • Added operation AlertsOperations.update_subscription_level_state_to_activate
  • Added operation AlertsOperations.update_resource_group_level_state_to_activate
  • Added operation group IotRecommendationTypesOperations
  • Added operation group ConnectorsOperations
  • Added operation group DeviceOperations
  • Added operation group DevicesForSubscriptionOperations
  • Added operation group IotDefenderSettingsOperations
  • Added operation group IotAlertsOperations
  • Added operation group DevicesForHubOperations
  • Added operation group IotSensorsOperations
  • Added operation group IotRecommendationsOperations
  • Added operation group SecuritySolutionsOperations
  • Added operation group SecuritySolutionsReferenceDataOperations
  • Added operation group OnPremiseIotSensorsOperations
  • Added operation group IotAlertTypesOperations

Breaking changes

  • Model Alert has a new signature
  • Removed operation AlertsOperations.list_subscription_level_alerts_by_region
  • Removed operation AlertsOperations.update_resource_group_level_alert_state_to_dismiss
  • Removed operation AlertsOperations.get_resource_group_level_alerts
  • Removed operation AlertsOperations.update_subscription_level_alert_state_to_reactivate
  • Removed operation AlertsOperations.get_subscription_level_alert
  • Removed operation AlertsOperations.list_resource_group_level_alerts_by_region
  • Removed operation AlertsOperations.update_resource_group_level_alert_state_to_reactivate
  • Removed operation AlertsOperations.update_subscription_level_alert_state_to_dismiss

0.4.1 (2020-06-12)

Bugfixes

  • skip url-encoding for resource id

0.4.0 (2020-06-05)

Features

  • Model IoTSecuritySolutionModel has a new parameter unmasked_ip_logging_status
  • Model InformationProtectionPolicy has a new parameter version
  • Model JitNetworkAccessRequest has a new parameter justification
  • Model SensitivityLabel has a new parameter description
  • Model SensitivityLabel has a new parameter rank
  • Model InformationType has a new parameter description
  • Model AppWhitelistingGroup has a new parameter protection_mode
  • Model JitNetworkAccessPolicyInitiateRequest has a new parameter justification
  • Model VmRecommendation has a new parameter enforcement_support
  • Model IoTSecurityAggregatedAlert has a new parameter top_devices_list
  • Added operation AdaptiveApplicationControlsOperations.delete
  • Added operation AlertsOperations.update_resource_group_level_alert_state_to_dismiss
  • Added operation AlertsOperations.update_subscription_level_alert_state_to_dismiss
  • Added operation AlertsOperations.update_subscription_level_alert_state_to_reactivate
  • Added operation AlertsOperations.update_resource_group_level_alert_state_to_reactivate
  • Added operation IotSecuritySolutionOperations.list_by_subscription
  • Added operation IotSecuritySolutionOperations.list_by_resource_group
  • Added operation IotSecuritySolutionOperations.create_or_update
  • Added operation group SecureScoreControlDefinitionsOperations
  • Added operation group AssessmentsMetadataOperations
  • Added operation group SecureScoreControlsOperations
  • Added operation group AlertsSuppressionRulesOperations
  • Added operation group IotSecuritySolutionsAnalyticsAggregatedAlertOperations
  • Added operation group SubAssessmentsOperations
  • Added operation group AutomationsOperations
  • Added operation group IotSecuritySolutionsAnalyticsRecommendationOperations
  • Added operation group SecureScoresOperations
  • Added operation group IotSecuritySolutionAnalyticsOperations
  • Added operation group AdaptiveNetworkHardeningsOperations
  • Added operation group AssessmentsOperations
  • Added operation group DeviceSecurityGroupsOperations

Breaking changes

  • Operation SettingsOperations.update has a new signature
  • Operation AlertsOperations.list has a new signature
  • Operation AlertsOperations.list_by_resource_group has a new signature
  • Operation AlertsOperations.list_resource_group_level_alerts_by_region has a new signature
  • Operation AlertsOperations.list_subscription_level_alerts_by_region has a new signature
  • Operation JitNetworkAccessPoliciesOperations.initiate has a new signature
  • Operation InformationProtectionPoliciesOperations.create_or_update has a new signature
  • Removed operation AlertsOperations.update_resource_group_level_alert_state
  • Removed operation AlertsOperations.update_subscription_level_alert_state
  • Removed operation IotSecuritySolutionOperations.create
  • Removed operation group IoTSecuritySolutionsResourceGroupOperations
  • Removed operation group IoTSecuritySolutionsAnalyticsRecommendationsOperations
  • Removed operation group IoTSecuritySolutionsAnalyticsRecommendationOperations
  • Removed operation group IoTSecuritySolutionsOperations
  • Removed operation group IoTSecuritySolutionsAnalyticsAggregatedAlertsOperations
  • Removed operation group IoTSecuritySolutionsAnalyticsAggregatedAlertOperations
  • Removed operation group IoTSecuritySolutionsAnalyticsOperations

0.3.0 (2019-08-01)

Features

  • Model JitNetworkAccessPolicyVirtualMachine has a new parameter public_ip_address
  • Model JitNetworkAccessRequestPort has a new parameter mapped_port
  • Added operation group RegulatoryComplianceControlsOperations
  • Added operation group ComplianceResultsOperations
  • Added operation group ServerVulnerabilityAssessmentOperations
  • Added operation group IoTSecuritySolutionsResourceGroupOperations
  • Added operation group AdaptiveApplicationControlsOperations
  • Added operation group IoTSecuritySolutionsOperations
  • Added operation group IotSecuritySolutionOperations
  • Added operation group RegulatoryComplianceStandardsOperations
  • Added operation group IoTSecuritySolutionsAnalyticsOperations
  • Added operation group IoTSecuritySolutionsAnalyticsAggregatedAlertOperations
  • Added operation group IoTSecuritySolutionsAnalyticsRecommendationsOperations
  • Added operation group RegulatoryComplianceAssessmentsOperations
  • Added operation group IoTSecuritySolutionsAnalyticsRecommendationOperations
  • Added operation group IoTSecuritySolutionsAnalyticsAggregatedAlertsOperations

General breaking changes

This version uses a next-generation code generator that might introduce breaking changes if from some import. In summary, some modules were incorrectly visible/importable and have been renamed. This fixed several issues caused by usage of classes that were not supposed to be used in the first place.

  • SecurityCenter cannot be imported from azure.mgmt.security.security_center anymore (import from azure.mgmt.security works like before)
  • SecurityCenterConfiguration import has been moved from azure.mgmt.security.security_center to azure.mgmt.security
  • A model MyClass from a "models" sub-module cannot be imported anymore using azure.mgmt.security.models.my_class (import from azure.mgmt.security.models works like before)
  • An operation class MyClassOperations from an operations sub-module cannot be imported anymore using azure.mgmt.security.operations.my_class_operations (import from azure.mgmt.security.operations works like before)

Last but not least, HTTP connection pooling is now enabled by default. You should always use a client as a context manager, or call close(), or use no more than one client per process.

0.2.0 (2019-04-16)

Features

  • Model Pricing has a new parameter free_trial_remaining_time
  • Model Alert has a new parameter is_incident
  • Added operation PricingsOperations.get
  • Added operation PricingsOperations.update
  • Added operation group AllowedConnectionsOperations

Breaking changes

  • Operation SettingsOperations.update has a new signature
  • Removed operation PricingsOperations.update_subscription_pricing
  • Removed operation PricingsOperations.list_by_resource_group
  • Removed operation PricingsOperations.create_or_update_resource_group_pricing
  • Removed operation PricingsOperations.get_resource_group_pricing
  • Removed operation PricingsOperations.get_subscription_pricing

0.1.0 (2018-10-29)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-security-3.0.0.zip (996.9 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_security-3.0.0-py3-none-any.whl (941.6 kB view details)

Uploaded Python 3

File details

Details for the file azure-mgmt-security-3.0.0.zip.

File metadata

  • Download URL: azure-mgmt-security-3.0.0.zip
  • Upload date:
  • Size: 996.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.1 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.15

File hashes

Hashes for azure-mgmt-security-3.0.0.zip
Algorithm Hash digest
SHA256 bcba7cef857f6b02a2d98afeb07f9871b1628fa33d8861ab1387e732e7db3f84
MD5 aad6641a06c59439f8e03809cd5d2bc7
BLAKE2b-256 a5e75242104430b1b8337e7c2e91a09981985c4eab6dca663ddaafd6118a0a16

See more details on using hashes here.

Provenance

File details

Details for the file azure_mgmt_security-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: azure_mgmt_security-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 941.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.1 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.15

File hashes

Hashes for azure_mgmt_security-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b14a236383effdc5e3135b394b7883a183fcc9cdde01b735b2aae227b42e2e9
MD5 1f60e776973eef5179f6cdb726eb159f
BLAKE2b-256 438f2c09c46690e6168cd2ffa68fd92901700d86156ffc64e59fbdb22f9320c9

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page