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

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-2.0.0b1.zip (359.3 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_security-2.0.0b1-py2.py3-none-any.whl (344.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file azure-mgmt-security-2.0.0b1.zip.

File metadata

  • Download URL: azure-mgmt-security-2.0.0b1.zip
  • Upload date:
  • Size: 359.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for azure-mgmt-security-2.0.0b1.zip
Algorithm Hash digest
SHA256 f0ab1ad3cc3c11e644297224d80438cc70a67ef4c3c3357f93d23aec256eb084
MD5 dc83128fdb252fa8d1ee17ab2edcd85b
BLAKE2b-256 c3ebbb9ce31935a75fe407eba63641cd25555b0fe47adeffc470ecafab5fc9a5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: azure_mgmt_security-2.0.0b1-py2.py3-none-any.whl
  • Upload date:
  • Size: 344.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for azure_mgmt_security-2.0.0b1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1fb56f6c75a0c2c15c2aa365161129d5280cedbdd38ed560b772a99b4dbb24a3
MD5 a02414e69bd0abe2fc26ab574a9bfc5f
BLAKE2b-256 fcb9612bf087b5c5cec25c08248f5206504a8a4585e6ccad6b145100c66c5982

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