Skip to content

Kubectl payload logging #6774

Open
Open

Description

What

When users use the kubernetes integration and perform actions with kubectl, only the “header” data is being logged, e.g. that e certain endpoint of the Kube-API was accessed, timestamp and HTTP method but no payload. For compliance reasons, we need to store / keep the actual content of the transaction in an auditable format.

Take the following comparison: We see only that user X has made a POST/PUT request to the API endpoint for namespaces; we need to know the content of it, for instance that metadata a new namespace with name ‘xyz’ has been created.

How

Log payload (request and response) of interactions to the Kube API. Some mechanism has to be found when very large payload is being transmitted.

Why

Our corporate compliance and legal regulation for certain customers requires a session recording for all types of access. For instance, bank customers need replayable details of what modification has been carried out on their environment.

Workaround

Using kubectl on a teleport node which gets accessed by tsh ssh. But in this case no real RBAC can be achieved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

c-scInternal Customer Referencec-uhInternal Customer Referencefeature-requestUsed for new features in Teleport, improvements to current should be #enhancementskubernetes-accesssales-onboardingIssues related to prospects

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions