KALT is a Kubernetes Audit Logs Toolkit. It alows analyzing Kubernetes audit.log files.
Project description
KALT stands for Kubernetes Audit Logs Toolkit
The aim is to write a few scripts to analyse existing audit.log
files to help writing meaningful audit_policy.yml focusing on useful
Kubernetes events.
- kastats.py displays occurence statistics, grouped by provided keys,
possibly filtering the output. See
kastats.py --help.
Example:
$ kastats -f 'objectRef.resource!=leases' -k user.username -k verb -k objectRef.resource -l 10 audit-*
user.username verb objectRef.resource count percent
----------------------------------------------------------- ------ -------------------- ------- ---------
ncp update nsxlocks 8395 13.77
system:apiserver get endpoints 5047 8.28
system:apiserver get endpointslices 5047 8.28
kubelet get nodes 4946 8.11
system:serviceaccount:kube-system:resourcequota-controller get 3364 5.52
system:serviceaccount:kube-system:generic-garbage-collector get 3364 5.52
system:serviceaccount:kube-system:metrics-server create subjectaccessreviews 1728 2.83
kubelet watch configmaps 1132 1.86
kubelet watch secrets 892 1.46
kubelet list nodes 840 1.38
Events count: 60957 (14.96% of 407338 events)
Period: 14.02 hours from 2025-05-22 17:22:43 to 2025-05-23 07:23:53
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pykalt-1.0.tar.gz
(15.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pykalt-1.0-py3-none-any.whl
(16.5 kB
view details)
File details
Details for the file pykalt-1.0.tar.gz.
File metadata
- Download URL: pykalt-1.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0940dbfb933e43ac91cedd03d6129d899e61e4f2d423f2d64ccccb6f708ee59
|
|
| MD5 |
605afcbe050a7c81d1b7f849caaf30ca
|
|
| BLAKE2b-256 |
fd040283df1d21af2e39893083428fdd39614871a5cb3d664308393b5eebd792
|
File details
Details for the file pykalt-1.0-py3-none-any.whl.
File metadata
- Download URL: pykalt-1.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0b8a5576c6baf0b7f382fa8378b39a03ae54f99812f34609287426e90c5c9a6
|
|
| MD5 |
0b12e04fe7f84fd56624b38635561b50
|
|
| BLAKE2b-256 |
0f07dc2a17e5bfa11b1d56ffce81d56d9226f53bb103a8fc4c23269dfe1d56bf
|