SV-257556r961227_rule
V-257556
SRG-APP-000297-CTR-000705
CNTR-OS-000650
CAT III
10
Configure the web console's logout redirect to direct to an appropriate logout page. If OpenShift is configured to use an OIDC provider, then the redirect needs to first go to the OIDC provider's logout page, and then it can be redirected to another logout page as needed.
Run the following command to update the console:
oc patch console.config.openshift.io cluster --type merge -p '{"spec":{"authentication":{"logoutRedirect":"<LOGOUT_URL>"}}}'
where LOGOUT_URL is set to the logout page.
Verify the logout redirect setting in web console configuration is set by executing the following:
oc get console.config.openshift.io cluster -o jsonpath='{.spec.authentication.logoutRedirect}{"\n"}'
If nothing is returned, this is a finding.
V-257556
False
CNTR-OS-000650
Verify the logout redirect setting in web console configuration is set by executing the following:
oc get console.config.openshift.io cluster -o jsonpath='{.spec.authentication.logoutRedirect}{"\n"}'
If nothing is returned, this is a finding.
M
5547