Cloud security scanner: open-source Prowler
If you run workloads in AWS, Azure, Google Cloud or Kubernetes, a cloud security scanner is the fastest way to check whether your configuration matches what you intended. Prowler is a free, open-source cloud security scanner that automates hundreds of checks across all four. You give it credentials for an account you own or have written permission to assess, and it reports on public buckets, exposed databases, overly broad IAM roles, missing encryption and similar misconfigurations. It does not fix anything automatically; it tells you what is wrong so you can.
This post covers what Prowler does, the Apache-2.0 licence, how to install it on Linux, and a concrete lab use case. If you want to set up a practice environment before running any scanner, our guide to creating a pentesting environment with Parrot OS and Kali Linux on VirtualBox is a good place to start.
What the cloud security scanner does
Prowler is a command-line tool that runs predefined checks against a cloud account or cluster. The checks are written in Python and map to compliance frameworks such as CIS, NIST, PCI-DSS, ISO 27001, SOC2, HIPAA and GDPR. The project’s README, checked on 17 November 2026, lists the following counts (the project says these are updated periodically, so treat them as approximate):
- AWS: 662 checks across 86 services
- Azure: 191 checks across 22 services
- GCP: 110 checks across 20 services
- Kubernetes: 92 checks across 7 services
The project also supports additional providers including GitHub, Microsoft 365, Oracle Cloud and IaC scanning via Trivy. The body of this post focuses on the four core providers, because that is where most readers will start.
Each check produces a pass, fail or manual result. You can list everything with --list-checks or --list-services, run a subset with --services or --checks, and exclude noisy checks with --excluded-checks or --excluded-services. Results go to CSV, JSON-OCSF and HTML by default. AWS users can add JSON-ASFF for Security Hub; IaC users can add SARIF.
For a related read on the wider cloud and AI security picture, see our article on AI security engineering. Prowler is not an AI tool, but the same principle applies: automated checks give you a starting point, not a final answer.
Licence
Prowler is released under the Apache License 2.0. The licence is permissive: you can use, modify and distribute the software, including commercially, provided you retain the copyright and licence notices. The software comes with no warranty. The licence file is linked above so you can read the exact terms.
Installing on Linux
The official docs recommend pipx for a clean global install. On Ubuntu 23.04 or later:
sudo apt update
sudo apt install pipx
pipx ensurepath
pipx install prowler
prowler -v
pipx installs Python applications in isolated environments, which avoids the dependency conflicts you can hit with pip. The PyPI package requires Python 3.10 through 3.13. If you need an older or newer Python, use the developer path: git clone the repo and run uv sync, or use the Docker image toniblyx/prowler.
To upgrade later:
pipx upgrade prowler
Basic usage
Run prowler with a provider name. If you omit the provider, AWS is used by default for backward compatibility with Prowler v2.
# Scan all accessible AWS regions with environment-variable credentials
prowler aws
# Scan specific regions with a named profile
prowler aws --profile custom-profile -f eu-west-2 eu-west-1
# Azure using the Azure CLI auth method
prowler azure --az-cli-auth
# GCP after gcloud auth application-default login
prowler gcp
# Kubernetes using a specific kubeconfig
prowler kubernetes --kubeconfig-file /path/to/kubeconfig
Azure requires an authentication method: --az-cli-auth, --sp-env-auth, --browser-auth --tenant-id, or --managed-identity-auth. By default it scans all accessible subscriptions; narrow with --subscription-ids. GCP defaults to all accessible projects; narrow with --project-ids. Kubernetes scans all namespaces in the active context; narrow with --context and --namespaces.
You can view a local HTML report after any scan by running prowler dashboard (Prowler Local Dashboard). This is an official open-source tool that serves the report in a browser. It is not a hosted service.
A concrete lab use case
Say you run a small AWS lab account for testing. You want to check whether any S3 buckets are accidentally public, whether IAM roles are too broad, and whether CloudTrail is enabled in every region. You have full permission to assess this account because it is yours.
First, list the checks that are relevant to storage and IAM:
prowler aws --list-checks | grep -i s3
prowler aws --list-checks | grep -i iam
Then run a targeted scan on one region, with just the S3 and IAM services, and output only HTML so the report is easy to read:
prowler aws --services s3 iam -f eu-west-1 -M html
When the scan finishes, open prowler dashboard in your browser. The report shows each check as pass, fail or manual. For any failure, Prowler includes remediation guidance. You can then fix the configuration and re-run the check to confirm it passes.
The same pattern works for Azure (one subscription), GCP (one project) and Kubernetes (one cluster you own). The important point is: scan a target you control, read the report, fix what is broken, and re-scan.
Defences and good practice
Prowler is a defensive tool. It helps you find and fix misconfigurations before someone else finds them. The checks cover encryption at rest and in transit, network exposure, identity and access, logging and monitoring, and data protection. Running it regularly is a form of continuous assurance.
If you want to compare the output with a network-layer view of the same estate, our Nmap beginner’s guide covers host discovery and port scanning. And for a broader view of how AI is changing attack and defence, see automated AI attacks. Prowler itself does not use AI in the CLI; the commercial Prowler Cloud product includes AI features, but this post is about the open-source CLI.
Risks and limits
- Credential handling. Prowler needs read access to your cloud account. Use a dedicated IAM user or role with the minimum permissions needed, not your daily-driver admin keys. Never paste cloud keys into a chat, ticket or public repository. The official docs describe the required permissions per provider.
- Sensitive output. Scan reports contain details about your cloud configuration. Treat them as sensitive: do not upload reports to public AI tools, paste them into public issues, or commit them to a public repository.
- Findings are not proof of exploitability. A failing check means a configuration does not match the benchmark. It does not mean an attacker can exploit it right now. Use the finding as a prompt to investigate, not as a guarantee.
- AI features can be wrong. If you use any AI-assisted analysis on the results (for example through Prowler Cloud or a third-party tool), the output can be incorrect. A human still needs to review findings before acting.
- Licence obligations. Apache-2.0 permits use and distribution, subject to retaining the copyright and licence notices. It provides no warranty.
- Authorised targets only. Only scan cloud accounts, subscriptions, projects and clusters you own or have written permission to assess. Using the tool against systems without permission is unlawful.
Wrapping up
Prowler gives you a free, scriptable way to check cloud configuration against recognised benchmarks. The install is straightforward on Linux, the checks are extensive, and the output is readable without extra tooling. Treat it as one layer in your assessment process, not the only one. Combine it with network scanning, manual review and good credential hygiene. The source, documentation and licence are at github.com/prowler-cloud/prowler.







