Convert-to-SARIF Mode
Overview
Convert-to-SARIF Mode - Usage
npx mobbdev@latest convert-to-sarif --helpnpx mobbdev@latest convert-to-sarif --help
cli.mjs convert-to-sarif
Convert an existing SAST report to SARIF format.
Options:
--input-file-path Original SAST report file path [string] [required]
--input-file-format SAST report file type [required] [choices: "FortifyFPR"]
--output-file-path Output SARIF report file path [string] [required]
--code-path-patterns Glob-like patterns. Any code node with this pattern makes the issue be included. [array]
--help Show help [boolean]
Examples:
npx mobbdev@latest convert-to-sarif --input-file-path convert an existing SAST report to SARIF format
/path/to/vuln-report.fpr --input-file-format FortifyFPR
--output-file-path /path/to/vuln-report.sarif
--code-path-patterns **/*.ts --code-path-patterns **/*.jsExample
Use case - Chaining with Analyze Mode
Last updated