docs(audit): record the read/write split evidence and the pre-split purge #67
Loading…
Reference in a new issue
No description provided.
Delete branch "t_d1275a3a-secret-read-metadata"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #60 (policy split, merged
9f07d333). Documentation only — records the live evidence andthe purge so the next reader does not have to re-derive either.
Verified live on siriussec after the reload
Policy installed with the repo's
install-audit.sh(--check→OK: audit policy installed and manifest patched), thencrictl stopon the apiserver container so the new process re-read the policy.audit.logwas moved aside first (the old process keeps its fd, so no bytes are lost), so the restartedapiserver created a fresh
audit.loginstead of appending to a file full of read bodies.Over the first 339 secret events of the fresh log:
The throwaway ladder (
audit-probe/throwaway-probe, namespace and secret since deleted):pods/exec,tokenreviews/serviceaccounts/token, RBAC + certificate writes,impersonateand theproxies are untouched.
Purge
truncateis the wrong tool (the apiserver keeps writing at its own offset), so the superseded fileswere deleted after the restart:
What those files held, extracted before deletion: 3,527 secret events, 2,574 with
responseObject.data,readers
kubernetes-admin,kustomize-controller,source-controller,kube-prometheus-stack-grafana,sirius-growth:portal,cert-manager,cnpg-managerand the kubelet identities.Retention is unchanged (
100 MiB × 48, 7 days) and no rule was weakened.