Introducing a new way to review your PRs.

Read the announcement

prowler-cloud / prowler

This repo hosts Prowler OSS (CLI and Local Server). Prowler is the world’s most widely used open-source cloud security platform that automates security and compliance across any cloud environment for Humans and AI Agents.

View on GitHub

13 documents · Updated Nov 16, 2026

overview

Knowledge Base updated: 2026-11-16

Knowledge Base Index

1. Orientation

Prowler is a multi-cloud security scanning platform. The highest-level flow is: a scan target is configured, provider-specific checks run through the Prowler engine, findings are enriched/muted, and results are exposed through CLI outputs, APIs, dashboards, and UI surfaces.

Main parts:

  • prowler/ — core Python scanner, provider implementations, compliance metadata, scan orchestration, and output generation.
  • api/ — backend API service for persisted Prowler data, async work, and product-facing resources.
  • ui/ — Next.js console for findings, providers, scans, integrations, compliance, users, and related workflows.
  • dashboard/ — Streamlit-style dashboard for local/result-focused visualization.
  • mcp_server/ — MCP server exposing Prowler app/docs/hub capabilities to MCP clients.

Critical state lives primarily outside this repository’s source tree at runtime: the API backend owns persisted product state, scan/finding/provider resources, and background-task state; output files and reports are produced by the core scanner; UI state is split between server/API data, auth/session state, and client-side stores.

2. Architecture diagrams

flowchart TD
  subgraph CoreScanner[prowler]
    CLI[CLI entrypoints]
    Scan[Scan engine]
    Providers[Provider implementations]
    Compliance[Compliance metadata]
    Outputs[Outputs and muting]
  end

  subgraph Services[services]
    API[api backend]
    UI[ui Next.js console]
    Dashboard[dashboard]
    MCP[mcp_server]
  end

  subgraph External[external systems]
    Clouds[Cloud and SaaS APIs]
    Store[Runtime stores]
    Files[Reports and exports]
    MCPClients[MCP clients]
  end

  CLI --> Scan
  Scan --> Providers
  Providers --> Clouds
  Scan --> Compliance
  Scan --> Outputs
  Outputs --> Files
  API --> Store
  UI --> API
  Dashboard --> Files
  MCP --> API
  MCP --> CoreScanner
  MCPClients --> MCP
flowchart LR
  Args[CLI args/config] --> Scanner[scan orchestration]
  Scanner --> CheckLoader[check loading/filtering]
  CheckLoader --> Provider[provider session/client]
  Provider --> CloudAPI[cloud or SaaS API]
  CloudAPI --> Finding[check result]
  Finding --> Mutelist[mutelist/enrichment]
  Mutelist --> Output[report/output writers]
sequenceDiagram
  participant Browser as UI browser
  participant Next as ui Next.js
  participant Backend as api backend
  participant Worker as backend tasks
  participant Scanner as Prowler scanner

  Browser->>Next: navigate/action
  Next->>Backend: authenticated API request
  Backend->>Worker: enqueue or run task
  Worker->>Scanner: execute scan-related work
  Scanner-->>Worker: findings/results
  Worker-->>Backend: persist/update state
  Backend-->>Next: resources/status
  Next-->>Browser: render product view
flowchart TD
  MCPClient[MCP client] --> Server[mcp_server]
  Server --> AppTools[prowler_app tools]
  Server --> DocsTools[prowler_documentation tools]
  Server --> HubTools[prowler_hub tools]
  AppTools --> API[api/Prowler app concepts]
  DocsTools --> Docs[project documentation]
  HubTools --> Hub[Prowler Hub content]

3. Glossary

  • Prowler Hub — Prowler’s catalog-style source for checks, services, providers, and related security metadata exposed in product/MCP surfaces.
  • Mutelist — Prowler’s mechanism for suppressing or marking selected findings before output/report generation.
  • Provider — A concrete cloud, SaaS, Kubernetes, IaC, image, or LLM target implementation under prowler/providers/**.
  • Check — A provider-specific security control implementation loaded and executed by the scanner.
  • Finding — The result produced by a check, later enriched, muted, persisted, or emitted in reports.

4. Codebase-wide invariants

  • Provider implementations are organized by target under prowler/providers/<provider>/; representative evidence includes prowler/providers/aws/**, prowler/providers/azure/**, prowler/providers/gcp/**, and prowler/providers/kubernetes/**.
  • Compliance metadata mirrors provider-oriented organization under prowler/compliance/**; representative evidence includes prowler/compliance/aws/**, prowler/compliance/azure/**, prowler/compliance/gcp/**, and shared standards such as prowler/…/cis_controls_8.1.json.
  • Product surfaces are separated by top-level service directories rather than one monolith: api/src/backend/**, ui/app/**, dashboard/**, and mcp_server/prowler_mcp_server/** each own distinct runtime entrypoints.
  • Tests generally mirror the code areas they exercise, with representative paths tests/providers/**, api/tests/**, ui/__tests__/**, ui/tests/**, dashboard/** plus tests/dashboard/**, and mcp_server/tests/**.

5. Routing table