Service Account Credentials audit logging

This document lists the audited methods for Service Account Credentials. Cloud de Confiance by S3NS services generate audit logs that record administrative and access activities within your Cloud de Confiance by S3NS resources. For more information about Cloud Audit Logs, see the following:

Service name

To view the Service Account Credentials audit logs, do the following:

  1. In the Cloud de Confiance console, go to the Logs Explorer page:

    Go to Logs Explorer

  2. Copy and paste the following query into the Query field of the Logs Explorer, and then click Run query.

        protoPayload.serviceName="iamcredentials.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, Service Account Credentials 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.

API methods in the following list that are marked with (LRO) are long-running operations (LROs). These methods usually generate two audit log entries: one when the operation starts and another when it ends. For more information see Audit logs for long-running operations.
Permission type Methods
ADMIN_READ SignJwt (LRO)
DATA_READ GenerateAccessToken (LRO)
GenerateIdToken (LRO)
SignBlob (LRO)
SignJwt (LRO)

API interface audit logs

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

google.iam.credentials.v1.IAMCredentials

The following audit logs are associated with methods belonging to google.iam.credentials.v1.IAMCredentials.

GenerateAccessToken

  • Method: GenerateAccessToken
  • Audit log type: Data access
  • Permissions:
    • iam.serviceAccounts.getAccessToken - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="GenerateAccessToken"

GenerateIdToken

  • Method: GenerateIdToken
  • Audit log type: Data access
  • Permissions:
    • iam.serviceAccounts.getAccessToken - DATA_READ
    • iam.serviceAccounts.getOpenIdToken - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="GenerateIdToken"

SignBlob

  • Method: SignBlob
  • Audit log type: Data access
  • Permissions:
    • iam.serviceAccounts.getAccessToken - DATA_READ
    • iam.serviceAccounts.signBlob - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="SignBlob"

SignJwt

  • Method: SignJwt
  • Audit log type: Data access
  • Permissions:
    • iam.serviceAccounts.getAccessToken - DATA_READ
    • iam.serviceAccounts.signJwt - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="SignJwt"