Skip to content

Implement Audit Logging platform service #44

@reshnm

Description

@reshnm

Understand the Task

Audit Logging in this context refers to audit logs that are written by a Kubernetes API server and are being pushed into an Audit Logging backend.

In this context Autid Log events are containing access operations to the Kubernetes API (e.g. CREATE, UPDATE, DELETE ...)

The configuration of the Kubernetes API server regarding Audit Logging depends on the type of cluster provider.
This means that for each type of cluster provider, there needs to be a specific implementation of a audit log platform service, e.g.:

  • platform-service-auditlogging-gardener

Note: for the Kind cluster provider it doesn't make sense to have audit logging since it is only used for testing and development purposes.

A audit logging platform service would work like this:

  1. Watch Cluster resources for a matching type (e.g. Gardener)
  2. Filter for cluster purpose (e.g. only platform, workload, but not mcp)
  3. For each Cluster configure the audit logging based on a service specific provider configuration

Open questions

  • Is it a problem when a audit logging service is modifying the cluster configuration that is managed by a cluster provider? Would these changes regarding the audit logging get lost when it is being reconciled by the cluster provider?

Things that should not be solved

  • A audit logging platform service shall not provider a audit logging service for MCP users. This has to be solved differently.

Any further valuable resources.

No response

What is required to accept the Task as done.

Done Criteria

  • ...
  • Code has been reviewed by other team members
  • Internal technical Documentation created/updated
  • New / changed code is documented
  • Unit Tests created for new code or existing Unit Tests updated
  • Integration Test Suite updated
  • Enduser Documentation updated (if applicable)
  • Successful demonstration in Review

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/open-mcpAll ManagedControlPlane related issueskind/taskGeneral task that needs to be done.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions