diff --git a/components/consumers/stdout-json/main.go b/components/consumers/stdout-json/main.go index 979a132f2..c46139ebd 100644 --- a/components/consumers/stdout-json/main.go +++ b/components/consumers/stdout-json/main.go @@ -79,7 +79,6 @@ func getRawIssue(scanStartTime time.Time, res *v1.LaunchToolResponse, iss *v1.Is } func getEnrichedIssue(scanStartTime time.Time, res *v1.EnrichedLaunchToolResponse, iss *v1.EnrichedIssue) ([]byte, error) { - var sbom map[string]interface{} if iss.GetRawIssue().GetCycloneDXSBOM() != "" { if err := json.Unmarshal([]byte(iss.GetRawIssue().GetCycloneDXSBOM()), &sbom); err != nil { diff --git a/components/producers/cdxgen/BUILD b/components/producers/cdxgen/BUILD index f1386fded..dd248309f 100644 --- a/components/producers/cdxgen/BUILD +++ b/components/producers/cdxgen/BUILD @@ -16,21 +16,6 @@ go_binary( ], ) -go_test( - name = "cdxgen_test", - srcs = [ - "main.go", - "main_test.go", - ], - deps = [ - "//api/proto/v1", - "//components/producers", - "//pkg/cyclonedx", - "//pkg/sarif", - "//third_party/go/github.com/stretchr/testify", - ], -) - buildkit_distroless_image( name = "image", srcs = [":cdxgen-parser"],