Stay organized with collectionsSave and categorize content based on your preferences.
This document describes audit logging for Advisory Notifications. Google Cloud services
generate audit logs that record administrative and access activities within your Google Cloud resources.
For more information about Cloud Audit Logs, see the following:
Each IAM permission has atypeproperty, whose value is an enum
that can be one of four values:ADMIN_READ,ADMIN_WRITE,DATA_READ, orDATA_WRITE. When you call a method,
Advisory Notifications generates an audit log whose category is dependent on thetypeproperty of the permission required to perform the method.
Methods that require an IAM permission with thetypeproperty value
ofDATA_READ,DATA_WRITE, orADMIN_READgenerateData Accessaudit logs.
Methods that require an IAM permission with thetypeproperty value
ofADMIN_WRITEgenerateAdmin Activityaudit logs.
For information about how and which permissions are evaluated for each method,
see the Identity and Access Management documentation for Advisory Notifications.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eAdvisory Notifications audit logs record administrative and access activities, using the service name \u003ccode\u003eadvisorynotifications.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAudit log categories are determined by the IAM permission \u003ccode\u003etype\u003c/code\u003e property, which can be \u003ccode\u003eADMIN_READ\u003c/code\u003e, \u003ccode\u003eADMIN_WRITE\u003c/code\u003e, \u003ccode\u003eDATA_READ\u003c/code\u003e, or \u003ccode\u003eDATA_WRITE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMethods requiring \u003ccode\u003eDATA_READ\u003c/code\u003e, \u003ccode\u003eDATA_WRITE\u003c/code\u003e, or \u003ccode\u003eADMIN_READ\u003c/code\u003e permissions generate Data Access audit logs, while methods requiring \u003ccode\u003eADMIN_WRITE\u003c/code\u003e permissions generate Admin Activity audit logs.\u003c/p\u003e\n"],["\u003cp\u003eSpecific methods like \u003ccode\u003eGetNotification\u003c/code\u003e, \u003ccode\u003eListNotifications\u003c/code\u003e, and \u003ccode\u003eGetSettings\u003c/code\u003e generate Data Access logs, while \u003ccode\u003eUpdateSettings\u003c/code\u003e generates Admin Activity logs.\u003c/p\u003e\n"],["\u003cp\u003eEach method includes details about its associated audit log type, required permissions, and a filter for identifying the method in the logs.\u003c/p\u003e\n"]]],[],null,["# Advisory Notifications audit logging\n\nThis document describes audit logging for Advisory Notifications. Google Cloud services\ngenerate audit logs that record administrative and access activities within your Google Cloud resources.\nFor more information about Cloud Audit Logs, see the following:\n\n- [Types of audit logs](/logging/docs/audit#types)\n- [Audit log entry structure](/logging/docs/audit#audit_log_entry_structure)\n- [Storing and routing audit logs](/logging/docs/audit#storing_and_routing_audit_logs)\n- [Cloud Logging pricing summary](/stackdriver/pricing#logs-pricing-summary)\n- [Enable Data Access audit logs](/logging/docs/audit/configure-data-access)\n\n\u003cbr /\u003e\n\nService name\n------------\n\nAdvisory Notifications audit logs use the service name `advisorynotifications.googleapis.com`.\nFilter for this service: \n\n```gdscript\n protoPayload.serviceName=\"advisorynotifications.googleapis.com\"\n \n```\n\n\u003cbr /\u003e\n\nMethods by permission type\n--------------------------\n\nEach IAM permission has a `type` property, whose value is an enum\nthat can be one of four values: `ADMIN_READ`, `ADMIN_WRITE`,\n`DATA_READ`, or `DATA_WRITE`. When you call a method,\nAdvisory Notifications generates an audit log whose category is dependent on the\n`type` property of the permission required to perform the method.\n\nMethods that require an IAM permission with the `type` property value\nof `DATA_READ`, `DATA_WRITE`, or `ADMIN_READ` generate\n[Data Access](/logging/docs/audit#data-access) audit logs.\n\nMethods that require an IAM permission with the `type` property value\nof `ADMIN_WRITE` generate\n[Admin Activity](/logging/docs/audit#admin-activity) audit logs.\n\nAPI interface audit logs\n------------------------\n\nFor information about how and which permissions are evaluated for each method,\nsee the Identity and Access Management documentation for Advisory Notifications.\n\n### `google.cloud.advisorynotifications.v1.AdvisoryNotificationsService`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.advisorynotifications.v1.AdvisoryNotificationsService`.\n\n#### `GetNotification`\n\n- **Method** : `google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `advisorynotifications.notifications.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification\"\n ` \n\n#### `ListNotifications`\n\n- **Method** : `google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `advisorynotifications.notifications.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications\"\n ` \n\n### `google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService`.\n\n#### `GetSettings`\n\n- **Method** : `google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.GetSettings` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `advisorynotifications.settings.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.GetSettings\"\n ` \n\n#### `UpdateSettings`\n\n- **Method** : `google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.UpdateSettings` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `advisorynotifications.settings.update - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.UpdateSettings\"\n ` \n\n### `google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService`.\n\n#### `GetNotification`\n\n- **Method** : `google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.GetNotification` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `advisorynotifications.notifications.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.GetNotification\"\n ` \n\n#### `ListNotifications`\n\n- **Method** : `google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.ListNotifications` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `advisorynotifications.notifications.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.ListNotifications\"\n `"]]