latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

Prowler

Prowler, the open-source cloud security scanner, run from the Security account against every account each week. This page covers how it is built and run. Its results are under Compliance, on the scans page.

Build status

StepWhatState
TL.0Design and cost: checks, frameworks, schedule, Regions, outputsRuled 2026-10-28
TL.1Tool base: the scanner role in every account, the findings bucket and key, the tools deploy rolesBuilt 2026-10-30
TL.2hkb-pipeline-tools in Shared Services, deploying each tools/<name>/ as hkb-tool-<name>Live 2026-11-02
TL.3Prowler on CodeBuild in Security, on a schedule; failures imported to Security HubFirst scan 2026-11-03
TL.4A control test on the latest scan, crosswalk rows, and a summary on the scans pageDone 2026-11-07

The other Stage 5b tools, as ruled: Checkov runs as a CI job (TL.6; advisory, R-03), each skipped check a recorded exception. A monthly GuardDuty detection test in Sandbox shows a finding fires and reaches Security Hub (TL.8). It replaced Stratus Red Team, which can't run inside the guardrails. Cloud Custodian waits until after step 7.2. Steampipe and Powerpipe aren't adopted.

Across the organization

Prowler across the organizationProwler runs on CodeBuild in the Security account, weekly and by hand. Its role, hkb-tool-prowler, assumes the read-only hkb-scanner role in every account, the management account and Security included. Failed checks go to Security Hub in both Regions; full reports go to the findings bucket in Security, under its own KMS key. The site shows a summary only.AWS CloudAWS Organizations · organization rootManagementthe organization's control planeSecurity OULog ArchiveSecuritySharedServices OUShared ServicesWorkloads OUProd OUProdSDLC OUDevSandbox OUSandboxSuspendedOutputs in SecurityWEEKLYhkb-scannerhand stack H-6.12hkb-scannerread-only, boundedProwlerCodeBuild, weeklyhkb-scannerread-only, boundedhkb-scannerread-only, boundedhkb-scannerread-only, boundedhkb-scannerread-only, boundedemptyScheduleweeklyCodeBuildhkb-tool-prowlerSecurity Hubfailures, both RegionsFindings bucketfull reports, own KMS keyhkb-scanner trusts only hkb-tool-prowler; its boundary allows reads and one write, Security Hub BatchImportFindings. Raw findings are never published.LegendDeploy (assumes a role)Event / logBlueOpens its pageassume hkb-scannerstartsfailed checksfull reports
Prowler across the organizationOpen full sizeClose

As built: CodeBuild in Security assumes the read-only scanner role in every account, sends failed checks to Security Hub and keeps full reports in the findings bucket.

Design

QuestionAs ruled
AccountsAll seven. The management account's scanner role is a hand stack (H-6.12), since StackSets can't reach it and many CIS checks are about it
Runs onCodeBuild in Security, arm64 standard image, Prowler pinned by version (5.46.0)
ScheduleWeekly, Mondays at 04:00 UTC, plus a run started by hand
ChecksEvery check, with the compliance reports for CIS, NIST 800-53, SOC 2, ISO 27001 and AWS Foundational Security Best Practices
OutputsFailures only to Security Hub in both Regions, inside its free import allowance. Full reports (OCSF JSON, CSV, HTML, compliance CSVs) to the findings bucket
On this siteA summary only: pass and fail by framework, the last scan date and the trend. Raw findings are never published
Expected costAbout $3 to $5 a month, estimated at design time

Scanner role

hkb-scanner in every account carries SecurityAudit, ViewOnlyAccess and Prowler's additions policy, and trusts only hkb-tool-prowler, Prowler's CodeBuild role in Security. In the management account it is the one role that trusts another account, an exception held to that one trust and this boundary by control test S2-12. Its permissions boundary, hkb-scanner-boundary, is generated from the services the pinned Prowler version checks (90 of them), folded to read-only action patterns, and allows securityhub:BatchImportFindings as the one write. Because the folded patterns would also reach some data, the boundary denies object, secret, parameter, table item and stream record reads, among others. CI and Validate fail when the generated policy no longer matches the pinned inputs. Trust and policy text as deployed: security tooling roles.

Findings bucket

SettingValue
Buckethkb-tools-findings-<account>, Security account, us-east-1
EncryptionSSE-KMS under its own key, alias/hkb-tools-findings, rotation on, bucket key on
AccessPublic access blocked, bucket owner enforced, TLS required. Writes and deletes are denied to every principal but the tools' roles (hkb-tool-*)
RetentionVersioned; Standard storage throughout, expiry at 366 days. No Glacier transition, since small weekly reports cost more there

Sources

  • Templates and scripts: security/hkb-security-tools-findings.yaml, baseline/hkb-baseline-scanner.yaml, tools/prowler/permissions/
  • Decisions: DQ-54, DQ-127, DQ-130, DQ-131, DQ-139

Sources: ADR-0048

Page information

Owner
Detection and Response
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
security/hkb-security-tools-findings.yaml, baseline/hkb-baseline-scanner.yaml, tools/prowler
Linked from
Security, Scans, Security Hub CSPM