TMAegisBeta
More rules for openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.19

Ensure that the audit logs are forwarded off the cluster for retention

MediumLevel 1Manual reviewopenshift

Description

Retain the logs for at least 30 days or as appropriate. The benchmark marks this recommendation Manual.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

OpenShift audit works at the API server level, logging all requests coming to the server. Audit is on by default. Best practice is to ship audit logs off the cluster for retention. OpenShift includes the optional Cluster Logging operator and the elasticSearch operator. OpenShift cluster logging can be configured to send logs to destinations outside of your OpenShift Container Platform cluster instead of the default elasticsearch log store using the following methods: • Sending logs using the fluentd forward protocol.

How it is fixed

Fix method: Guidance or infrastructure patch

Follow the documentation for log forwarding. Forwarding logs to third party systems.

Properties

Operating systems
Any
Tags
openshiftapi-serverlogging
Reference
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.19 Ensure that the audit logs are forwarded off the cluster for retention