---
title: Box Audit Logs connector reference
description: Reference information for the Box Audit Logs connector, including supported tables and destination schemas.
canonical_url: https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/box-audit-logs-reference
---

# Box Audit Logs connector reference

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/gcp/en/release-notes/release-types.md). To use it, a workspace admin must turn on **Lakeflow Connect for Box Audit Logs** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/gcp/en/admin/workspace-settings/manage-previews.md).

Reference information for the managed Box Audit Logs connector, including the supported source table, the `event_logs` destination schema, and connector options.

## <a id="supported-tables" />Supported source tables

The Box Audit Logs connector supports the following source table, under the `default` source schema:

| Source table | Primary key | Description                                                                                      | Sync mode   | Cursor field |
| ------------ | ----------- | ------------------------------------------------------------------------------------------------ | ----------- | ------------ |
| `event_logs` | `event_id`  | Enterprise audit events for your Box enterprise, such as user, file, and configuration activity. | Incremental | `created_at` |

## <a id="connector-options" />Connector options

The Box Audit Logs connector has no additional configuration options beyond the pipeline settings available for all managed connectors. See [Ingest data from Box](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/box-audit-logs-pipeline.md).

## <a id="destination-table-schemas" />Destination table schemas

### <a id="event-logs-schema" />`event_logs`

* **Primary key:** `event_id`
* **Cursor field:** `created_at`

| Field                | Data type   |
| -------------------- | ----------- |
| `event_id`           | `STRING`    |
| `event_type`         | `STRING`    |
| `type`               | `STRING`    |
| `created_at`         | `TIMESTAMP` |
| `recorded_at`        | `TIMESTAMP` |
| `session_id`         | `STRING`    |
| `ip_address`         | `STRING`    |
| `created_by`         | `VARIANT`   |
| `action_by`          | `VARIANT`   |
| `source`             | `VARIANT`   |
| `additional_details` | `VARIANT`   |

> [!NOTE]
>
> This table does not support SCD Type 2 because it has `VARIANT` columns.

## <a id="required-scopes" />Required OAuth permissions

The Box Server Authentication app must include the following scope. See [Scopes](https://developer.box.com/guides/api-calls/permissions-and-errors/scopes).

| Permission                   | Required for |
| ---------------------------- | ------------ |
| Manage enterprise properties | `event_logs` |

## <a id="required-permissions" />Required Box account permissions

| Permission                                                                         | Required for                                  |
| ---------------------------------------------------------------------------------- | --------------------------------------------- |
| Enterprise admin, or co-admin with **Run new reports and access existing reports** | Reading enterprise events from the Events API |
