From e91b96b81dc3438bfbf8a9345ed3b91e472678f3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 26 May 2026 06:12:53 +0000 Subject: [PATCH] docs: clarify cve enable config semantics Agent-Logs-Url: https://github.com/project-zot/zot/sessions/1ad9a48e-b34b-4cf5-8672-fcad1eec752f Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com> --- pkg/extensions/config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/extensions/config/config.go b/pkg/extensions/config/config.go index 02c7597b..ac4a08c6 100644 --- a/pkg/extensions/config/config.go +++ b/pkg/extensions/config/config.go @@ -53,6 +53,8 @@ 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. 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