From 7259cbf23e66f2397d14085b7d61dd912f7e47a7 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Tue, 23 Jul 2024 17:13:53 +0500 Subject: [PATCH] fix: update log --- pkg/flag/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/flag/options.go b/pkg/flag/options.go index 51fd89c53601..b485b74ef677 100644 --- a/pkg/flag/options.go +++ b/pkg/flag/options.go @@ -413,7 +413,7 @@ func (o *Options) enableSBOM() { if o.Format == types.FormatCycloneDX || o.Format == types.FormatSPDX || o.Format == types.FormatSPDXJSON { // Vulnerability scanning is disabled by default for CycloneDX. if !viper.IsSet(ScannersFlag.ConfigName) { - log.Info(fmt.Sprintf(`"--format %s" disables security scanning. Specify "--scanners vuln" explicitly if you want to include vulnerabilities in the CycloneDX report.`, o.Format)) + log.Info(fmt.Sprintf(`"--format %[1]s" disables security scanning. Specify "--scanners vuln" explicitly if you want to include vulnerabilities in the "%[1]s" report.`, o.Format)) o.Scanners = nil } o.Scanners.Enable(types.SBOMScanner)