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

Nuclei runs in CI against staging and reports nothing for a known exposed `/.git/config`

BeginnerTroubleshootingDAST, runtime detection and compliance scans
Answer

Likely causes → The template directory is stale or empty on the runner, severity or tag filters exclude the template, or the target list has the wrong scheme or host.

Diagnose →

nuclei -version
nuclei -tl | grep -i git-config
nuclei -u https://staging.acme.com -id git-config -debug

Fix → Update templates (nuclei -ut) at the start of the job, or bake a pinned templates version into the image. Remove filters that are too narrow, such as -severity critical.

Prevent → Add a canary check: a test endpoint that must always be detected, so a silent scanner fails the job.

All DevSecOps questions Roadmap: Policy as code

More on DAST, runtime detection and compliance scans