Skip to content

Commit

Permalink
trivy-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithunikzz committed Feb 29, 2024
1 parent 2f3caa5 commit acd6fee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions agent/kubviz/k8smetrics_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"log"
"os"

// "os/signal"
// "syscall"
"time"
Expand Down Expand Up @@ -73,7 +74,7 @@ func main() {
// }
var (
config *rest.Config
// clientset *kubernetes.Clientset
//clientset *kubernetes.Clientset
)

var mtlsConfig mtlsnats.MtlsConfig
Expand Down Expand Up @@ -147,10 +148,10 @@ func main() {
// events.LogErr(err)
// err = trivy.RunTrivyImageScans(config, js)
// events.LogErr(err)
err = trivy.RunTrivyK8sClusterScan(js)
events.LogErr(err)
err = trivy.RunTrivySbomScan(config, js)
events.LogErr(err)
// err = trivy.RunTrivyK8sClusterScan(js)
// events.LogErr(err)
// err = kubescore.RunKubeScore(clientset, js)
// events.LogErr(err)
}
Expand Down

0 comments on commit acd6fee

Please sign in to comment.