Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Red Hat OpenShift Container Platform 4
Kubernetes Settings
Kubernetes - Account and Access Control
Restrict Automounting of Service Account Tokens
Restrict Automounting of Service Account Tokens
An XCCDF Rule
Details
Profiles
Prose
Restrict Automounting of Service Account Tokens
Medium Severity
Service accounts tokens should not be mounted in pods except where the workload running in the pod explicitly needs to communicate with the API server. To ensure pods do not automatically mount tokens, set
automountServiceAccountToken
to
false
.