Skip to content

Commit

Permalink
feat: allow empty source
Browse files Browse the repository at this point in the history
  • Loading branch information
zema1 committed Aug 24, 2024
1 parent 2b2b75a commit 796ed04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ctrl/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ func (c *WatchVulnAppConfig) Init() {
if c.Interval == "" {
c.Interval = "1h"
}
if len(c.Sources) == 0 {
c.Sources = []string{"avd", "nox", "oscs", "threatbook", "seebug", "struts2", "kev"}
}
}

func (c *WatchVulnAppConfig) DBConnForEnt() (string, string, error) {
Expand Down

0 comments on commit 796ed04

Please sign in to comment.