Skip to main content

run_sarif_tools

Function run_sarif_tools 

Source
pub fn run_sarif_tools(root: &Path, tools: &[SarifTool]) -> DiagnosticsReport
Expand description

Run external SARIF tools and merge their output into a DiagnosticsReport. Each tool’s command is run with {root} replaced by the project root path. Tools must emit SARIF 2.1.0 JSON to stdout.