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.

Azure Resource Manager (ARM) is the next generation of management APIs that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see azure-servicemanagement-legacy library.

For a more complete set of Azure libraries, see the azure sdk python release.

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.

image

Release History

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-1.0.0.zip (405.1 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_security-1.0.0-py2.py3-none-any.whl (391.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: azure-mgmt-security-1.0.0.zip
  • Upload date:
  • Size: 405.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for azure-mgmt-security-1.0.0.zip
Algorithm Hash digest
SHA256 ae1cff598dfe80e93406e524c55c3f2cbffced9f9b7a5577e3375008a4c3bcad
MD5 ded674adef3212ade3e6f63dc0a3b30d
BLAKE2b-256 ad4224fd912d55213fd8d54da309137a1484d41b3dea48f49d22190cbe4bcde8

See more details on using hashes here.

File details

Details for the file azure_mgmt_security-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: azure_mgmt_security-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 391.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for azure_mgmt_security-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f7d98e6c3c6623619bb57ff71105e6e8f2f2a82dc820028246a5bea5a915d38
MD5 18cb0816b5176fbeeb4cee498fee7636
BLAKE2b-256 3458c22bcb5d4c040a9ff2ee35b2b5d255d44b950fe05d99b4b1096b67128cd8

See more details on using hashes here.

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