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 includesprowler/providers/aws/**,prowler/providers/azure/**,prowler/providers/gcp/**, andprowler/providers/kubernetes/**. - Compliance metadata mirrors provider-oriented organization under
prowler/compliance/**; representative evidence includesprowler/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/**, andmcp_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/**plustests/dashboard/**, andmcp_server/tests/**.
5. Routing table
-
prowler/config/**-> docs/cli-scan-engine.md -
prowler/exceptions/**-> docs/cli-scan-engine.md -
prowler/lib/cli/**-> docs/cli-scan-engine.md -
prowler/lib/scan/**-> docs/cli-scan-engine.md -
prowler/lib/check/**-> docs/cli-scan-engine.md -
prowler/lib/scan_filters/**-> docs/cli-scan-engine.md -
tests/config/**-> docs/cli-scan-engine.md -
tests/lib/check/**-> docs/cli-scan-engine.md -
tests/lib/scan/**-> docs/cli-scan-engine.md -
tests/lib/scan_filters/**-> docs/cli-scan-engine.md -
any change to CLI scan argument parsing, check loading, scan filters, or local scan orchestration -> docs/cli-scan-engine.md
-
prowler/providers/common/**-> docs/provider-framework.md -
tests/providers/common/**-> docs/provider-framework.md -
any change to shared provider base classes, session abstractions, identity modeling, or provider lifecycle contracts -> docs/provider-framework.md
-
prowler/providers/aws/**-> docs/aws-provider.md -
tests/providers/aws/**-> docs/aws-provider.md -
permissions/aws/**-> docs/aws-provider.md -
any AWS authentication, region/account, service client, or AWS check behavior change -> docs/aws-provider.md
-
prowler/providers/azure/**-> docs/azure-provider.md -
tests/providers/azure/**-> docs/azure-provider.md -
permissions/azure/**-> docs/azure-provider.md -
any Azure authentication, tenant/subscription, service client, or Azure check behavior change -> docs/azure-provider.md
-
prowler/providers/gcp/**-> docs/gcp-provider.md -
tests/providers/gcp/**-> docs/gcp-provider.md -
permissions/gcp/**-> docs/gcp-provider.md -
any GCP credentials, project/organization, service client, or GCP check behavior change -> docs/gcp-provider.md
-
prowler/providers/alibabacloud/**-> docs/additional-providers.md -
prowler/providers/cloudflare/**-> docs/additional-providers.md -
prowler/providers/e2enetworks/**-> docs/additional-providers.md -
prowler/providers/github/**-> docs/additional-providers.md -
prowler/providers/googleworkspace/**-> docs/additional-providers.md -
prowler/providers/huaweicloud/**-> docs/additional-providers.md -
prowler/providers/iac/**-> docs/additional-providers.md -
prowler/providers/image/**-> docs/additional-providers.md -
prowler/providers/kubernetes/**-> docs/additional-providers.md -
prowler/providers/linode/**-> docs/additional-providers.md -
prowler/providers/llm/**-> docs/additional-providers.md -
prowler/providers/m365/**-> docs/additional-providers.md -
prowler/providers/mongodbatlas/**-> docs/additional-providers.md -
prowler/providers/nhn/**-> docs/additional-providers.md -
prowler/providers/okta/**-> docs/additional-providers.md -
prowler/providers/openstack/**-> docs/additional-providers.md -
prowler/providers/oraclecloud/**-> docs/additional-providers.md -
prowler/providers/scaleway/**-> docs/additional-providers.md -
prowler/providers/stackit/**-> docs/additional-providers.md -
prowler/providers/vercel/**-> docs/additional-providers.md -
tests/providers/alibabacloud/**-> docs/additional-providers.md -
tests/providers/cloudflare/**-> docs/additional-providers.md -
tests/providers/e2enetworks/**-> docs/additional-providers.md -
tests/providers/github/**-> docs/additional-providers.md -
tests/providers/googleworkspace/**-> docs/additional-providers.md -
tests/providers/huaweicloud/**-> docs/additional-providers.md -
tests/providers/iac/**-> docs/additional-providers.md -
tests/providers/image/**-> docs/additional-providers.md -
tests/providers/kubernetes/**-> docs/additional-providers.md -
tests/providers/linode/**-> docs/additional-providers.md -
tests/providers/llm/**-> docs/additional-providers.md -
tests/providers/m365/**-> docs/additional-providers.md -
tests/providers/mongodbatlas/**-> docs/additional-providers.md -
tests/providers/nhn/**-> docs/additional-providers.md -
tests/providers/okta/**-> docs/additional-providers.md -
tests/providers/openstack/**-> docs/additional-providers.md -
tests/providers/oraclecloud/**-> docs/additional-providers.md -
tests/providers/scaleway/**-> docs/additional-providers.md -
tests/providers/stackit/**-> docs/additional-providers.md -
tests/providers/vercel/**-> docs/additional-providers.md -
permissions/alibabacloud/**-> docs/additional-providers.md -
permissions/cloudflare/**-> docs/additional-providers.md -
permissions/github/**-> docs/additional-providers.md -
permissions/googleworkspace/**-> docs/additional-providers.md -
permissions/huaweicloud/**-> docs/additional-providers.md -
permissions/kubernetes/**-> docs/additional-providers.md -
permissions/m365/**-> docs/additional-providers.md -
permissions/okta/**-> docs/additional-providers.md -
permissions/oraclecloud/**-> docs/additional-providers.md -
any non-AWS/Azure/GCP provider authentication, service client, target modeling, or check behavior change -> docs/additional-providers.md
-
prowler/compliance/**-> docs/compliance-framework.md -
tests/compliance/**-> docs/compliance-framework.md -
any compliance framework, standard mapping, control metadata, or provider compliance artifact change -> docs/compliance-framework.md
-
prowler/lib/outputs/**-> docs/outputs-reporting-and-muting.md -
prowler/lib/mutelist/**-> docs/outputs-reporting-and-muting.md -
prowler/lib/threats/**-> docs/outputs-reporting-and-muting.md -
prowler/lib/timeline/**-> docs/outputs-reporting-and-muting.md -
prowler/lib/network/**-> docs/outputs-reporting-and-muting.md -
prowler/lib/utils/**-> docs/outputs-reporting-and-muting.md -
prowler/…/resource_limit.py -> docs/outputs-reporting-and-muting.md
-
tests/lib/outputs/**-> docs/outputs-reporting-and-muting.md -
tests/lib/mutelist/**-> docs/outputs-reporting-and-muting.md -
tests/lib/threats/**-> docs/outputs-reporting-and-muting.md -
tests/lib/timeline/**-> docs/outputs-reporting-and-muting.md -
tests/lib/network/**-> docs/outputs-reporting-and-muting.md -
tests/lib/utils/**-> docs/outputs-reporting-and-muting.md -
any output format, report generation, mutelist, finding enrichment, timeline, or scanner utility change -> docs/outputs-reporting-and-muting.md
-
api/src/backend/**-> docs/api-backend.md -
api/tests/**-> docs/api-backend.md -
api/docs/**-> docs/api-backend.md -
api/Dockerfile-> docs/api-backend.md -
any API resource, backend settings, persistence, async task, or backend deployment change -> docs/api-backend.md
-
ui/app/**-> docs/ui-console.md -
ui/actions/**-> docs/ui-console.md -
ui/components/**-> docs/ui-console.md -
ui/config/**-> docs/ui-console.md -
ui/contexts/**-> docs/ui-console.md -
ui/hooks/**-> docs/ui-console.md -
ui/lib/**-> docs/ui-console.md -
ui/store/**-> docs/ui-console.md -
ui/styles/**-> docs/ui-console.md -
ui/types/**-> docs/ui-console.md -
ui/public/**-> docs/ui-console.md -
ui/sentry/**-> docs/ui-console.md -
ui/scripts/**-> docs/ui-console.md -
ui/test-utils/**-> docs/ui-console.md -
ui/tests/**-> docs/ui-console.md -
ui/__tests__/**-> docs/ui-console.md -
any Next.js route, server action, auth/session, product page, UI state, or frontend runtime-config change -> docs/ui-console.md
-
dashboard/**-> docs/streamlit-dashboard.md -
tests/dashboard/**-> docs/streamlit-dashboard.md -
any dashboard page, dashboard helper, or dashboard result/compliance display change -> docs/streamlit-dashboard.md
-
mcp_server/prowler_mcp_server/**-> docs/mcp-server.md -
mcp_server/tests/**-> docs/mcp-server.md -
mcp_server/Dockerfile-> docs/mcp-server.md -
any MCP tool/resource, MCP server lifecycle, Prowler app/docs/hub MCP integration, or MCP packaging/runtime change -> docs/mcp-server.md