From 40817e9899ae63ee785a5962c2e833736ba304bb Mon Sep 17 00:00:00 2001 From: Watson Sato Date: Mon, 19 Feb 2024 11:18:46 +0100 Subject: [PATCH] Use variable for remediation of rule The rule's extended definition checks are leveragin the variable for the check, so the remediation should also use it. --- .../oauth_or_oauthclient_token_maxage/kubernetes/shared.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/openshift/authentication/oauth_or_oauthclient_token_maxage/kubernetes/shared.yml b/applications/openshift/authentication/oauth_or_oauthclient_token_maxage/kubernetes/shared.yml index ff63bff601e..c14dd722aa1 100644 --- a/applications/openshift/authentication/oauth_or_oauthclient_token_maxage/kubernetes/shared.yml +++ b/applications/openshift/authentication/oauth_or_oauthclient_token_maxage/kubernetes/shared.yml @@ -5,4 +5,4 @@ metadata: name: cluster spec: tokenConfig: - accessTokenMaxAgeSeconds: 28800 + accessTokenMaxAgeSeconds: {{.var_oauth_token_maxage}}