Use the SARIF Multitool to transform, enrich, filter, result match, and do other common operations against SARIF files. See Multitool Usage for mode documentation and specific examples.
npm i -g @microsoft/sarif-multitool
npx @microsoft/sarif-multitool <args>
import {spawnSync} from 'child_process'
import multitoolPath from '@microsoft/sarif-multitool'
spawnSync(multitoolPath, ['<args>'], { stdio: 'inherit' })
This package will have version 0.x.y as a pre-release, and then will follow the SARIF SDK versioning scheme. See the Release History for changes in each version.
Contribute to the SARIF Multitool at Sarif SDK.