TL;DR
This paper presents K8NTEXT, a novel method for enhancing Kubernetes audit logs by reconstructing contextual relationships between actions and subsequent events, significantly improving log interpretability and management.
Contribution
K8NTEXT introduces a new approach combining inference rules and machine learning to automatically group and label correlated Kubernetes API actions in audit logs.
Findings
Achieves over 95% accuracy in context reconstruction
Handles complex operations with 50-100 correlated actions
Demonstrates scalability and effectiveness in real use cases
Abstract
Kubernetes has emerged as the de facto orchestrator of microservices, providing scalability and extensibility to a highly dynamic environment. It builds an intricate and deeply connected system that requires extensive monitoring capabilities to be properly managed. To this account, K8s natively offers audit logs, a powerful feature for tracking API interactions in the cluster. Audit logs provide a detailed and chronological record of all activities in the system. Unfortunately, K8s auditing suffers from several practical limitations: it generates large volumes of data continuously, as all components within the cluster interact and respond to user actions. Moreover, each action can trigger a cascade of secondary events dispersed across the log, with little to no explicit linkage, making it difficult to reconstruct the context behind user-initiated operations. In this paper, we introduce…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
