---
sourceDocument: Brazil IT Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-service-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# OpenShift policies

# Red Hat
OpenShift policies in DevOps Config {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Red Hat OpenShift policies in DevOps Config

ServiceNow's DevOps Config Policy content pack includes predefined policies to validate Red Hat OpenShift configurations.
These policies help ensure that your OpenShift setup aligns with best practices and security standards by checking key parameters related to audit logs, authentication, container privileges, and API server settings.
Show full answer Show less  
Note that starting with the Washington D.C. release, DevOps Config is being prepared for deprecation and will no longer be activated on new instances, although existing support continues. Default policies cannot be edited directly, but you can duplicate and customize copies to fit your environment.

## Key Features

* **Audit Log Configuration Checks:** Policies verify settings such as maximum backup files retained, maximum log file size, and correct audit log file paths for OpenShift API servers. Non-compliance is flagged if these parameters are missing or out of specified limits.
* **Authentication Mechanism Validation:** Policies ensure that basic authentication files and static token files are not used for API server authentication, promoting more secure methods.
* **Container Security Checks:** Evaluation of whether containers are running without privileged access and that security context constraints prevent sharing the host PID namespace, reducing potential risk from container privilege escalation.
* **API Server and Kubelet Settings Verification:** Checks include confirming that the NamespaceLifecycle admission plugin is enabled, the Kubelet read-only port is disabled, global request timeout settings are within limits, and streaming connection timeouts are active to prevent denial-of-service risks.

## Practical Use for ServiceNow Customers

These policies enable you to systematically validate and enforce secure, compliant OpenShift configurations directly within your ServiceNow environment. By applying or customizing these policies, you can detect misconfigurations early, maintain audit readiness, and enhance your cluster's security posture without manual checks.

Each policy includes parameters such as lower and upper limits for numeric settings, allowing you to tailor thresholds to your organizational requirements. Alerts generated from policy evaluations guide administrators in promptly resolving configuration issues.  
By default, the DevOps Config Policy content pack contains a set of policies to validate your Red Hat
OpenShift configuration.
Important:  
Starting with the Washington D.C. release, DevOps Config is being prepared for future deprecation. It will be hidden and no longer activated on new instances but will continue to be supported. You can use or customize these default DevOps Config policies to validate that your configuration data content is conformable, or [administrate the full life cycle of PaCE policies](https://www.servicenow.com/docs/access?context=pace-managing-policies&version=brazil&pubname=brazil-servicenow-platform&ft:locale=en-US).  
Note:  
You can't modify the default policies. However, you can make a copy of the policy and customize your copy.

|-|
| [A](https://www.servicenow.com/docs/DA96jvsrWQfdV_72BFjTkQ#devops-config-os-policies__a) \| [B](https://www.servicenow.com/docs/DA96jvsrWQfdV_72BFjTkQ#devops-config-os-policies__b) \| [C](https://www.servicenow.com/docs/DA96jvsrWQfdV_72BFjTkQ#devops-config-os-policies__c) \| [H](https://www.servicenow.com/docs/DA96jvsrWQfdV_72BFjTkQ#devops-config-os-policies__h) \| [N](https://www.servicenow.com/docs/DA96jvsrWQfdV_72BFjTkQ#devops-config-os-policies__n) \| [R](https://www.servicenow.com/docs/DA96jvsrWQfdV_72BFjTkQ#devops-config-os-policies__r) \| [S](https://www.servicenow.com/docs/DA96jvsrWQfdV_72BFjTkQ#devops-config-os-policies__s) \| [T](https://www.servicenow.com/docs/DA96jvsrWQfdV_72BFjTkQ#devops-config-os-policies__t) |
[Table 1. First-letter navigation for policies on this page]

{#devops-config-os-policies__table_gsp_4vm_nzb}

## Audit Log Maximum Backup Is Set (openshift_audit_log_maxbackup_is_set) {#devops-config-os-policies__a}

Checks whether the maximum number of old audit log files to be retained for API servers is set.

Results into a non-compliant status when the `--audit-log-maxbackup` argument is either not set or not within the specified limits.

Input arguments
:
    * lowerLimit
      * The lower limit of the `--audit-log-maxbackup` argument.
      * Type: Integer
      * Mandatory: False
      {#devops-config-os-policies__ul_qmh_vvd_zyb}
    * upperLimit
      * The upper limit of the `--audit-log-maxbackup` argument.
      * Type: Integer
      * Mandatory: False
      {#devops-config-os-policies__ul_rmh_vvd_zyb}
    {#devops-config-os-policies__ul_dh1_zmt_nzb}

## Audit Log Maximum File Size Is Set (openshift_audit_log_maxsize_is_set) {#devops-config-os-policies__section_y2d_zw1_wxb}

Checks whether the maximum file size specified as the rollover threshold for audit log files is set. After an audit log file reaches the maximum file size, the original audit log file is renamed and a new log file with the original
name is created.

Results into a non-compliant status when the `--audit-log-maxsize` argument is either not set or not within the specified limits.

Input arguments
:
    * lowerLimit
      * The lower memory limit of the `--audit-log-maxsize` argument.
      * Type: Integer
      * Mandatory: True
      {#devops-config-os-policies__ul_amt_12r_wxb}
    * upperLimit
      * The upper memory limit of the `--audit-log-maxsize` argument.
      * Type: Integer
      * Mandatory: True
      {#devops-config-os-policies__ul_bpx_xtd_zyb}
    {#devops-config-os-policies__ul_grm_1nt_nzb}

## Audit Log Path Isn't Set (openshift_audit_log_path_is_not_set) {#devops-config-os-policies__section_yfl_qw1_wxb}

Checks whether the auditing is enabled in OpenShift and the audit log file path is set.

Results into a non-compliant status when either the `--audit-log-path` argument for openshift-kube-apiserver isn't set to /var/log/kube-apiserver/audit.log or the
`--audit-log-path` argument for openshift-apiserver isn't set to /var/log/openshift-apiserver/audit.log.

## Basic Auth File Isn't Set (openshift_basic_auth_file_is_not_set) {#devops-config-os-policies__b}

Checks whether OpenShift doesn't use the basic authentication mechanism to authenticate requests to the API server.

Results into a non-compliant status when the `--basic-auth-file` argument is set.

## Containers Run Without Privilege Access (openshift_container_is_not_privileged) {#devops-config-os-policies__c}

Checks whether the containers within an OpenShift pod are run without privileged access.

Results into a non-compliant status when the privileged field for a container is set to `true`.

## Host PID Namespace Is Disabled (openshift_scc_with_hostPID_namespace_disabled) {#devops-config-os-policies__h}

Checks whether there is at least one security context constraint (SCC) is defined that doesn't allow containers to share the host PID namespace.

Results into a warning when there's an SCC defined with the allowHostPID field set to `true`.

## NamespaceLifecycle Plugin Is Enabled (openshift_namespacelifecycle_plugin_is_enabled) {#devops-config-os-policies__n}

Checks whether the admission control plugin NamespaceLifecycle is enabled.

Results into a non-compliant status when the NamespaceLifecycle plugin is disabled.

## Read-Only Port Is Disabled (openshift_read_only_port_disabled) {#devops-config-os-policies__r}

Checks whether the Kubelet API server isn't using the read-only port or the read-only port is set to `0`.

Results into a non-compliant status when the `kubelet-read-only-port` argument isn't set to `0`.

## Request Timeout Is Set (openshift_request_timeout_is_set) {#devops-config-os-policies__section_nsh_hx1_wxb}

Checks whether the global request timeout for API servers is set.

Results into a non-compliant status when the `--min-request-timeout` argument is either not set or not within the specified limits.

Input arguments
:
    * lowerLimit
      * The lower limit of the `--min-request-timeout` argument.
      * Type: Integer
      * Mandatory: False
      {#devops-config-os-policies__ul_p14_p5d_zyb}
    * upperLimit
      * The upper limit of the `--min-request-timeout` argument.
      * Type: Integer
      * Mandatory: False
      {#devops-config-os-policies__ul_q14_p5d_zyb}
    {#devops-config-os-policies__ul_w11_cnt_nzb}

## Streaming Connections Timeout Isn't Disabled (openshift_streaming_connections_timeout_not_disabled) {#devops-config-os-policies__s}

Checks whether the timeouts are set on streaming connections to ensure protection against denial-of-service attacks, inactive connections, and ephemeral ports exhaustion.

Results into a non-compliant status when the `streamingConnectionIdleTimeout` argument is set to `0` in the Kubelet config file.

## Token Auth File Isn't Set (openshift_token_auth_file_is_not_set) {#devops-config-os-policies__t}

Checks whether OpenShift doesn't use a static token file to authenticate requests to the API server.

Results into a non-compliant status when the `--token-auth-file` argument is set.

