Skip to content

Transform Kubernetes audit logs into human-readable activity timelines using declarative descriptors.

License

Notifications You must be signed in to change notification settings

datum-cloud/activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Activity API

Ever wonder who changed that production secret? Or need to track down who deleted a deployment last week? The Activity API makes it easy to ask questions about what's happening in your Kubernetes clusters.

What is this?

Activity API is a Kubernetes extension that lets you query your cluster's audit logs using familiar Kubernetes tools. Instead of digging through log files, you can use kubectl to ask questions like "show me all the deletions in production" or "who accessed secrets in the last hour?"

Think of it as a search engine for everything that happens in your cluster. It's built as an aggregated API server, which means it feels like a natural part of Kubernetes, not a bolt-on tool.

What can it do right now?

  • Ask powerful questions using CEL expressions: "Find all secret deletions by users whose name starts with 'system:'"
  • Filter by what matters: time ranges, namespaces, actions (create/update/delete), resource types, users, and more
  • Fast queries thanks to a high-performance ClickHouse backend with smart indexing
  • Works like Kubernetes because it's built as an aggregated API server—use kubectl or any Kubernetes client
  • Multi-tenant by design so teams can only see their own activity

What's coming next?

We're working on some exciting features to make activity tracking even more powerful:

Human-readable activity summaries - Right now, you get raw audit events. Soon, you'll see friendly descriptions like "Alice deleted the production-db secret in the billing namespace" instead of decoding JSON structures.

Flexible, dynamic descriptions - We're building a system that lets you define how events should be described for your organization. Want to call them "changes" instead of "updates"? Prefer different phrasing for different teams? No problem—and you won't need to re-process historical data to make changes.

These features are part of our vision to transform raw audit logs into clear, actionable insights that anyone can understand. You can follow the detailed roadmap in this enhancement proposal.

Who is this for?

  • Platform teams who need to understand cluster activity across multiple tenants
  • Security teams investigating incidents or building compliance reports
  • Developers debugging "who changed what" questions
  • Anyone who's ever wished Kubernetes audit logs were easier to query

Prerequisites

For users:

  • Kubernetes 1.34+ cluster
  • kubectl configured to access your cluster

For developers:

  • Go 1.24.0 or later
  • Task for development workflows
  • Docker for building container images

License

See LICENSE for details.


Questions or feedback? Open an issue—we're here to help!

About

Transform Kubernetes audit logs into human-readable activity timelines using declarative descriptors.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages