We have cloudfunction running with cloud invoker role for all user. We wanted to keep track of IP addresses and locations calling this function or posting to this function. I have enabled all audit log parameter for cloud function. How to filter the information of the caller
My belief is that Google Cloud Logging will contain logs for the execution of your Cloud Functions. This will likely include who is calling, when they are calling and from where they are calling. You should be able to enable Cloud Function logging from the Google Cloud console. No coding or insertion of log statements should be required inside your Cloud Logging functions.
hi @kolban , I am not able to observer any audit logs when invoking a cloud function. FYI I am able to get appropriate audit logs when creating/deleting/updating a cloud function. In addition to this I have enabled all types of audit log for cloud function