# `VulnCheck.Report.SARIF`
[🔗](https://github.com/Voskan/vulncheck/blob/v1.0.1/lib/vulncheck/report/sarif.ex#L1)

SARIF 2.1.0 report (`--format sarif`) for GitHub Code Scanning and other
static analysis dashboards.

Every advisory becomes a rule whose `security-severity` carries the CVSS
score. Each result is anchored at the first project hop, or at the
package entry of the lockfile. Additional project hops are related
locations, and `codeFlows` replay the whole witness call chain. Unreachable
findings are emitted with `level: "none"` only with `--show-unreachable`.

# `document`

```elixir
@spec document(VulnCheck.Types.ScanReport.t(), VulnCheck.Config.t()) :: map()
```

The SARIF log as plain maps.

# `level`

```elixir
@spec level(VulnCheck.Types.Finding.t()) :: String.t()
```

SARIF level of a finding.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
