diff --git a/compliance/validations/istio/all-namespaces-istio-injected/tests.yaml b/compliance/validations/istio/all-namespaces-istio-injected/tests.yaml index 1bb1a854e..0a7e4d8c4 100644 --- a/compliance/validations/istio/all-namespaces-istio-injected/tests.yaml +++ b/compliance/validations/istio/all-namespaces-istio-injected/tests.yaml @@ -8,4 +8,3 @@ pass: resources: resources.json permutation: '.namespaces |= map(if .metadata.name == "grafana" then del(.metadata.labels["istio-injection"]) else . end)' expected-validation: false - \ No newline at end of file diff --git a/compliance/validations/istio/all-namespaces-istio-injected/validation.yaml b/compliance/validations/istio/all-namespaces-istio-injected/validation.yaml index c31856b93..d32392e6c 100644 --- a/compliance/validations/istio/all-namespaces-istio-injected/validation.yaml +++ b/compliance/validations/istio/all-namespaces-istio-injected/validation.yaml @@ -51,5 +51,5 @@ provider: output: validation: validate.validate observations: - - validate.msg - - validate.msg_exempt_namespaces + - validate.msg + - validate.msg_exempt_namespaces diff --git a/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/validation.yaml b/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/validation.yaml index 03094089d..d4abe2920 100644 --- a/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/validation.yaml +++ b/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/validation.yaml @@ -1,6 +1,6 @@ metadata: name: istio-authorization-policies-require-authentication - uuid: e38c0695-10f6-40b6-b246-fa58b26ccd25 + uuid: e38c0695-10f6-40b6-b246-fa58b26ccd25 domain: type: kubernetes kubernetes-spec: @@ -30,7 +30,7 @@ provider: validate { result_auth_policy.result } - + msg = result_auth_policy.msg result_auth_policy = {"result": true, "msg": msg} { @@ -45,4 +45,3 @@ provider: } else = {"result": false, "msg": msg} { msg := "Authorization Policy does not require authentication" } - \ No newline at end of file