Open michaelcfanning opened 6 years ago
What is it about this log that makes it invalid? Result has no required properties.
result.message actually is required. the point here is that the SARIF UI is empty for this case. i find this it's very helpful minimally to get access to the 'open log file' option in this case.
Try copying the following into a file with SARIF extension then load.
Observe: SARIF UI is empty on double-click. Can we do something simple, like put an error notice in the UI about an invalid file?
{"$schema":"http://json.schemastore.org/sarif-2.0.0","version":"2.0.0","runs":[{"tool":{"name":"BadProducer"},"results":[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]}]}