Variable: GatewayAuditLogRecordSchema
const GatewayAuditLogRecordSchema: ZodObject<{
timestamp: ZodString;
method: ZodString;
uri: ZodString;
request_id: ZodString;
request_body: ZodString;
query_params: ZodString;
request_headers: ZodString;
user_id: ZodString;
user_type: ZodString;
organisation_id: ZodString;
workspace_id: ZodString;
response_status_code: ZodNumber;
resource_type: ZodString;
action: ZodString;
client_ip: ZodString;
country: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
timestamp: ZodString;
method: ZodString;
uri: ZodString;
request_id: ZodString;
request_body: ZodString;
query_params: ZodString;
request_headers: ZodString;
user_id: ZodString;
user_type: ZodString;
organisation_id: ZodString;
workspace_id: ZodString;
response_status_code: ZodNumber;
resource_type: ZodString;
action: ZodString;
client_ip: ZodString;
country: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
timestamp: ZodString;
method: ZodString;
uri: ZodString;
request_id: ZodString;
request_body: ZodString;
query_params: ZodString;
request_headers: ZodString;
user_id: ZodString;
user_type: ZodString;
organisation_id: ZodString;
workspace_id: ZodString;
response_status_code: ZodNumber;
resource_type: ZodString;
action: ZodString;
client_ip: ZodString;
country: ZodString;
}, ZodTypeAny, "passthrough">>;
Defined in: src/models/ai-gateway.ts:927
One audit-log record.
SECURITY: request_body is returned unredacted by the API and can contain live
credentials (private keys, API keys) submitted through the SCM UI. The sibling
request_headers field IS masked. Never log this record wholesale.