Skip to content

Commit

Permalink
scheduler-added-trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
an1l4 committed Dec 21, 2023
1 parent 1e49f04 commit 15548a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agent/kubviz/scheduler_watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,8 @@ func (j *TrivyJob) Run() {
// Call the Trivy function with the provided config and js
err := RunTrivySbomScan(j.config, j.js)
LogErr(err)
err = RunTrivyImageScans(j.config, j.js)
LogErr(err)
err = RunTrivyK8sClusterScan(j.js)
LogErr(err)
}

0 comments on commit 15548a7

Please sign in to comment.