Skip to content

Commit a5ab558

Browse files
committed
fix
1 parent 3e5f2f9 commit a5ab558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/kubviz/trivy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func executeCommandTrivy(command string) ([]byte, error) {
3030
}
3131
func RunTrivyK8sClusterScan(js nats.JetStreamContext) error {
3232
var report report.ConsolidatedReport
33-
cmdString := "trivy k8s --report summary cluster --exclude-nodes kubernetes.io/arch:amd64 --timeout 20m -f json --cache-dir /tmp/.cache --debug"
33+
cmdString := "trivy k8s --report summary cluster --exclude-nodes kubernetes.io/arch:amd64 --timeout 60m -f json --cache-dir /tmp/.cache --debug"
3434

3535
// Log the command before execution
3636
log.Printf("Executing command: %s\n", cmdString)

0 commit comments

Comments
 (0)