IAM Service Account Credentials

methodNameDescriptionLog typeSampleRule
anyCatch-all entry for iamcredentials.googleapis.com. Source-only rules that attribute to the service without a specific method attribute here. Not a distinct audit log operation.activityNN
GenerateAccessTokendata_accessYY
GenerateIdTokenactivityNN
SignBlobactivityNN
SignJwtactivityNY

any: iamcredentials.googleapis.com (any method)

#
ServiceName
iamcredentials.googleapis.com

Description

Catch-all entry for iamcredentials.googleapis.com. Source-only rules that attribute to the service without a specific method attribute here. Not a distinct audit log operation.

GenerateAccessToken

#
ServiceName
iamcredentials.googleapis.com

Data Access audit logs are disabled by default.

Example Audit Log Entry #

{
  "insertId": "ibx0iee6cdv0",
  "logName": "projects/example-project-id/logs/cloudaudit.googleapis.com%2Fdata_access",
  "operation": {
    "first": true,
    "id": "4085146214715229789",
    "last": true,
    "producer": "iamcredentials.googleapis.com"
  },
  "protoPayload": {
    "@type": "type.googleapis.com/google.cloud.audit.AuditLog",
    "authenticationInfo": {
      "oauthInfo": {
        "oauthClientId": "32555940559.apps.googleusercontent.com"
      }
    },
    "authorizationInfo": [
      {
        "granted": false,
        "permission": "iam.serviceAccounts.getAccessToken",
        "permissionType": "ADMIN_READ",
        "resourceAttributes": {}
      }
    ],
    "metadata": {
      "identityDelegationChain": [
        "projects/-/serviceAccounts/dwgen-dw739065@example-project-id.iam.gserviceaccount.com"
      ]
    },
    "methodName": "GenerateAccessToken",
    "request": {
      "@type": "type.googleapis.com/google.iam.credentials.v1.GenerateAccessTokenRequest",
      "name": "projects/-/serviceAccounts/dwgen-dw739065@example-project-id.iam.gserviceaccount.com"
    },
    "requestMetadata": {
      "callerIp": "203.0.113.10",
      "callerSuppliedUserAgent": "google-cloud-sdk gcloud/574.0.0 agent-name/claude_code command/gcloud.auth.print-access-token invocation-id/e917eebce171441fb21dd54c5c6dc372 environment/None environment-version/None client-os/LINUX client-os-ver/6.1.0 client-pltf-arch/x86_64 interactive/False from-script/True python/3.14.5 term/tmux-256color  (Linux 6.1.0-41-amd64),gzip(gfe)",
      "destinationAttributes": {},
      "requestAttributes": {
        "auth": {},
        "time": "2026-06-29T13:19:32.246808769Z"
      }
    },
    "resourceName": "projects/-/serviceAccounts/100186808964833041985",
    "serviceName": "iamcredentials.googleapis.com",
    "status": {
      "code": 7,
      "message": "Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist)."
    }
  },
  "receiveTimestamp": "2026-06-29T13:19:32.734614302Z",
  "resource": {
    "labels": {
      "email_id": "dwgen-dw739065@example-project-id.iam.gserviceaccount.com",
      "project_id": "example-project-id",
      "unique_id": "100186808964833041985"
    },
    "type": "service_account"
  },
  "severity": "ERROR",
  "timestamp": "2026-06-29T13:19:32.233194498Z"
}

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
result (kusto rule field)eqtrue1 rulekusto

Detection Rules #

Full rule details for this event, including ATT&CK technique mappings and native queries →

Kusto #

GenerateIdToken

#
ServiceName
iamcredentials.googleapis.com

SignBlob

#
ServiceName
iamcredentials.googleapis.com

SignJwt

#
ServiceName
iamcredentials.googleapis.com

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
protoPayload.authorizationInfo (panther rule field)is_not_null1 rulepanther

Detection Rules #

Full rule details for this event, including ATT&CK technique mappings and native queries →

Panther #

  • GCP IAM serviceAccounts.signJwt Privilege Escalation source high: Detects iam.serviceAccounts.signJwt method for privilege escalation in GCP. This method works by signing well-formed JSON web tokens (JWTs). The script for this method will sign a well-formed JWT and request a new access token belonging to the Service Account with it.T1548