trailofbits / vscode-sarif-explorer

SARIF Explorer: A VSCode extension that helps you visualize and triage static analysis results
https://marketplace.visualstudio.com/items?itemName=trailofbits.sarif-explorer
GNU General Public License v3.0
20 stars 3 forks source link

feat: hack for checklists #20

Open devtooligan opened 5 months ago

devtooligan commented 5 months ago

Adds isChecklist property on Rule which is set to true if rule.properties.checklist == "true". Some display elements are conditionally changed if the result's rule is a checklist.

This change allows us to submit checklist catalog names as Rules in the run section and, checklist items as results below. This way we can maintain one static Sarif file as a repository for all checklist catalogs.

Here is an example Sarif for use with checklists and the new output.

image
CLAassistant commented 3 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.