Skip to content

Commit

Permalink
fix: update log
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Jul 23, 2024
1 parent 79ae6dc commit 7259cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/flag/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7259cbf

Please sign in to comment.