From 3a65087851d8bf0d168ffb969327231d47a21603 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Mon, 25 May 2026 23:37:47 -0700 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- pkg/extensions/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/extensions/config/config.go b/pkg/extensions/config/config.go index ac4a08c6..1e6d5961 100644 --- a/pkg/extensions/config/config.go +++ b/pkg/extensions/config/config.go @@ -54,7 +54,7 @@ type SearchConfig struct { type CVEConfig struct { // Enable controls whether CVE scanning is active for search. - // If omitted, CVE scanning defaults to enabled when search is enabled. + // If omitted, this field defaults to enabled when the CVE config block is present and search is enabled. Enable *bool `mapstructure:",omitempty" json:",omitempty"` UpdateInterval time.Duration // should be 2 hours or more, if not specified default be kept as 2 hours Trivy *TrivyConfig