Reputation: 35
The Google Cloud Storage object change notification, using the Google Cloud Pub/Sub topics is quite useful. With this documentation https://cloud.google.com/storage/docs/reporting-changes, I could enable it at the bucket level and could get the object change notifications to my Pub/Sub topic. But, I could not find any way to receive notifications when any bucket properties are changed, like Bucket labels/permissions/storage class etc. Is there any way to enable and receive bucket attribute changes?
Upvotes: 1
Views: 520
Reputation: 2846
However it is not supported directly in GCP currently as @Brandon mentioned but we can enable data access logging.
We can then use logs explorer to filter out actions done at bucket level and create log based alerts to get notifications.
https://cloud.google.com/logging/docs/audit/configure-data-access#config-console
Upvotes: 0
Reputation: 38399
Sorry, notifications for changes to the properties of buckets themselves is not supported at this time. It's a good idea, though.
Out of curiosity, what were you looking to do with bucket property change notifications?
Upvotes: 1