← Back to the blog

Security • 2026-09-10 • 3 min read

Turning Scanner Noise into Action: SARIF as the Only Report Format

Five scanners producing five formats is five dashboards nobody opens. Normalising to SARIF, deduplicating across tools, and the baseline rule that makes a build failure mean something.

Turning Scanner Noise into Action: SARIF as the Only Report Format — Security

A pipeline with a secrets scanner, a dependency auditor, a static analyser, a container scanner and a linter produces five reports in five shapes. The usual outcome is a dashboard per tool, a thousand open findings and a team that has learned the build is always red.

One format

SARIF is the OASIS standard for static analysis output. Most tools emit it natively; the ones that do not need a small converter. Once everything speaks it, you get three things that were impossible before.

  • Deduplication across tools. Two scanners reporting the same hard-coded key is one finding, not two
  • A single policy. Severity thresholds, suppressions and ownership rules are written once
  • A real baseline. You can diff this run against the last one, because the identifiers are comparable

Fingerprints, not line numbers

A finding keyed by file and line moves every time someone adds an import above it, and your "new findings" list fills with things that are not new.

SARIF has partialFingerprints for exactly this. Where a tool provides them, use them. Where it does not, compute one from the rule id, the file path, and a hash of the surrounding code with whitespace normalised — stable across reformatting and across unrelated edits in the same file.

// bash
wident-sarif merge \
    --input gitleaks.sarif cargo-audit.sarif trivy.sarif clippy.sarif \
    --baseline .security/baseline.sarif \
    --fail-on new,critical \
    --output merged.sarif

Fail on new, not on total

This is the rule that changes behaviour. A build fails when it introduces a finding, or when anything critical appears. It does not fail because the repository has an inherited backlog of 340 medium findings.

The backlog is tracked and burnt down on its own schedule. The gate protects the direction of travel. A gate that is always red protects nothing, because the only sustainable response to it is to ignore it.

Suppressions with an expiry

Every suppression carries a reason, an owner and a date. On that date it comes back. A suppression without an expiry is a decision made once by someone who may have left, applied forever to code they no longer recognise.

What goes to the humans

Findings are routed by code ownership, not to a shared queue. A dependency advisory goes to whoever owns the service, with the upgrade path attached. A secret in a commit pages someone immediately, because that one is not a backlog item — it is an incident, and the clock started when the commit was pushed.

The same normalised feed drives our CVE monitoring, so a vulnerability in a dependency and a vulnerability reported against our own code arrive in the same place, in the same shape.

Read next

COOKIES // MEASUREMENT

We count page views through Google Tag Manager. Say yes and it may store a cookie in your browser; say no and it still counts the visit, without storing anything and without an identifier. Nothing here is used for advertising.

Cookie Policy — you can change this at any time from the footer of any page.