From 9099db8ed4c8b66d042a57dbcf09a8316aba7808 Mon Sep 17 00:00:00 2001 From: DJ Schleen Date: Mon, 6 Nov 2023 21:59:52 -0700 Subject: [PATCH] Debug configs --- .vscode/launch.json | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 7b15e2b..ad52040 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,10 +4,6 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ - - - - { "name": "Debug Folder (OSV)", "type": "go", @@ -46,6 +42,22 @@ "request": "launch", "mode": "auto", "program": "${workspaceFolder}/main.go", + "args": ["--debug=true", "--exitcode","--severity=moderate", "--provider=ossindex", "scan", "./_TESTDATA_/sbom/juiceshop.cyclonedx.json"] + }, + { + "name": "Debug File (OSS Index - railsgoat, severity = high, exitcode)", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}/main.go", + "args": ["--debug=true", "--exitcode","--severity=critical", "--provider=ossindex", "scan", "./_TESTDATA_/sbom/railsgoat.cyclonedx.json"] + }, + { + "name": "Debug File (OSS Index - juiceshop, severity = moderate, exitcode)", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}/main.go", "args": ["--debug=true", "--severity=moderate", "--provider=ossindex", "scan", "./_TESTDATA_/sbom/juiceshop.cyclonedx.json"] }, {