Convert-to-SARIF Mode
Overview
Convert an existing SAST report to SARIF format
Main usage is to help trim down a large SAST report (i.e. Fortify FPR) that contains the result of multiple repositories to a smaller SARIF report that is focused on a single repository.
Uses
--code-path-patterns
parameter to filter and perform the splitting of the report
Convert-to-SARIF Mode - Usage
To check what options are available under the convert-to-sarif mode, run:
Here is the output of the help file:
Example
To get fixes for a pre-generated SAST report, run the Bugsy Analyze command. Example:
Use case - Chaining with Analyze Mode
The idea is to chain this command together with npx mobbdev@latest analyze to perform the fix analysis on the target repository. I.e.
Last updated
Was this helpful?