OpenShield Azure scanner CLI
OpenShield is an open-source cloud security posture scanner for Azure. The owasp-openshield Python distribution provides the standalone openshield command. It runs the packaged Azure rules locally and prints findings in text or JSON. The dashboard, API, worker, AI agent, and MCP server are separate deployment components available in the source repository.
Package name: Install
owasp-openshield, then runopenshield. The separateopenshielddistribution on PyPI belongs to an unrelated antivirus project.
Quick start
Python 3.11 or later is required.
python -m pip install owasp-openshield==0.4.0
openshield --version
az login
openshield scan --subscription-id YOUR-AZURE-SUBSCRIPTION-UUID
openshield scan --subscription-id YOUR-AZURE-SUBSCRIPTION-UUID --format json
AZURE_SUBSCRIPTION_ID can replace the flag. The CLI uses Azure's DefaultAzureCredential chain, checks access to the subscription, and then runs the packaged rules. Give the identity read permissions to the subscription and any additional Graph or DevOps APIs used by the rules you rely on.
Results with findings exit 0 when the engine completed. Invalid configuration, authentication or subscription access failure, and incomplete rule execution exit 2. Both report formats show failed rule IDs. Packaged remediation playbooks are references only; the CLI never executes them.
Many legacy rules do not yet provide complete per-resource evaluation evidence. A completed zero-finding run is not proof that every resource is compliant. Handle scan output as sensitive operational data because findings can contain Azure resource identifiers and configuration evidence.
Read the full CLI guide, source, security policy, and release verification guide.
Metadata
Release files for owasp-openshield 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| owasp_openshield-0.4.0.tar.gz | 217.5 kB | With provenance | Details for owasp_openshield-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| owasp_openshield-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for owasp_openshield-0.4.0-py3-none-any.whl |
Total release size: 618.8 kB
Release files / owasp_openshield-0.4.0.tar.gz
| Download URL | owasp_openshield-0.4.0.tar.gz |
|---|---|
| Size | 217.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
036f38013c4d24d3750ad241c92f01186b3f845df5eac68ec5266acfb9ae9947
|
|
BLAKE2b-256 checksum How to use checksums |
96f35361c5a0909320da7d0d992b19941856d7bdf9fb727f549d295cf8ad18b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / owasp_openshield-0.4.0-py3-none-any.whl
| Download URL | owasp_openshield-0.4.0-py3-none-any.whl |
|---|---|
| Size | 401.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de583b00fd76be564801104a1a39e8bfae575955db090ca3bdb2f9d01de4448b
|
|
BLAKE2b-256 checksum How to use checksums |
8d0fc20a6556d4c2c606046ab6a758c3e5389a5e997e36f41cbc5018e57cdf19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for owasp-openshield 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for owasp_openshield-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.