Index
AuditLog
(message)AuthenticationInfo
(message)AuthorizationInfo
(message)RequestMetadata
(message)ResourceLocation
(message)ServiceAccountDelegationInfo
(message)ServiceAccountDelegationInfo.FirstPartyPrincipal
(message)ServiceAccountDelegationInfo.ThirdPartyPrincipal
(message)
AuditLog
Common audit log format for Google Cloud Platform API operations.
Fields | |
---|---|
service_name |
The name of the API service performing the operation. For example, |
method_name |
The name of the service method or operation. For API calls, this should be the name of the API method. For example,
|
resource_name |
The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example:
|
resource_location |
The resource location information. |
resource_original_state |
The resource's original state before mutation. Present only for operations which have successfully modified the targeted resource(s). In general, this field should contain all changed fields, except those that are already been included in |
num_response_items |
The number of items returned from a List or Query API method, if applicable. |
status |
The status of the overall operation. |
authentication_info |
Authentication information. |
authorization_info[] |
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple. |
request_metadata |
Metadata about the operation. |
request |
The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the |
response |
The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the |
metadata |
Other service-specific data about the request, response, and other information associated with the current audited event. |
service_data |
Deprecated. Use the |
AuthenticationInfo
Authentication information for the operation.
Fields | |
---|---|
principal_email |
The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the |
authority_selector |
The authority selector specified by the requestor, if any. It is not guaranteed that the principal was allowed to use this authority. |
third_party_principal |
The third party identification (if any) of the authenticated user making the request. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the |
service_account_key_name |
The name of the service account key used to create or exchange credentials for authenticating the service account making the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" |
service_account_delegation_info[] |
Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events. |
principal_subject |
String representation of identity of requesting party. Populated for both first and third party identities. |
AuthorizationInfo
Authorization information for the operation.
Fields | |
---|---|
resource |
The resource being accessed, as a REST-style string. For example:
|
permission |
The required IAM permission. |
granted |
Whether or not authorization for |
resource_attributes |
Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into |
RequestMetadata
Metadata about the request.
Fields | |
---|---|
caller_ip |
The IP address of the caller. For caller from internet, this will be public IPv4 or IPv6 address. For caller from a Compute Engine VM with external IP address, this will be the VM's external IP address. For caller from a Compute Engine VM without external IP address, if the VM is in the same organization (or project) as the accessed resource, |
caller_supplied_user_agent |
The user agent of the caller. This information is not authenticated and should be treated accordingly. For example:
|
caller_network |
The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example:
|
request_attributes |
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into |
destination_attributes |
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature. |
ResourceLocation
Location information about a resource.
Fields | |
---|---|
current_locations[] |
The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example:
|
original_locations[] |
The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example:
|
ServiceAccountDelegationInfo
Identity delegation history of an authenticated service account.
Fields | ||
---|---|---|
Union field Authority . Entity that creates credentials for service account and assumes its identity for authentication. Authority can be only one of the following: |
||
first_party_principal |
First party (Google) identity as the real authority. |
|
third_party_principal |
Third party identity as the real authority. |
FirstPartyPrincipal
First party identity principal.
Fields | |
---|---|
principal_email |
The email address of a Google account. . |
service_metadata |
Metadata about the service that uses the service account. . |
ThirdPartyPrincipal
Third party identity principal.
Fields | |
---|---|
third_party_claims |
Metadata about third party identity. |