Cloud DNS Audit Trails Events: ProcessDnsQuery
Event JSON schema
{
"eventId": "string",
"eventSource": "string",
"eventType": "string",
"eventTime": "string",
"authentication": {
"authenticated": "boolean",
// Includes only one of the fields `subjectType`
"subjectType": "string",
// end of the list of possible fields
// Includes only one of the fields `subjectId`
"subjectId": "string",
// end of the list of possible fields
// Includes only one of the fields `subjectName`
"subjectName": "string",
// end of the list of possible fields
// Includes only one of the fields `federationId`
"federationId": "string",
// end of the list of possible fields
// Includes only one of the fields `federationName`
"federationName": "string",
// end of the list of possible fields
// Includes only one of the fields `federationType`
"federationType": "string",
// end of the list of possible fields
"tokenInfo": {
"maskedIamToken": "string",
// Includes only one of the fields `iamTokenId`
"iamTokenId": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorId`
"impersonatorId": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorType`
"impersonatorType": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorName`
"impersonatorName": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorFederationId`
"impersonatorFederationId": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorFederationName`
"impersonatorFederationName": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorFederationType`
"impersonatorFederationType": "string"
// end of the list of possible fields
}
},
"resourceMetadata": {
"path": [
{
"resourceType": "string",
"resourceId": "string",
// Includes only one of the fields `resourceName`
"resourceName": "string"
// end of the list of possible fields
}
]
},
"eventStatus": "string",
"details": {
"query": "string",
"queryType": "string",
"queryTime": "string",
"responseTime": "string",
"serverIp": "string",
"serverCluster": "string",
"clientIp": "string",
"tag": "string",
"networkId": "string",
"vmInstanceId": "string",
"forwardingQuery": "string",
"rcode": "string",
"answer": [
{
"name": "string",
"recordType": "string",
"ttl": "string"
}
],
"extra": [
{
"name": "string",
"recordType": "string",
"ttl": "string"
}
],
"ns": [
{
"name": "string",
"recordType": "string",
"ttl": "string"
}
],
"firewallResult": {
"status": "string",
"firewallId": "string"
}
}
}
Field description
|
Field |
Description |
|
eventId |
string |
|
eventSource |
string |
|
eventType |
string |
|
eventTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
authentication |
|
|
resourceMetadata |
|
|
eventStatus |
enum (EventStatus)
|
|
details |
IamAuthentication
|
Field |
Description |
|
authenticated |
boolean |
|
subjectType |
enum (IamSubjectType) Includes only one of the fields
|
|
subjectId |
string Includes only one of the fields |
|
subjectName |
string Includes only one of the fields |
|
federationId |
string Includes only one of the fields |
|
federationName |
string Includes only one of the fields |
|
federationType |
enum (FederationType) Includes only one of the fields
|
|
tokenInfo |
IamTokenInfo
|
Field |
Description |
|
maskedIamToken |
string |
|
iamTokenId |
string Includes only one of the fields |
|
impersonatorId |
string Includes only one of the fields |
|
impersonatorType |
enum (IamSubjectType) Includes only one of the fields
|
|
impersonatorName |
string Includes only one of the fields |
|
impersonatorFederationId |
string Includes only one of the fields |
|
impersonatorFederationName |
string Includes only one of the fields |
|
impersonatorFederationType |
enum (FederationType) Includes only one of the fields
|
ResourceMetadata
|
Field |
Description |
|
path[] |
Resource
|
Field |
Description |
|
resourceType |
string |
|
resourceId |
string |
|
resourceName |
string Includes only one of the fields |
EventDetails
|
Field |
Description |
|
query |
string |
|
queryType |
enum (RecordType)
|
|
queryTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
responseTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
serverIp |
string |
|
serverCluster |
string |
|
clientIp |
string |
|
tag |
string |
|
networkId |
string |
|
vmInstanceId |
string |
|
forwardingQuery |
string |
|
rcode |
enum (Rcode)
|
|
answer[] |
|
|
extra[] |
|
|
ns[] |
|
|
firewallResult |
RR
|
Field |
Description |
|
name |
string |
|
recordType |
enum (RecordType)
|
|
ttl |
string (int64) |
FirewallResult
|
Field |
Description |
|
status |
enum (FirewallStatus)
|
|
firewallId |
string |