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

A Prowler run finishes, but hundreds of checks show `AccessDenied` errors instead of PASS or FAIL

BeginnerTroubleshootingDAST, runtime detection and compliance scans
Answer

Likely causes → The scanning role lacks the read permissions Prowler needs. ReadOnlyAccess alone misses some APIs. Prowler documents SecurityAudit and ViewOnlyAccess, plus a small additional policy.

Diagnose → Check the Prowler log lines with AccessDenied for the denied API calls, and run aws sts get-caller-identity to confirm which role ran it.

Fix → Attach arn:aws:iam::aws:policy/SecurityAudit and arn:aws:iam::aws:policy/job-function/ViewOnlyAccess to the scan role, add Prowler's extra permissions policy, then rerun with prowler aws.

Prevent → Deploy the scan role to every account with StackSets or Terraform, and treat "check errored" as a failure in reports.

All DevSecOps questions Roadmap: Policy as code

More on DAST, runtime detection and compliance scans