commands.sh

prowler azure

all

Assess Azure security best practices, perform audits, compliance checks, and generate reports. See also: `prowler`, `prowler-aws`, `prowler-gcp`, `prowler-kubernetes`, `prowler-m365`, `prowler-github`.

More info →

Options (3)

-s, --servicesboolean

Run checks for selected Azure services

Example: prowler azure {{[-s|--services]}} {{defender|iam|...}}
-c, --checksboolean

Run a specific Azure check

Example: prowler azure {{[-c|--checks]}} {{storage_blob_public_access_level_is_disabled}}
-e, --excluded-checksboolean

Exclude specific checks or services

Example: prowler azure {{[-e|--excluded-checks]}} {{storage_blob_public_access_level_is_disabled}} --exclude-services {{defender|iam|...}}

Examples (8)

Run the default set of checks on the current Azure account using Azure CLI authentication

prowler azure --az-cli-auth

Run checks for specific Azure subscriptions

prowler azure --az-cli-auth --subscription-ids subscription_id1 subscription_id2 ...

Authenticate using a service principal via environment variables

prowler azure --sp-env-auth

Authenticate using browser login and specify a tenant ID

prowler azure --browser-auth --tenant-id "XXXXXXXX"

Authenticate using a managed identity (e.g. for Azure VM)

prowler azure --managed-identity-auth

Run checks for selected Azure services

prowler azure [-s|--services] defender|iam|...

Run a specific Azure check

prowler azure [-c|--checks] storage_blob_public_access_level_is_disabled

Exclude specific checks or services

prowler azure [-e|--excluded-checks] storage_blob_public_access_level_is_disabled --exclude-services defender|iam|...
made by @shridhargupta | data from tldr-pages