Skip to main content
Splunk Lantern

Monitoring Kubernetes sensitive object access

Kubernetes is the most used container orchestration platform. It contains sensitive objects within its architecture that, if accessed by an attacker, can lead to further compromise. These objects include configmaps, which are API objects used to store non-confidential data in key-value pairs, and secrets, which store passwords, OAuth tokens, ssh keys, and more. You want to monitor access to Kubernetes cluster sensitive objects and obtain information such as user, group, object, namespace, and authorization reason. The Splunk Security Research team developed this use case to help you detect suspicious requests against Kubernetes sensitive objects. 

Required data

Kubernetes for AWS, Azure, or GCP

Next steps

To maximize their benefit, the how-to articles linked in the previous section likely need to tie into existing processes at your organization or become new standard processes. These processes commonly impact success with this use case: 

Measuring impact and benefit is critical to assessing the value of monitoring Kubernetes sensitive object access. The following are example metrics that you might want to monitor for reductions when implementing this use case:

  • Number of interactions per user group and IP addresses
  • User agent types and source user interactions with configmaps or secrets
  • Number of service accounts interacting with resources in unusual manner
  • Kubectl calls with commands associated with lateral movement
  • Kubectl calls creating or accessing resources in an unusual manner 

If you have questions about this use case, see the Security Research team's support options on GitHub. In addition, these Splunk resources might help you understand and implement this use case:

Still need help with this use case? Most customers have OnDemand Services per their license support plan. Engage the ODS team at if you require assistance.