Skip to content

Commit

Permalink
testing27
Browse files Browse the repository at this point in the history
  • Loading branch information
an1l4 committed Aug 22, 2023
1 parent ead761a commit 737a6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/kubviz/trivy_sbom.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func RunTrivySbomScan(config *rest.Config, js nats.JetStreamContext, wg *sync.Wa
log.Printf("Error executing Trivy -h command %v", err)
}

command := "trivy image --format cyclonedx docker.io/crossplane/crossplane@sha256:50641735fad95c8a9eb27008b44f6cad14861efcb615d70ba10b8100b2b45bf7"
command := "trivy image --format cyclonedx docker.io/crossplane/crossplane@sha256:50641735fad95c8a9eb27008b44f6cad14861efcb615d70ba10b8100b2b45bf7 --cache-dir /tmp/.cache"
out, err := executeCommandSbom(command)

log.Println("trivy docker-crossplane command executed******")
Expand Down

0 comments on commit 737a6a5

Please sign in to comment.