From access to evidence

Run your first scan.

Start with read-only Azure access, inspect an illustrative result, then use the full repository reference when you need more detail.

About 10 minutes

A short path to useful evidence.

OpenShield reads Azure configuration through the Reader role. The commands below are a guided starting point. Review the complete setup guide before using a production subscription.

  1. 01

    Clone and create an environment

    git clone https://github.com/OWASP/openshield.git
    cd openshield
    python -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  2. 02

    Authenticate with read-only access

    az login
    export AZURE_SUBSCRIPTION_ID="your-subscription-id"

    Follow the Azure setup guide for service-principal variables and least-privilege scope.

  3. 03

    Run and inspect

    python -m scanner.run \
      --subscription "$AZURE_SUBSCRIPTION_ID"

    Use the rule book to trace each rule back to its source, framework mapping and playbook.

Repository reference

Go deeper when you need to.

Browse all 53 documents →
53 documents

Deployment

Get started

Open source security posture for Azure.