{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/AuditLogEventContext", "title": "AuditLogEventContext", "description": "The context from which this event originated.", "type": "object", "properties": { "context_type": { "description": "The type of context.\nCan be one of `web`, `desktop`, `mobile`, `asana_support`, `asana`, `email`, or `api`.", "type": "string", "enum": [ "web", "desktop", "mobile", "asana_support", "asana", "email", "api" ], "example": "web" }, "api_authentication_method": { "description": "The authentication method used in the context of an API request.\nOnly present if the `context_type` is `api`. Can be one of `cookie`, `oauth`, `personal_access_token`, or `service_account`.", "type": "string", "enum": [ "cookie", "oauth", "personal_access_token", "service_account" ] }, "client_ip_address": { "description": "The IP address of the client that initiated the event, if applicable.", "type": "string", "example": "1.1.1.1" }, "user_agent": { "description": "The user agent of the client that initiated the event, if applicable.", "type": "string", "example": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" }, "oauth_app_name": { "description": "The name of the OAuth App that initiated the event.\nOnly present if the `api_authentication_method` is `oauth`.", "type": "string" }, "rule_name": { "description": "The name of the automation rule that initiated the event.", "type": "string", "example": "When Task is added to this project" } } }