mirror of
https://github.com/project-zot/zot.git
synced 2026-06-18 05:28:07 +08:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e91b96b81d
commit
3a65087851
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user