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
- Describe the
Findingoutput model and how check results are converted into it. - Explain the
Outputbase-class contract (transform,batch_write_data_to_file, file descriptor handling, CLI vs API batching). - Name the built-in writers (CSV, JSON-OCSF, HTML, JSON-ASFF, SARIF) and list every place a new output format has to be wired.
- Trace the S3, Security Hub, Slack and Jira integrations through the CLI and the Prowler platform (API, workers and UI), including their
test_connectionand exception patterns. - Write a custom output formatter and unit tests that use the shared finding fixtures.
- Test an integration code path without real credentials, using
motoor mocks.
Regístrate para leer el módulo completo
El temario y el resumen de cada módulo son públicos. Crea una cuenta gratuita para desbloquear las lecciones completas, los laboratorios, las comprobaciones de conocimientos y el examen final, y para seguir tu progreso.