Asana · Schema

AuditLogEventContext

The context from which this event originated.

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow

Properties

Name Type Description
context_type string The type of context. Can be one of `web`, `desktop`, `mobile`, `asana_support`, `asana`, `email`, or `api`.
api_authentication_method string The authentication method used in the context of an API request. Only present if the `context_type` is `api`. Can be one of `cookie`, `oauth`, `personal_access_token`, or `service_account`.
client_ip_address string The IP address of the client that initiated the event, if applicable.
user_agent string The user agent of the client that initiated the event, if applicable.
oauth_app_name string The name of the OAuth App that initiated the event. Only present if the `api_authentication_method` is `oauth`.
rule_name string The name of the automation rule that initiated the event.
View JSON Schema on GitHub

JSON Schema

asana-auditlogeventcontext-schema.json Raw ↑
{
  "$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"
    }
  }
}