You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across some issues regarding the SARIF format and, when trying to validate on sarif validator. Basically there is three issues:
$schema is outdated, should be https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json or https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json;
driver object in tools should contains version or semanticVersion, following §3.19.2 standard rule;
Summary
I came across some issues regarding the SARIF format and, when trying to validate on sarif validator. Basically there is three issues:
$schema
is outdated, should behttps://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json
orhttps://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json
;tools
should containsversion
orsemanticVersion
, following §3.19.2 standard rule;driver
must be unique, so it can be referenced onresults
.Steps to reproduce the behavior
gosec version
v 2.0
Go version (output of 'go version')
go version go1.15.6 linux/amd64
Operating system / Environment
Linux Ubuntu 20.04
Expected behavior
The file should be validated without issues
Actual behavior
The file has the issues described above
The text was updated successfully, but these errors were encountered: