I am wondering, if any of you managed to somehow pass aditional data to the logs of Google Secret Manager audit logs? My use case is as following:
- I have Cloud Function, that manages CRUD operations on the Secrets.
- Those CRUD functions are invoked by user from frontend by Callable function. Only certain, authorised users are able to invoke those actions.
Now, as far as I can see, when I do any of the CRUD operations using this approach, in the audit logs I can only see principalSubject and principalEmail, of the service account that is used to run the Cloud Functions. However, I need information on the user, who triggered this action.
I looked everywhere, and was unable to find any information on that. Did anyone had similar issue?
Posting as a community wiki as per @JohnHanley's comment: