fix kube-bench JSON extraction
Kube-bench CIS scan / Scan ephemeral K3s cluster (push) Failing after 2m19s
Kube-bench CIS scan / Scan ephemeral K3s cluster (push) Failing after 2m19s
This commit is contained in:
@@ -78,7 +78,7 @@ jobs:
|
||||
awk '
|
||||
BEGIN {capture = 0}
|
||||
!capture && index($0, "{") > 0 {
|
||||
sub(/^.*\{/, "{")
|
||||
sub(/^[^{]*/, "")
|
||||
capture = 1
|
||||
}
|
||||
capture {print}
|
||||
|
||||
Reference in New Issue
Block a user