简体   繁体   English

是否无法从Google Cloud Platform Stackdriver日志中删除审核日志?

[英]Can't the audit logs be deleted from Google Cloud Platform Stackdriver logs?

I tried deleting GCP logs using the command 我尝试使用该命令删除GCP日志

$ gcloud logging logs delete [AUDIT_LOG_NAME] $ gcloud日志记录日志删除[AUDIT_LOG_NAME]

Received a message saying "Permissions Denied: Audit logs cannot be deleted" 收到消息“拒绝权限:审核日志无法删除”

Even if I am the owner of the Project, and deleting the audit logs from my project, doesn't GCP allow the deletion of the audit logs? 即使我是项目的所有者,并从我的项目中删除审计日志,GCP是否允许删除审计日志?

I could delete other logs, (eg: syslogs), does the event related to the deleting of the logs are logged in the Stackdriver logs? 我可以删除其他日志(例如:syslogs),与删除日志相关的事件是否记录在Stackdriver日志中? if so what is the methodName using which I can filter the event 如果是这样,我可以使用哪个方法过滤事件

thank you 谢谢

No you can't delete audit logs. 不,您无法删除审核日志。 The idea behind it is that you're being protected from someone gaining access to your project, making modifications, and then deleting the history of their changes. 它背后的想法是,保护您免受某人访问您的项目,进行修改,然后删除其更改的历史记录。

The Docs describe the retention period of audit logs . 文档描述了审核日志保留期 But basically it's 400 days, unless you have data access audit logs enabled. 但基本上是400天,除非您启用了数据访问审核日志。

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

相关问题 Google Cloud 我找不到我的审核日志,它们被删除了吗? - Google Cloud I can't find my Audit Logs, are they deleted? 如何在Google Cloud Platform中清除Stackdriver日志? - How to clear Stackdriver logs in Google Cloud Platform? stackdriver 日志代理未显示从 Google 云平台上的 stackdriver 日志查看器中的自定义日志文件读取的日志 - stackdriver logging agent not showing logs read from a custom log file in stackdriver logging viewer on Google cloud platform Google Cloud Stackdriver - 如何按摘要字段对日志进行分组? - Google Cloud Stackdriver - how can I group logs by summary field? 使用新的 Google Cloud 日志记录 jar 时,日志未显示在 Google Cloud Platform Stackdriver 中 - Logs not showing in Google Cloud Platform Stackdriver when using new Google Cloud logging jar 审核或更改Google Cloud DNS上的日志? - Audit or change logs on Google Cloud DNS? 无法为 Google Cloud Logging 启用日志 - Can't enable logs for Google Cloud Logging 来自 Stackdriver 的数据流日志 - Dataflow logs from Stackdriver 无法将Celery任务日志推送到Google Cloud(堆栈驱动程序) - Unable to push Celery task logs to Google Cloud (stackdriver) 将 python 中使用的库的日志发送到谷歌云堆栈驱动程序日志记录 - Send logs of libraries used in python to google cloud stackdriver logging
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM