[英]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.