Security Hub still shows `[CloudTrail.1]` as FAILED although you created a trail yesterday
IntermediateTroubleshootingDAST, runtime detection and compliance scans
Answer
Likely causes → The control needs at least one multi-Region trail that logs read and write management events. A single-region trail, or one logging only write events, does not pass. The control may also be evaluated in an account the trail does not cover.
Diagnose →
aws cloudtrail describe-trails --query 'trailList[].{n:Name,multi:IsMultiRegionTrail,org:IsOrganizationTrail}'
aws cloudtrail get-event-selectors --trail-name main
Fix → aws cloudtrail update-trail --name main --is-multi-region-trail, and set management events to ReadWriteType: All. Better, create an organization trail from the management account.
Prevent → Deploy trails and Config through account-vending baselines (Control Tower or Terraform), not by hand.
More on DAST, runtime detection and compliance scans
The ZAP baseline scan of your React SPA finishes in 40 seconds with only header warnings and no real findingsIntermediateThe authenticated ZAP full scan only ever tests the login page and `/logout`, and the report shows mostly `302` responsesIntermediate`zap-baseline.py` fails the pipeline with exit code 2 even though the report has no high-risk alertsBeginnerThe DAST job reports nothing, and its log shows mostly `403` and `429` responsesBeginnerAn active DAST scan against staging created 12,000 junk records and sent password-reset emails to real customer addresses copied from prodIntermediateNuclei runs in CI against staging and reports nothing for a known exposed `/.git/config`Beginner