简体   繁体   English

谷歌云平台监控机构

[英]monitoring organisation in google cloud platform

Can we monitor the changes done at organisation policy level in GCP.我们可以监控在 GCP 中组织政策级别所做的更改吗? Want to know if one org admin makes change in the org level policies then it should be known to other org admin on real time basis.想知道一位组织管理员是否对组织级别的策略进行了更改,那么其他组织管理员应该实时了解该更改。 So can we set the alerts for such org level changes in gcp?那么我们可以为 gcp 中的此类组织级别更改设置警报吗?

You can access to the organization logs only with the gcloud CLI .您只能使用gcloud CLI访问组织日志。 To see what happens on your organization, you can check the audit logs like this要查看您的组织发生了什么,您可以像这样查看审计日志

gcloud logging read --organization=ORGANIZARION_NUMBER \
   protoPayload.@type="type.googleapis.com/google.cloud.audit.AuditLog"

You can narrow your search on the elements that you look for.您可以缩小您要查找的元素的搜索范围。 Then, you can create a sink into Pubsub .然后,您可以在 Pubsub 中创建一个接收 And plug what you want on it (we usually plug a Cloud Functions, but a Cloud Run service also work)并插入您想要的内容(我们通常插入 Cloud Functions,但 Cloud Run 服务也可以使用)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM