fix kube-bench JSON extraction
Kube-bench CIS scan / Scan ephemeral K3s cluster (push) Failing after 2m19s

This commit is contained in:
2026-08-11 17:51:06 -04:00
parent f7fb479631
commit 992f2e2b07
+1 -1
View File
@@ -78,7 +78,7 @@ jobs:
awk '
BEGIN {capture = 0}
!capture && index($0, "{") > 0 {
sub(/^.*\{/, "{")
sub(/^[^{]*/, "")
capture = 1
}
capture {print}