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 fb0e8bf commit 0bfa331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/kubviz/plugins/trivy/trivy_sbom.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ 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 --timeout 60m --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 0bfa331

Please sign in to comment.