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

Add AccessKeyID as variable for username #337

Merged
merged 1 commit into from
Sep 2, 2020
Merged

Add AccessKeyID as variable for username #337

merged 1 commit into from
Sep 2, 2020

Conversation

pjbgf
Copy link
Member

@pjbgf pjbgf commented Sep 2, 2020

This PR allows for {{AccessKeyID}} to be used in the username field, therefore allowing cluster admins to have that information on the control plane audit logs.

Fixes: #263

Relates to other PRs:
Document use of {{AccessKeyID}}
Adds AccessKeyID to logs

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 2, 2020
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 2, 2020
@pjbgf
Copy link
Member Author

pjbgf commented Sep 2, 2020

/assign @micahhausler

@micahhausler
Copy link
Member

/lgtm
/approve

Thanks!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 2, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: micahhausler, pjbgf

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 2, 2020
@k8s-ci-robot k8s-ci-robot merged commit cf4ec70 into kubernetes-sigs:master Sep 2, 2020
@pjbgf pjbgf deleted the render-access-key-id branch September 2, 2020 20:16
@nckturner nckturner mentioned this pull request Oct 6, 2020
@ouadiebenzianeva
Copy link

ouadiebenzianeva commented May 20, 2022

This is still not working for me. it captures an unknown Access ID that i can't locate in our AWS account. see example below
admin:ASIA5JZIOOGGI65L2TUS is unknown to our aws account. Which i think this is temp access key generated from the sessions

eks-logs-2

eks-auditlogs-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When using assumed roles, you can't attribute audit event actions to a specific aws user.
4 participants