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

Cloud usage reports: add info about creator from audit logs #8519

Open
soyacz opened this issue Aug 29, 2024 · 0 comments
Open

Cloud usage reports: add info about creator from audit logs #8519

soyacz opened this issue Aug 29, 2024 · 0 comments
Assignees

Comments

@soyacz
Copy link
Contributor

soyacz commented Aug 29, 2024

After looking at cloud report details, there are plenty of resources not created by SCT - thus we have no info about the creator as RunByUser tag is not filled in.
I looked to e.g. GCE console audit logs, and I could see there's info about creator. E.g.:

NOTICE 2024-08-29T09:16:58.973240Z [[...] [protoPayload.authenticationInfo.principalEmail: [email protected]] audit_log, method: "beta.compute.instances.insert", principal_email: "[email protected]"

Some machines are still created by service accounts (like [email protected]"), but anyway we could replace n/a with this to give a clue who is responsible.
If we want to pursue that direction I can take a look how we can take similar info for AWS/Azure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant