Prowler Academy

Module D04: Check Metadata Done Right

Track: D2 · Checks · Effort: 1.5 h · Prowler: 5.48

Scenario

Your s3_bucket_owner_tag_present branch from Module D03 runs, but its metadata is still a copy of s3_bucket_object_versioning. On top of that, a Cloudsmiths teammate's draft metadata for the same check fails to load and takes prowler aws --list-checks down with it. Before the check moves on to tests (Module D06) and packaging (Module D12), you need metadata that passes every validator, reads well on Prowler Hub and produces useful CSV, OCSF and ASFF findings for the security team.

Learning objectives

  1. Describe every field of a .metadata.json file and which ones are deprecated.
  2. Distinguish rules that CheckMetadata enforces at load time from guidelines that reviewers enforce.
  3. Write a CheckTitle, Description, Risk, Recommendation and remediation code that follow the Developer Guide.
  4. Pick valid Severity, ResourceType, ResourceGroup, Categories and (for AWS) CheckType values.
  5. Trace where each field surfaces: CLI listing, outputs, Prowler Hub, Prowler Cloud and Prowler Local Server, and compliance.
  6. Debug a failing metadata file from the Pydantic validation error.

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.