Security posture audit logging

This document describes audit logging for Security posture. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. For more information about Cloud Audit Logs, see the following:

Service name

Security posture audit logs use the service name securityposture.googleapis.com. Filter for this service:

    protoPayload.serviceName="securityposture.googleapis.com"
  

Methods by permission type

Each IAM permission has a type property, whose value is an enum that can be one of four values: ADMIN_READ, ADMIN_WRITE, DATA_READ, or DATA_WRITE. When you call a method, Security posture generates an audit log whose category is dependent on the type property of the permission required to perform the method. Methods that require an IAM permission with the type property value of DATA_READ, DATA_WRITE, or ADMIN_READ generate Data Access audit logs. Methods that require an IAM permission with the type property value of ADMIN_WRITE generate Admin Activity audit logs.

Permission type Methods
DATA_READ google.cloud.securityposture.v1.SecurityPosture.GetPosture
google.cloud.securityposture.v1.SecurityPosture.GetPostureDeployment
google.cloud.securityposture.v1.SecurityPosture.GetPostureTemplate
google.cloud.securityposture.v1.SecurityPosture.ListPostureDeployments
google.cloud.securityposture.v1.SecurityPosture.ListPostureRevisions
google.cloud.securityposture.v1.SecurityPosture.ListPostureTemplates
google.cloud.securityposture.v1.SecurityPosture.ListPostures
DATA_WRITE google.cloud.securityposture.v1.SecurityPosture.CreatePosture
google.cloud.securityposture.v1.SecurityPosture.CreatePostureDeployment
google.cloud.securityposture.v1.SecurityPosture.DeletePosture
google.cloud.securityposture.v1.SecurityPosture.DeletePostureDeployment
google.cloud.securityposture.v1.SecurityPosture.ExtractPosture
google.cloud.securityposture.v1.SecurityPosture.UpdatePosture
google.cloud.securityposture.v1.SecurityPosture.UpdatePostureDeployment

API interface audit logs

For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Security posture.

google.cloud.securityposture.v1.SecurityPosture

The following audit logs are associated with methods belonging to google.cloud.securityposture.v1.SecurityPosture.

CreatePosture

  • Method: google.cloud.securityposture.v1.SecurityPosture.CreatePosture
  • Audit log type: Data access
  • Permissions:
    • securityposture.postures.create - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.CreatePosture"

CreatePostureDeployment

  • Method: google.cloud.securityposture.v1.SecurityPosture.CreatePostureDeployment
  • Audit log type: Data access
  • Permissions:
    • securityposture.postureDeployments.create - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.CreatePostureDeployment"

DeletePosture

  • Method: google.cloud.securityposture.v1.SecurityPosture.DeletePosture
  • Audit log type: Data access
  • Permissions:
    • securityposture.postures.delete - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.DeletePosture"

DeletePostureDeployment

  • Method: google.cloud.securityposture.v1.SecurityPosture.DeletePostureDeployment
  • Audit log type: Data access
  • Permissions:
    • securityposture.postureDeployments.delete - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.DeletePostureDeployment"

ExtractPosture

  • Method: google.cloud.securityposture.v1.SecurityPosture.ExtractPosture
  • Audit log type: Data access
  • Permissions:
    • securityposture.postures.extract - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.ExtractPosture"

GetPosture

  • Method: google.cloud.securityposture.v1.SecurityPosture.GetPosture
  • Audit log type: Data access
  • Permissions:
    • securityposture.postures.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.GetPosture"

GetPostureDeployment

  • Method: google.cloud.securityposture.v1.SecurityPosture.GetPostureDeployment
  • Audit log type: Data access
  • Permissions:
    • securityposture.postureDeployments.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.GetPostureDeployment"

GetPostureTemplate

  • Method: google.cloud.securityposture.v1.SecurityPosture.GetPostureTemplate
  • Audit log type: Data access
  • Permissions:
    • securityposture.postureTemplates.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.GetPostureTemplate"

ListPostureDeployments

  • Method: google.cloud.securityposture.v1.SecurityPosture.ListPostureDeployments
  • Audit log type: Data access
  • Permissions:
    • securityposture.postureDeployments.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.ListPostureDeployments"

ListPostureRevisions

  • Method: google.cloud.securityposture.v1.SecurityPosture.ListPostureRevisions
  • Audit log type: Data access
  • Permissions:
    • securityposture.postures.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.ListPostureRevisions"

ListPostureTemplates

  • Method: google.cloud.securityposture.v1.SecurityPosture.ListPostureTemplates
  • Audit log type: Data access
  • Permissions:
    • securityposture.postureTemplates.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.ListPostureTemplates"

ListPostures

  • Method: google.cloud.securityposture.v1.SecurityPosture.ListPostures
  • Audit log type: Data access
  • Permissions:
    • securityposture.postures.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.ListPostures"

UpdatePosture

  • Method: google.cloud.securityposture.v1.SecurityPosture.UpdatePosture
  • Audit log type: Data access
  • Permissions:
    • securityposture.postures.update - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.UpdatePosture"

UpdatePostureDeployment

  • Method: google.cloud.securityposture.v1.SecurityPosture.UpdatePostureDeployment
  • Audit log type: Data access
  • Permissions:
    • securityposture.postureDeployments.update - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.securityposture.v1.SecurityPosture.UpdatePostureDeployment"