{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-access-log-response-schema.json",
  "title": "AccessLogResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-audit-log-api-openapi.yml#/components/schemas/AccessLogResponse",
  "type": "object",
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AccessLogEntry"
      }
    },
    "total": {
      "type": "integer",
      "format": "int64"
    }
  },
  "$defs": {
    "AccessLogEntry": {
      "type": "object",
      "properties": {
        "action": {
          "type": "string",
          "enum": [
            "GRANT_TEMP_ACCESS",
            "FIRST_LOGIN",
            "LOGIN",
            "ACCESS",
            "FAILED_LOGIN",
            "LOGOUT",
            "CREATE_API_TOKEN_BY_POLICY",
            "IDP_MAPPING"
          ]
        },
        "email": {
          "type": "string"
        },
        "fullName": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "meta": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "tenantId": {
          "type": "string"
        },
        "tenantUnitId": {
          "type": "string"
        },
        "timestamp": {
          "type": "integer",
          "format": "int64",
          "minimum": 1118583367265
        }
      },
      "required": [
        "action",
        "email",
        "fullName",
        "tenantId"
      ]
    }
  }
}