Skip to content

Conversation

germangarces
Copy link

@germangarces germangarces commented Sep 3, 2025

Hi @david-crespo !

This PR updates the audit logging so that actions creating resources (e.g. disks, instances, tokens) will now include the ID of the created resource.

It also adds the name of the user and the silo to audit logs.

I used tinystr::TinyAsciiStr to keep the enum Actor Copiable, hope that's okay :)

Closes #8811
Closes #8814

@david-crespo
Copy link
Contributor

Thank you for the contribution! I haven't had time to review in detail yet. I am not sure this is the exact direction I want to go (might want something a little more automatic, even though it's more of a pain), but it is definitely helpful to see it done this way.

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

Successfully merging this pull request may close these issues.

Audit log: log display name of actor and silo Audit log: log ID of created resource
2 participants