microsoft / sarif-vscode-extension

SARIF Microsoft Visual Studio Code extension
MIT License
111 stars 50 forks source link

Outdated / Candidate OASIS schema URL is being detected #447

Open yanzv opened 2 years ago

yanzv commented 2 years ago

Based on Fix #363 schema url that is part of the conditional statement is either outdated (https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0) or a Candidate Standard 02 (https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json)

I think the current OASIS standard schema is https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json OASIS Standard

It seems their repository were restructured and the schema file is now https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Documents/CommitteeSpecifications/2.1.0/sarif-schema-2.1.0.json

Is it possible to update the conditional to include both cos2 and os schema URLs?

Thank you!