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