Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to get VM manager Patch Compliance Status with CLI or API

Hi, we are trying to find a solution to get notification about Critical patch is available for our VMs.

And it seems there is no way to get compliance status details programmatically.

Is there gcloud or API to get the details from document above?

https://cloud.google.com/compute/docs/os-patch-management#patch_compliance_status

1 2 445