diff --git a/internal/checker/kubernetes/rules/verify_account_tokens_not_mounted_where_necessary.rego b/internal/checker/kubernetes/rules/verify_account_tokens_not_mounted_where_necessary.rego index 252911f09..9190cb810 100644 --- a/internal/checker/kubernetes/rules/verify_account_tokens_not_mounted_where_necessary.rego +++ b/internal/checker/kubernetes/rules/verify_account_tokens_not_mounted_where_necessary.rego @@ -11,6 +11,8 @@ package lib.kubernetes.CB_K8S_042 import data.lib.kubernetes +resource = kubernetes.resource + validResource := ["CronJob", "Pod"] isValid{ kubernetes.is_controller