Skip to content

Commit

Permalink
trivy test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vijeyash1 committed Feb 27, 2024
1 parent e2ad895 commit fb0e8bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/kubviz/plugins/trivy/trivy_sbom.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ func RunTrivySbomScan(config *rest.Config, js nats.JetStreamContext) error {
}
for _, image := range images {

// sbomcmd := fmt.Sprintf("trivy image --format cyclonedx %s --cache-dir %s", image.PullableImage, trivySbomCacheDir)
sbomcmd := fmt.Sprintf("trivy image --format cyclonedx %s", image.PullableImage)
sbomcmd := fmt.Sprintf("trivy image --format cyclonedx %s --cache-dir %s", image.PullableImage, trivySbomCacheDir)
// sbomcmd := fmt.Sprintf("trivy image --format cyclonedx %s", image.PullableImage)

out, err := executeCommandSbom(sbomcmd)

Expand Down

0 comments on commit fb0e8bf

Please sign in to comment.