interface Event {
    id: string;
    locality: string;
    methodName: string;
    organizationId: string;
    principal?: EventPrincipal;
    productName: string;
    projectId?: string;
    recordedAt?: Date;
    requestBody?: Record<string, unknown>;
    requestId: string;
    resource?: AuditTrail.v1alpha1.Resource;
    serviceName: string;
    sourceIp: string;
    statusCode: number;
    userAgent?: string;
}

Properties

id: string

ID of the event.

locality: string

Locality of the resource attached to the event.

methodName: string

API method called to trigger the event.

organizationId: string

Organization ID containing the event.

principal?: EventPrincipal

User or IAM application at the origin of the event.

productName: string

Product name of the resource attached to the event.

projectId?: string

(Optional) Project of the resource attached to the event.

recordedAt?: Date

Timestamp of the event.

requestBody?: Record<string, unknown>

Request at the origin of the event.

requestId: string

Unique identifier of the request at the origin of the event.

Resource attached to the event.

serviceName: string

API name called to trigger the event.

sourceIp: string

IP address at the origin of the event.

statusCode: number

HTTP status code resulting of the API call.

userAgent?: string

User Agent at the origin of the event.