Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review kubernetes components generated audit events. #267

Open
OlleLarsson opened this issue Mar 21, 2023 · 0 comments
Open

Review kubernetes components generated audit events. #267

OlleLarsson opened this issue Mar 21, 2023 · 0 comments
Labels
kind/feature New feature or request

Comments

@OlleLarsson
Copy link
Contributor

OlleLarsson commented Mar 21, 2023

Problem statement:
Kubernetes consists of many components or entities that generates a lot of audit events.

Some of these requests could probably be considered noise and does not really contribute in any meaningful way in an eventual audit log review.

Your task is to go through what audit events are generated by the core Kubernetes entities (kube-controller, kubelet, csi-controller(openstack/upcloud), apiserver, etc.)) and determine what events can be safely ignored.
Look at what audit log rules (see audit_policy_custom_rules in the kubespray repo) currently apply and determine if any rules should be changed, added or removed.

It is probably a good idea to note down what events are generated, how frequent they are and what they say.
If we do this it will be easier in hindsight to go back and figure out why a certain audit log rule is there and looks the way it does.

Definition of done:

  • Generated audit events has been reviewed (and preferably noted down)
  • Kubernetes audit log policy file has been updated accordingly
@OlleLarsson OlleLarsson added the kind/feature New feature or request label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant