Add-on: Contributing to the Prowler Platform
Add-on · Effort: 3 h · Prowler: 5.48
Scenario
Cloudsmiths ships its checks, compliance frameworks and provider as upstream pull requests and as Prowler Registry artifacts, and it integrates with Prowler through the API and the MCP Server (Modules D12 to D15). Now two Cloudsmiths engineers want to contribute to Prowler's own platform code: the red team wants a built-in Attack Paths query for internet-exposed EC2 instances that can assume a role, and the platform team wants to propose live scan progress over Server-Sent Events and a read-only MCP tool for provider groups. This add-on explains how the Prowler platform (API, workers and UI) behind Prowler Cloud and Prowler Local Server is built, so that those pull requests pass upstream review.
Scope of this add-on. This free, optional add-on is for people who contribute changes to Prowler's platform code upstream, through pull requests to prowler-cloud/prowler. It is not a guide to customizing, forking or patching a Prowler deployment: Cloudsmiths runs unmodified Prowler Cloud, Prowler Private Cloud and Prowler Local Server, and every change in these labs is meant to be proposed upstream or thrown away. It is not required for the PCSD credential.
Learning objectives
- Map the platform components (Django API, Celery workers and beat, PostgreSQL, Valkey, Neo4j, Next.js UI, MCP Server) to their code and to the services in
docker-compose-dev.yml. - Explain tenant isolation (
RowLevelSecurityProtectedModel,rls_transaction,BaseRLSViewSet,RLSTaskand@set_tenant) and trace a scan through the post-scan task chain. - Add a Server-Sent Events endpoint on
api.sseand a predefined Attack Paths query that follow the platform contracts, with tests. - Add a read-only tool to the MCP Server's
prowler_appsub-server with correct annotations, models, errors and in-memory tests, and trace how Lighthouse AI reaches MCP tools. - Run one Playwright end-to-end suite of the UI locally and apply the E2E and
UI_*environment-variable conventions.
Register to read the full module
The syllabus and each module overview are public. Create a free account to unlock the full lessons, labs, knowledge checks and the final exam, and to track your progress.