This release of the Microsoft SARIF Viewer extension for Visual Studio is compatible with the final OASIS Committee Specification version of the SARIF file format.
The Microsoft SARIF Viewer extension for Visual Studio provides a convenient UI for analyzing static analysis log files and taking action on the items they contain. The SARIF Viewer integrates with the Visual Studio environment, displaying a list of analysis results in the Error List and result details in a dockable tool window.
To open a SARIF log, or another supported log format (see below), use the "Import Static Analysis Log File to Error List" flyout on the Tools menu. You can also open .sarif files using File > Open, or by dragging and dropping into the Visual Studio editor window.
Important: Be sure your Error List is not set to filter items based on the item type. For example, the Error List shown below is filtering out "warning" and "message" items.
Supported Static Analysis Formats
The SARIF Viewer for Visual Studio can convert the following log file formats to SARIF:
If you encounter issues, or have thoughts you'd like to share, please visit https://github.com/Microsoft/sarif-visualstudio-extension/issues.