Interview Prep/DevSecOps/DAST, runtime detection and compliance scans

Security Hub shows the same failed control 40 times per account, and the dashboard is unreadable

IntermediateTroubleshootingDAST, runtime detection and compliance scans
Answer

Likely causes → Several standards (CIS, AWS FSBP, PCI) are enabled with consolidated control findings turned off, so each standard emits its own finding. Findings are also not aggregated into one region.

Diagnose →

aws securityhub get-enabled-standards
aws securityhub describe-hub --query ControlFindingGenerator
aws securityhub list-finding-aggregators

Fix → Set ControlFindingGenerator to SECURITY_CONTROL (consolidated findings), create a cross-region finding aggregator in the delegated admin account, and disable controls that do not apply (with documented reasons).

Prevent → Manage Security Hub configuration centrally with central configuration policies from the delegated admin account.

All DevSecOps questions Roadmap: Policy as code

More on DAST, runtime detection and compliance scans