Skip to content

Global-localhost/sarif-visualstudio-extension

 
 

Repository files navigation

Microsoft SARIF Viewer

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.

Features

  • View the set of results from a SARIF log file
  • View details about each result, including:
    • Information about the rule that was violated
    • Locations of the defect
    • Code paths and call stacks that lead to the defect
    • Suggested fixes for the defect
    • Details about the static analysis run and the tool that performed it
  • Navigate to the defect location in the target file
  • Extract target files embedded in the SARIF log
  • Preview and apply suggested fixes in the target file with the click of a button
  • Automatically transform SARIF v1 logs to v2
  • Automatically convert log files from many other static analysis formats
  • Open SARIF log files in the SARIF Viewer from your own Visual Studio extension using the SARIF Viewer Interop Library

Installation

The Microsoft SARIF Viewer extension can be downloaded and installed from the Visual Studio Marketplace.

Alternatively, in Visual Studio, open the Extension Manager (Menu: Extensions -> Manage Extensions), search for "Microsoft SARIF Viewer", select the entry, and click on the Download button.

License

Microsoft SARIF Viewer is licensed under the MIT license.

About

SARIF Microsoft Visual Studio Viewer Extension

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 97.0%
  • PowerShell 2.1%
  • Other 0.9%