{ "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", "version": "2.1.0", "runs": [ { "tool": { "driver": { "name": "eslint", "informationUri": "https://eslint.org", "rules": [ { "id": "example-rule-id", "shortDescription": { "text": "Example Rule" }, "helpUri": "https://example.com", "properties": { "category": "Best Practices" } } ], "properties": { "RawName": "eslint" } } }, "invocations": [ { "toolConfigurationNotifications": [ { "locations": [ { "physicalLocation": { "artifactLocation": { "uri": "file:///demo/path/my/file/path.js", "index": 1 }, "region": { "startLine": 1, "startColumn": 1 } } } ], "message": { "text": "Example Error" }, "level": "error", "descriptor": { "id": "ESL1111" } } ], "executionSuccessful": false } ], "originalUriBaseIds": { "file:///demo/path/": { "uri": "file:///demo/path" } }, "artifacts": [ { "location": { "uri": "file:///demo/path/my/file/path.js" } } ], "results": [ { "ruleId": "example-rule-id", "ruleIndex": 1, "level": "error", "message": { "text": "Example error" }, "locations": [ { "physicalLocation": { "artifactLocation": { "uri": "path/my/file/path.js", "uriBaseId": "file:///demo/path/" }, "region": { "startLine": 1, "startColumn": 1 } } } ] } ], "versionControlProvenance": [ { "repositoryUri": "https://dev.azure.com/example/demo/_git/my-project", "revisionId": "c21d7bd50efdf5abc661c52ee1d90455371b0a72" } ] } ] }