microsoft / sarif-tools

A set of Python command line tools for working with SARIF files produced by code analysis tools
MIT License
76 stars 19 forks source link

Support for `none` as a SARIF severity level #47

Open venkat-raman-wday opened 2 months ago

venkat-raman-wday commented 2 months ago

Hello, 3.27.10 allows for none as a valid severity level. However, sarif_file.py:16 supports only the three "main" severities. Can we request support "none" as well. The SARIF Viewer extension for VS Code does support none as a valid severity level. But the sarif-tools library doesn't produce a record for findings count by "none" although get_records() does produce it correctly. Thanks!

balgillo commented 2 months ago

Thanks for pointing this out... we will work on this change.