Prowler Academy

Module D11: Outputs and Integrations

Track: D4 · Compliance & outputs · Effort: 1.5 h · Prowler: 5.48

Scenario

Cloudsmiths' SecOps team ingests everything through a log pipeline that only accepts newline-delimited JSON (NDJSON). They also want those files in the same S3 bucket that already receives Prowler's CSV and OCSF reports, and a Slack summary after each nightly scan. Before writing any code, you will learn how a Finding becomes a file, which integrations Prowler already ships, and where each of them is wired. Then you will build and test a JSON Lines output and find out what else must change before it can travel to S3.

Learning objectives

  1. Describe the Finding output model and how check results are converted into it.
  2. Explain the Output base-class contract (transform, batch_write_data_to_file, file descriptor handling, CLI vs API batching).
  3. Name the built-in writers (CSV, JSON-OCSF, HTML, JSON-ASFF, SARIF) and list every place a new output format has to be wired.
  4. Trace the S3, Security Hub, Slack and Jira integrations through the CLI and the Prowler platform (API, workers and UI), including their test_connection and exception patterns.
  5. Write a custom output formatter and unit tests that use the shared finding fixtures.
  6. Test an integration code path without real credentials, using moto or mocks.

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.