Privileged Access Manager 审核日志记录

本文档介绍了 Privileged Access Manager 的审核日志记录。Google Cloud 服务会生成审核日志,以记录 Google Cloud 资源中的管理和访问活动。 如需详细了解 Cloud Audit Logs,请参阅以下内容:

服务名称

Privileged Access Manager 审核日志使用服务名称 privilegedaccessmanager.googleapis.com。 针对此服务的过滤条件:

    protoPayload.serviceName="privilegedaccessmanager.googleapis.com"
  

方法(按权限类型)

每个 IAM 权限都有一个 type 属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READADMIN_WRITEDATA_READDATA_WRITE。在您调用某个方法时,Privileged Access Manager 会生成一个审核日志,其类别取决于执行该方法所需权限的 type 属性。需要 IAM 权限且 type 属性值为 DATA_READDATA_WRITEADMIN_READ 的方法会生成数据访问审核日志。需要 IAM 权限且 type 属性值为 ADMIN_WRITE 的方法会生成管理员活动审核日志。

权限类型 方法
ADMIN_READ google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CheckOnboardingStatus
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetEntitlement
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListEntitlements
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListGrants
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.CheckOnboardingStatus
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.GetEntitlement
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.GetGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.ListEntitlements
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.ListGrants
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.CheckOnboardingStatus
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.GetEntitlement
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.GetGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.ListEntitlements
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.ListGrants
ADMIN_WRITE google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ApproveGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateEntitlement
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DeleteEntitlement
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DenyGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.RevokeGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.UpdateEntitlement
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.ApproveGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.CreateEntitlement
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.CreateGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.DeleteEntitlement
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.DenyGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.RevokeGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.UpdateEntitlement
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.ApproveGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.CreateEntitlement
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.CreateGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.DeleteEntitlement
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.DenyGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.RevokeGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.UpdateEntitlement

API 接口审核日志

如需了解如何评估每种方法的权限以及评估哪些权限,请参阅特权访问管理器的 Identity and Access Management 文档。

google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager

以下审核日志与属于 google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager 的方法相关联。

ApproveGrant

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ApproveGrant
  • 审核日志类型管理员活动
  • 权限
    • privilegedaccessmanager.grants.approve - ADMIN_WRITE
  • 方法是长时间运行的操作或流式传输操作:否。
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ApproveGrant"

CheckOnboardingStatus

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CheckOnboardingStatus
  • 审核日志类型数据访问
  • 权限
    • privilegedaccessmanager.locations.checkOnboardingStatus - ADMIN_READ
  • 方法是长时间运行的操作或流式传输操作:否。
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CheckOnboardingStatus"

CreateEntitlement

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateEntitlement
  • 审核日志类型管理员活动
  • 权限
    • privilegedaccessmanager.entitlements.create - ADMIN_WRITE
  • 方法是长时间运行的操作或流式传输操作长时间运行的操作
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateEntitlement"

CreateGrant

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateGrant
  • 审核日志类型管理员活动
  • 权限
    • privilegedaccessmanager.grants.create - ADMIN_WRITE
  • 方法是长时间运行的操作或流式传输操作:否。
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateGrant"

DeleteEntitlement

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DeleteEntitlement
  • 审核日志类型管理员活动
  • 权限
    • privilegedaccessmanager.entitlements.delete - ADMIN_WRITE
  • 方法是长时间运行的操作或流式传输操作长时间运行的操作
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DeleteEntitlement"

DenyGrant

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DenyGrant
  • 审核日志类型管理员活动
  • 权限
    • privilegedaccessmanager.grants.deny - ADMIN_WRITE
  • 方法是长时间运行的操作或流式传输操作:否。
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DenyGrant"

GetEntitlement

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetEntitlement
  • 审核日志类型数据访问
  • 权限
    • privilegedaccessmanager.entitlements.get - ADMIN_READ
  • 方法是长时间运行的操作或流式传输操作:否。
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetEntitlement"

GetGrant

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetGrant
  • 审核日志类型数据访问
  • 权限
    • privilegedaccessmanager.grants.get - ADMIN_READ
  • 方法是长时间运行的操作或流式传输操作:否。
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetGrant"

ListEntitlements

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListEntitlements
  • 审核日志类型数据访问
  • 权限
    • privilegedaccessmanager.entitlements.list - ADMIN_READ
  • 方法是长时间运行的操作或流式传输操作:否。
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListEntitlements"

ListGrants

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListGrants
  • 审核日志类型数据访问
  • 权限
    • privilegedaccessmanager.grants.list - ADMIN_READ
  • 方法是长时间运行的操作或流式传输操作:否。
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListGrants"

RevokeGrant

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.RevokeGrant
  • 审核日志类型管理员活动
  • 权限
    • privilegedaccessmanager.grants.revoke - ADMIN_WRITE
  • 方法是长时间运行的操作或流式传输操作长时间运行的操作
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.RevokeGrant"

UpdateEntitlement

  • 方法google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.UpdateEntitlement
  • 审核日志类型管理员活动
  • 权限
    • privilegedaccessmanager.entitlements.update - ADMIN_WRITE
  • 方法是长时间运行的操作或流式传输操作长时间运行的操作
  • 此方法的过滤条件 protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.UpdateEntitlement"

google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager

以下审核日志与属于 google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager 的方法相关联。

ApproveGrant

CheckOnboardingStatus

CreateEntitlement

CreateGrant

DeleteEntitlement

DenyGrant

GetEntitlement

GetGrant

ListEntitlements

ListGrants

RevokeGrant

UpdateEntitlement

google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager

以下审核日志与属于 google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager 的方法相关联。

ApproveGrant

CheckOnboardingStatus

CreateEntitlement

CreateGrant

DeleteEntitlement

DenyGrant

GetEntitlement

GetGrant

ListEntitlements

ListGrants

RevokeGrant

UpdateEntitlement

系统事件

系统事件审核日志是 GCP 系统生成的,而不是通过直接用户操作生成的。如需了解详情,请参阅系统事件审核日志

方法名称 过滤此事件 备注
PAMActivateGrant protoPayload.methodName="PAMActivateGrant"
PAMDeleteGrant protoPayload.methodName="PAMDeleteGrant"
PAMEndGrant protoPayload.methodName="PAMEndGrant"
PAMReportExternalGrantModification protoPayload.methodName="PAMReportExternalGrantModification"

不会生成审核日志的方法

由于以下一个或多个原因,方法可能不会生成审核日志:

  • 这是一种高容量方法,涉及较高的日志生成和存储费用。
  • 它的审核价值较低。
  • 其他审核或平台日志已提供方法。

以下方法不会生成审核日志:

  • google.cloud.location.Locations.GetLocation
  • google.cloud.location.Locations.ListLocations
  • google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.SearchEntitlements
  • google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.SearchGrants
  • google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.SearchEntitlements
  • google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.SearchGrants
  • google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.SearchEntitlements
  • google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.SearchGrants
  • google.longrunning.Operations.CancelOperation
  • google.longrunning.Operations.DeleteOperation
  • google.longrunning.Operations.GetOperation
  • google.longrunning.Operations.ListOperations
  • google.longrunning.Operations.WaitOperation