Mondoo Docs

Kubernetes service account

k8s.serviceaccount MQL resource for querying Kubernetes infrastructure with cnquery and cnspec.

KubernetesPrivate Resource

Kubernetes service account

Min version: 5.31.0Defaults: namespace name created

Relationships

Mini Map
Kubernetes
2 resources · 2 relationshipsClick to select, expand fields to see properties.

Fields (13)

FieldTypeDescription
annotations
map[string]stringKubernetes annotations
automountServiceAccountTokenrequired
intWhether pods running as this service account should have an API token automatically mounted
createdrequired
timeKubernetes object creation timestamp
idrequired
stringMondoo ID for the Kubernetes object
imagePullSecretsrequired
[]dictList of references to secrets in the same namespace to use for pulling any images
kindrequired
stringKubernetes object type
labels
map[string]stringKubernetes labels
manifest
dictFull resource manifest
namerequired
stringKubernetes object name
namespacerequired
stringKubernetes object namespace
resourceVersionrequired
stringKubernetes resource version
secretsrequired
[]dictList of secrets that Pods running using this service account are allowed to use
uidrequired
stringKubernetes object UID