Ensure custom tlsSecurityProfile configured for IngressController uses secure TLS version
An XCCDF Rule
Description
The configuration tlsSecurityProfile
specifies TLS configurations
to be used while establishing connections with the externally exposed
servers. Though secure transport mode is used for establishing connections,
the protocols used may not always be strong enough to avoid interception and
manipulation of the data in transport. When Custom TLS Security profile is
used it's always better to configure TLS version 1.2 or newer to avoid any
security breaches.
Update minTLSVersion configured in Custom tlsSecurityProfile using the following command:
oc patch -n openshift-ingress-operator ingresscontrollers.operator.openshift.io default --type 'merge' --patch '{"spec":{"tlsSecurityProfile":{"custom":{"minTLSVersion":"VersionTLS12"}}}}'For more information, follow OpenShift documentation: the relevant documentation.
warning alert: Warning
/apis/operator.openshift.io/v1/namespaces/openshift-ingress-operator/ingresscontrollers/default
API endpoint to the local /apis/operator.openshift.io/v1/namespaces/openshift-ingress-operator/ingresscontrollers/default
file. Rationale
The authenticity and integrity of the container platform and communication between nodes and components must be secure. If an insecure protocol, cipher, or algorithms is used, during transmission of data, the data can be intercepted and manipulated. To thwart the manipulation of the data during transmission secure protocol, cipher and algorithms must be used.
- ID
- xccdf_org.ssgproject.content_rule_ingress_controller_tls_security_profile_custom_min_tls_version
- Severity
- Medium
- References
- Updated
Remediation - Kubernetes Patch
apiVersion: operator.openshift.io/v1
kind: IngressController
metadata:
name: default
namespace: openshift-ingress-operator
spec: