azure-mgmt-security
Microsoft Azure Security Center Management Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is a production-stable, actively maintained official Microsoft SDK with no runtime dependencies and low install friction. Use it when you need to automate Azure Security Center operations or integrate security data into broader cloud management systems. The permissive MIT License and broad Python version support (3.8–3.12) make it suitable for most projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID.
- Python 3.8+ required.
- Low friction installation with no runtime dependencies.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) allows free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
last release 2024-05-20 (816 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,560,336 downloads/mo, #2,073 on PyPI
Alternatives
Verify before relying
pip install azure-mgmt-security
from azure.mgmt.security import SecurityCenter
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = SecurityCenter(credential=credential, subscription_id=sub_id)
# Example: list pricings
pricings = client.pricings.list(scope_id=f"/subscriptions/{sub_id}")- Whether authentication via Azure Active Directory environment variables is required or optional for all operations
- Scope and completeness of operations relative to Azure Security Center's full feature set
- Performance characteristics and rate limits when managing large numbers of security resources
What it is and what it does
This is the Microsoft Azure Security Center Management Client Library, a Python SDK for programmatic control of Azure Security Center and related threat detection services. It provides operation groups for managing security policies, pricing tiers, health reports, and defender offerings. The library handles authentication via Azure Active Directory using environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) and exposes a SecurityCenter client as the main entry point.
Version 7.0.0 adds support for DevOps integrations, sensitivity settings, and server vulnerability assessment configurations. It requires Python 3.8 or later and has no runtime dependencies, making it lightweight to integrate into existing Azure management workflows. The package is actively maintained and supports current Python versions.
Use it for
- Automate security policy enforcement and pricing tier management across Azure subscriptions
- Integrate Azure Security Center data into custom dashboards or monitoring platforms
- Query health reports and vulnerability assessments to trigger remediation workflows
- Manage defender offerings and assess security posture programmatically
- Provision and configure security scanning for DevOps repositories
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a production-stable, actively maintained official Microsoft SDK with no runtime dependencies and low install friction. Use it when you need to automate Azure Security Center operations or integrate security data into broader cloud management systems. The permissive MIT License and broad Python version support (3.8–3.12) make it suitable for most projects.
Install
azure-mgmt-security on PyPI
Before you install
Low friction installation with no runtime dependencies. Actively maintained with recent releases; last commit 2026-08-14 and version 7.0.0 released 2024-05-20. Supports Python 3.8, 3.9, 3.10, 3.11, 3.12.
Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID. Python 3.8+ required.
License in practice
MIT License (permissive) allows free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install azure-mgmt-security
from azure.mgmt.security import SecurityCenter
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = SecurityCenter(credential=credential, subscription_id=sub_id)
# Example: list pricings
pricings = client.pricings.list(scope_id=f"/subscriptions/{sub_id}")
Verify before relying
- Whether authentication via Azure Active Directory environment variables is required or optional for all operations
- Scope and completeness of operations relative to Azure Security Center's full feature set
- Performance characteristics and rate limits when managing large numbers of security resources
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 816 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,560,336 / month, #2,073 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: azure_mgmt_security-7.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “azure security center management”
- azure-mgmt-securityManages Azure Security Center resources programmatically, providing…
- google-cloud-securitycenterPython client library for Google Cloud Security Command Center API,…
- azure-mgmt-securityinsightProvides a Python client library for managing Azure Sentinel…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also azure-mgmt-resource-deployments · azure-mgmt-monitor · azure-mgmt-iotcentral · azure-mgmt-resource-subscriptions · azure-mgmt-msi · azure-mgmt-managementpartner · azure-mgmt-domainregistration · azure-mgmt-resource-deploymentscripts · azure-mgmt-resource · azure-mgmt-web