Why do you gate on "new findings only" and how is this implemented?
IntermediateProductionSecurity Gates & Vulnerability Management
Answer
Gating on total findings blocks every PR in a legacy repo for problems the author did not create. Diff-based gating keeps the bar rising without freezing delivery.
Implementations: Semgrep --baseline-commit, SonarQube "new code" quality gate, GitHub code scanning alerts only on the PR diff, Trivy/Grype comparisons against the main branch result.
semgrep ci --baseline-commit "$(git merge-base origin/main HEAD)"
Old debt is handled separately with SLAs and burn-down targets.
More on Security Gates & Vulnerability Management
How do you design security gate thresholds that protect production without blocking delivery?IntermediateSketch where security gates sit in a delivery pipeline.BeginnerWhat are typical vulnerability remediation SLAs in production?BeginnerHow do you run a vulnerability exception (risk acceptance) process?IntermediateHow do you prioritise vulnerabilities beyond CVSS?IntermediateA gate blocks a release for a CVE with no fix available. What is the right policy?Beginner