From b6269bed3a9fb94e2a40f2fbefda4f5065854313 Mon Sep 17 00:00:00 2001 From: Piotr Pawlowski Date: Thu, 21 Dec 2023 00:52:30 +0100 Subject: [PATCH] render/sarif: create valid sarif results output file Existing output seems not to be valid. This PR adds required fields in the output file. Fixes #559 --- renderer/sarif/sarif.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/renderer/sarif/sarif.go b/renderer/sarif/sarif.go index 1f7ec10..6fa6855 100644 --- a/renderer/sarif/sarif.go +++ b/renderer/sarif/sarif.go @@ -85,9 +85,6 @@ func Output(input *scorecard.Scorecard) io.Reader { Driver: sarif.Driver{ Name: "kube-score", }, }, - Invocation: sarif.Invocation{ - - }, }, Results: results, }