{
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "Demo Scanner",
"version": "1.2.3",
"rules": [
{"id": "SEC001", "name": "Hard-coded secret", "defaultConfiguration": {"level": "error"}},
{"id": "STYLE001", "defaultConfiguration": {"level": "warning"}}
]
}
},
"results": [
{"ruleId": "SEC001", "level": "error", "message": {"text": "password=very-secret"}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "file:///private/app.js"}}}]},
{"ruleId": "STYLE001", "level": "warning", "message": {"text": "private source"}},
{"ruleId": "STYLE001", "level": "note", "message": {"text": "informational"}}
]
},
{
"tool": {"driver": {"name": "Dependency Scanner", "rules": [{"id": "DEP001", "defaultConfiguration": {"level": "warning"}}]}},
"results": [
{"ruleId": "DEP001", "level": "warning", "message": {"text": "outdated package"}}
]
}
]
}