Interview Prep/DevSecOps/Security Gates & Vulnerability Management

How do you treat dev-only and test dependencies in vulnerability gates?

IntermediateProductionSecurity Gates & Vulnerability Management
Answer

Separate them. Runtime image scans should only contain production dependencies, which removes most test-tooling noise. For SCA on manifests, treat dev dependencies with a lower SLA unless they run in CI with credentials (a malicious dev dependency can still steal CI secrets). For malicious packages, there is no "dev only" exception: block them everywhere.

All DevSecOps questions Roadmap: Security in the pipeline

More on Security Gates & Vulnerability Management