SARIF
SARIF 2.1.0. The log names the published schema in $schema.
- Each rule becomes a
reportingDescriptor; findings becomeresultswithpartialFingerprintscarrying the samefingerprintthe baseline uses, so GitHub can track a finding across commits. - Every rule is listed, including rules that are off by default. A rule that is off by default
carries
defaultConfiguration.enabled: false. SARIF has no “off” level, so a consumer should readenabledrather thanlevelto learn that a rule does not run by default. - The descriptors state each rule’s built-in default, not the run’s
--ruleor configuration overrides. A rule enabled for the run can produce results although its descriptor saysenabled: false, and a rule turned off for the run still shows its built-in default. A rule that is off for the run is not computed, so it never backs a result. verdicttravels in a result property, since SARIF has no field for it.- Artifact locations are URI references: after the shared path sanitization, UTF-8 bytes outside
letters, digits,
-._~and/are percent-encoded. For example,src/[id]/a b#c%41.test.tsbecomessrc/%5Bid%5D/a%20b%23c%2541.test.ts. Decode once to recover the sanitized path; JSON, JSONL and HTML keep plain path strings. Regions and fingerprints are unchanged. See Output safety for the shared sanitization limits. - An incomplete run sets
runs[0].invocations[0].properties.incomplete.runs[0].invocations[0].properties.incompleteCausescounts the causes, keyed and valued as in thejsonreport, and is present with false/zero values on a complete run. runs[0].invocations[0].properties.qualityGatecarries the threshold’s figures as in thejsonreport:errorCases,eligibleCasesandpercentage.- Excluded files are not results: the per-file list and reason codes are in the
jsonandjsonlreports only (see Excluded files).
Back to Reports.