{
  "$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
  "version": "2.1.0",
  "runs": [
    {
      "tool": {
        "driver": {
          "name": "sbomlyze",
          "version": "dev",
          "informationUri": "https://github.com/rezmoss/sbomlyze",
          "rules": [
            {
              "id": "integrity-drift",
              "name": "Integrity Drift Detected",
              "shortDescription": {
                "text": "Package digest changed without a version change"
              },
              "fullDescription": {
                "text": ""
              },
              "defaultConfiguration": {
                "level": "error"
              },
              "properties": {
                "tags": [
                  "security",
                  "supply-chain"
                ]
              }
            },
            {
              "id": "owned-file-drift",
              "name": "Owned File Drift Detected",
              "shortDescription": {
                "text": "Files owned by a package changed without a version change"
              },
              "fullDescription": {
                "text": ""
              },
              "defaultConfiguration": {
                "level": "error"
              },
              "properties": {
                "tags": [
                  "security",
                  "supply-chain"
                ]
              }
            },
            {
              "id": "new-component",
              "name": "New Component Added",
              "shortDescription": {
                "text": "A new component was added to the SBOM"
              },
              "fullDescription": {
                "text": ""
              },
              "defaultConfiguration": {
                "level": "note"
              }
            },
            {
              "id": "removed-component",
              "name": "Component Removed",
              "shortDescription": {
                "text": "A component was removed from the SBOM"
              },
              "fullDescription": {
                "text": ""
              },
              "defaultConfiguration": {
                "level": "note"
              }
            },
            {
              "id": "version-change",
              "name": "Version Changed",
              "shortDescription": {
                "text": "Component version was updated"
              },
              "fullDescription": {
                "text": ""
              },
              "defaultConfiguration": {
                "level": "note"
              }
            },
            {
              "id": "deep-dependency",
              "name": "Deep Transitive Dependency",
              "shortDescription": {
                "text": "New dependency introduced at depth 3 or greater"
              },
              "fullDescription": {
                "text": ""
              },
              "defaultConfiguration": {
                "level": "warning"
              },
              "properties": {
                "tags": [
                  "security",
                  "supply-chain"
                ]
              }
            },
            {
              "id": "policy-violation",
              "name": "Policy Violation",
              "shortDescription": {
                "text": "SBOM policy rule was violated"
              },
              "fullDescription": {
                "text": ""
              },
              "defaultConfiguration": {
                "level": "error"
              }
            }
          ]
        }
      },
      "results": [
        {
          "ruleId": "integrity-drift",
          "level": "error",
          "message": {
            "text": "Component github.com/google/go-containerregistry @ /go.mod has hash change without version change (potential supply chain attack)"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "ggcr-goprivate.syft.json"
                }
              }
            }
          ],
          "partialFingerprints": {
            "primaryLocationLineHash": "80e8e9ba8de143f9ae0631ba9765463a:1"
          }
        }
      ]
    }
  ]
}
