From 021707dca9f048547320e3ce9fd0faac8f43b7e8 Mon Sep 17 00:00:00 2001 From: MaineK00n Date: Thu, 6 Jun 2024 02:57:01 +0900 Subject: [PATCH] chore: add comment not to import julia --- scanner/base.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scanner/base.go b/scanner/base.go index 1179d4ec49..8c07ec9717 100644 --- a/scanner/base.go +++ b/scanner/base.go @@ -42,6 +42,10 @@ import ( _ "github.com/aquasecurity/trivy/pkg/fanal/analyzer/language/golang/mod" _ "github.com/aquasecurity/trivy/pkg/fanal/analyzer/language/java/gradle" _ "github.com/aquasecurity/trivy/pkg/fanal/analyzer/language/java/pom" + + // Julia is supported for SBOM, not for vulnerability scanning + // https://github.com/aquasecurity/trivy/blob/v0.52.0/pkg/detector/library/driver.go#L84-L86 + // _ "github.com/aquasecurity/trivy/pkg/fanal/analyzer/language/julia/pkg" _ "github.com/aquasecurity/trivy/pkg/fanal/analyzer/language/nodejs/npm" _ "github.com/aquasecurity/trivy/pkg/fanal/analyzer/language/nodejs/pnpm" _ "github.com/aquasecurity/trivy/pkg/fanal/analyzer/language/nodejs/yarn"