> For the complete documentation index, see [llms.txt](https://docs.vectra.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vectra.ai/operations/event-search/investigate-api-metadata-schema-reference.md).

# Investigate API metadata schema reference

Tables and the fields you will use most when you query the Investigate API for Respond UX (RUX) deployments.

## Introduction

Use this reference to choose tables and find the fields most commonly used when you write Investigate API queries. Each table includes an example query you can adapt.

{% hint style="warning" %}
**Please Note:**

The Investigate API is available for Respond UX (RUX) deployments and requires a Vectra AI Pro Platform subscription. If you are unfamiliar with your deployment type, please see [Analyst UX options (RUX vs QUX)](/deployment/getting-started/analyst-ux-options-rux-vs-qux.md).

If an API client makes requests without the tenant being license for the Vectra AI Pro Platform, it will receive `403 Forbidden` .
{% endhint %}

{% hint style="warning" %}
**These are examples, not a complete list.** This reference shows the tables and the fields that are commonly used. Vectra adds tables and fields over time, and the tables available to you depend on the data sources connected to your tenant. Always query the endpoints to get the complete, current list.
{% endhint %}

{% hint style="success" %}
**The API is the source of truth.** Each table section shows the schema endpoint that returns the table's complete, current field list. To see which tables your tenant can query, use `GET /api/v3.5/investigations/tables/`.
{% endhint %}

## How to Use This Reference

1. List what your tenant can query with `GET /api/v3.5/investigations/tables/`.
2. Read the full field list for a table with `GET /api/v3.5/investigations/schemas/{table_name}/`. Use the table's API name (for example `ssl`), not its SQL name.
3. Write queries with the SQL name shown below (for example `FROM network.ssl`).
4. See the [Investigate API user guide](/operations/event-search/investigate-api-user-guide.md) for the request and response format.

Names use the form `<source>.<table>` in queries. The `._all` suffix is optional.

## Available Tables

<table><thead><tr><th width="210.03125">SQL name</th><th width="182.34375">API name</th><th>What it holds</th></tr></thead><tbody><tr><td><code>network.beacon</code></td><td><code>beacon</code></td><td>Beaconing records: periodic, automated sessions from an internal host to an external destination, summarized per <code>beacon_uid</code>.</td></tr><tr><td><code>network.dce_rpc</code></td><td><code>dce_rpc</code></td><td>Microsoft DCE/RPC calls, one row per call. Useful for lateral movement, credential abuse, and remote execution through Windows RPC interfaces.</td></tr><tr><td><code>network.dhcp</code></td><td><code>dhcp</code></td><td>DHCP transactions. Tracks IP-to-hostname and IP-to-MAC mappings over time.</td></tr><tr><td><code>network.dns</code></td><td><code>dns</code></td><td>DNS queries and responses: what was asked, what came back, and the outcome.</td></tr><tr><td><code>network.http</code></td><td><code>http</code></td><td>HTTP sessions: hosts, URIs, methods, user agents, response codes, and data volumes.</td></tr><tr><td><code>network.isession</code></td><td><code>isession</code></td><td>IP sessions across all protocols. The broadest and highest-volume network table. Use it for traffic baselines and protocol analysis.</td></tr><tr><td><code>network.kerberos</code></td><td><code>kerberos</code></td><td>Kerberos authentication events, including AS-REQ and TGS-REQ flows. Shows ticket-issuance patterns and supports investigation of Kerberos attacks.</td></tr><tr><td><code>network.ldap</code></td><td><code>ldap</code></td><td>LDAP queries. Directory lookups, reconnaissance, and sensitive attribute access.</td></tr><tr><td><code>network.match</code></td><td><code>match</code></td><td>Vectra Match events: Suricata-based IDS alerts from network traffic, with the signature and the related EVE JSON metadata.</td></tr><tr><td><code>network.ntlm</code></td><td><code>ntlm</code></td><td>NTLM authentication events: account use, outcomes, and legacy protocol usage.</td></tr><tr><td><code>network.radius</code></td><td><code>radius</code></td><td>RADIUS authentication events. VPN and wireless authentication.</td></tr><tr><td><code>network.rdp</code></td><td><code>rdp</code></td><td>RDP sessions: remote desktop connections with client attributes and session characteristics.</td></tr><tr><td><code>network.smb_files</code></td><td><code>smb_files</code></td><td>SMB file and pipe operations on network shares: opens, reads, writes, closes, and directory queries. The <code>action</code> field says which.</td></tr><tr><td><code>network.smb_mapping</code></td><td><code>smb_mapping</code></td><td>SMB share mapping events. Connections to and disconnections from network shares.</td></tr><tr><td><code>network.ssh</code></td><td><code>ssh</code></td><td>SSH sessions, inbound and outbound: client and server software, algorithms, HASSH fingerprints, and post-quantum key exchange.</td></tr><tr><td><code>network.ssl</code></td><td><code>ssl</code></td><td>TLS/SSL sessions: encrypted-session attributes, fingerprints (JA3, JA3S, JA4, JA4S), certificate subjects, negotiated ciphers, and post-quantum key exchange.</td></tr><tr><td><code>network.x509</code></td><td><code>x509</code></td><td>X.509 certificates seen on the wire: subject, issuer, validity period, key details, and whether the certificate is self-signed.</td></tr><tr><td><code>aws.cloudtrail</code></td><td><code>cloudtrail</code></td><td>Every AWS API call and console action recorded by CloudTrail: management events (IAM changes, role assumptions, resource creation and deletion) and data events. Each row is one API event tied to an IAM identity and enriched with Vectra entity resolution.</td></tr><tr><td><code>azurecp.operations</code></td><td><code>operations</code></td><td>Azure Resource Manager operations from Azure Activity Logs. Each row is one API call that created, changed, deleted, or read an Azure resource. This is the audit trail for the management plane.</td></tr><tr><td><code>entra.signins</code></td><td><code>signins</code></td><td>Sign-in logs from Entra ID. Every authentication attempt creates a row: interactive and non-interactive sign-ins, legacy protocols, and MFA challenges. Includes risk, conditional access results, device details, and location.</td></tr><tr><td><code>entra.directoryaudits</code></td><td><code>directory_audits</code></td><td>Entra ID directory audit log: changes to users, groups, applications, service principals, roles, consent grants, and conditional access. These are the "what changed" records, which complement <code>entra.signins</code>.</td></tr><tr><td><code>m365.exchange</code></td><td><code>exchange</code></td><td>Exchange workload events from the Unified Audit Log: mailbox access, message activity, forwarding rules, calendar sharing, and admin operations. A primary source for email-based threat detection.</td></tr><tr><td><code>m365.sharepoint</code></td><td><code>sharepoint</code></td><td>SharePoint and OneDrive events from the Unified Audit Log: file access, downloads, uploads, sharing, and permission changes.</td></tr><tr><td><code>m365.general</code></td><td><code>general</code></td><td>Microsoft 365 audit events that span workloads or do not fit the others: Teams, Power Automate, compliance, and Copilot interaction events.</td></tr><tr><td><code>m365.active_directory</code></td><td><code>active_directory</code></td><td>Azure Active Directory workload events from the Unified Audit Log: sign-in successes and failures, user and group changes, application consent, and directory object changes.</td></tr></tbody></table>

Not every tenant has every table. A table appears in `GET /api/v3.5/investigations/tables/` only when your tenant has a source for it.

## Network

Network metadata tables capture protocol-level activity observed by Vectra sensors. Use them to investigate host behavior, lateral movement, command-and-control, and data exfiltration across DNS, HTTP, Kerberos, LDAP, SMB, TLS, and more.

### Fields on Most Network Tables

These fields appear on most network tables and are listed once here instead of under every table. The last column names the tables that do not have the field.

<table><thead><tr><th>Field</th><th width="108.76953125">Type</th><th>Description</th><th width="193.61328125">Not on</th></tr></thead><tbody><tr><td><code>id.ip_ver</code></td><td><code>string</code></td><td>IP version of the connection</td><td><code>dhcp</code></td></tr><tr><td><code>id.orig_h</code></td><td><code>string</code></td><td>The connection client's endpoint host</td><td><code>dhcp</code></td></tr><tr><td><code>id.orig_p</code></td><td><code>int</code></td><td>The connection client's endpoint port</td><td><code>dhcp</code></td></tr><tr><td><code>id.resp_h</code></td><td><code>string</code></td><td>The connection server's endpoint host</td><td><code>dhcp</code></td></tr><tr><td><code>id.resp_p</code></td><td><code>int</code></td><td>The connection server's endpoint port</td><td><code>dhcp</code></td></tr><tr><td><code>local_orig</code></td><td><code>boolean</code></td><td>True if the client is in the local network</td><td><code>dhcp</code></td></tr><tr><td><code>local_resp</code></td><td><code>boolean</code></td><td>True if the server is in the local network</td><td><code>dhcp</code></td></tr><tr><td><code>orig_hostname.host_luid</code></td><td><code>string</code></td><td>Unique ID of the originating host</td><td><code>dhcp</code></td></tr><tr><td><code>orig_hostname.id</code></td><td><code>int</code></td><td>Vectra internal identifier for an origin host</td><td><code>dhcp</code></td></tr><tr><td><code>orig_hostname.name</code></td><td><code>string</code></td><td>Origin hostname</td><td><code>dhcp</code></td></tr><tr><td><code>orig_huid</code></td><td><code>string</code></td><td>Unique ID of the originating host</td><td><code>dhcp</code>, <code>x509</code></td></tr><tr><td><code>orig_sluid</code></td><td><code>string</code></td><td>Unique ID for the originating host session, used to track a unique IP session over time.</td><td><code>dhcp</code></td></tr><tr><td><code>resp_hostname.host_luid</code></td><td><code>string</code></td><td>Unique ID of the responding host</td><td><code>beacon</code>, <code>dhcp</code></td></tr><tr><td><code>resp_hostname.id</code></td><td><code>int</code></td><td>Vectra internal identifier for a response host</td><td><code>beacon</code>, <code>dhcp</code></td></tr><tr><td><code>resp_hostname.name</code></td><td><code>string</code></td><td>Response hostname</td><td><code>beacon</code>, <code>dhcp</code></td></tr><tr><td><code>resp_huid</code></td><td><code>string</code></td><td>Unique ID of the responding host</td><td><code>beacon</code>, <code>dhcp</code>, <code>x509</code></td></tr><tr><td><code>resp_sluid</code></td><td><code>string</code></td><td>Unique ID for the responding host session, used to track a unique IP session over time.</td><td><code>beacon</code>, <code>dhcp</code></td></tr><tr><td><code>sensor_uid</code></td><td><code>string</code></td><td>Unique ID of the sensor</td><td><code>match</code></td></tr><tr><td><code>timestamp</code></td><td><code>timestamp</code></td><td>Timestamp for when the event happened (in ms)</td><td></td></tr><tr><td><code>uid</code></td><td><code>string</code></td><td>Identifier that combines Sensor ID and Session ID</td><td><code>match</code></td></tr></tbody></table>

### network.beacon

Beaconing records: periodic, automated sessions from an internal host to an external destination, summarized per `beacon_uid`.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/beacon/`.

<table><thead><tr><th width="168.59375">Field</th><th width="150.4453125">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>beacon_uid</code></td><td><code>string</code></td><td>Unique ID for the beacon spanning multiple events</td></tr><tr><td><code>beacon_type</code></td><td><code>string</code></td><td>Characterization of the beacon type being reported</td></tr><tr><td><code>session_count</code></td><td><code>decimal(20,0)</code></td><td>Number of completed sessions (connection state <code>SF</code>) in the beacon</td></tr><tr><td><code>first_event_time</code></td><td><code>timestamp</code></td><td>Timestamp for first session of the BeaconUid</td></tr><tr><td><code>last_event_time</code></td><td><code>timestamp</code></td><td>Timestamp for last session of the BeaconUid</td></tr><tr><td><code>duration</code></td><td><code>decimal(20,0)</code></td><td>Total duration of the BeaconUid, in milliseconds</td></tr><tr><td><code>orig_ip_bytes</code></td><td><code>decimal(20,0)</code></td><td>Total orig bytes over the BeaconUid</td></tr><tr><td><code>resp_ip_bytes</code></td><td><code>decimal(20,0)</code></td><td>Total resp bytes over the BeaconUid</td></tr><tr><td><code>resp_domains[]</code></td><td><code>string</code></td><td>The domain or list of domains for the resp relative to the Uid</td></tr><tr><td><code>service</code></td><td><code>string</code></td><td>An identification of an application protocol being sent over the connection</td></tr><tr><td><code>proto_name</code></td><td><code>string</code></td><td>The name of the transport layer</td></tr><tr><td><code>ja3</code></td><td><code>string</code></td><td>The JA3 fingerprint of the TLS client</td></tr></tbody></table>

**Example: Longest-running beacons in the last 24 hours**

```sql
SELECT beacon_uid, id.orig_h AS src, id.resp_h AS dst, id.resp_p AS dport, session_count, duration FROM network.beacon WHERE timestamp > date_add('hour', -24, now()) ORDER BY session_count DESC LIMIT 50
```

### network.dce\_rpc

Microsoft DCE/RPC calls, one row per call. Useful for lateral movement, credential abuse, and remote execution through Windows RPC interfaces.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/dce_rpc/`.

<table><thead><tr><th width="128.38671875">Field</th><th width="146.5234375">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>endpoint</code></td><td><code>string</code></td><td>Endpoint name looked up from the uuid</td></tr><tr><td><code>operation</code></td><td><code>string</code></td><td>Operation seen in the call</td></tr><tr><td><code>domain</code></td><td><code>string</code></td><td>The domain of the server</td></tr><tr><td><code>hostname</code></td><td><code>string</code></td><td>The hostname of the server</td></tr><tr><td><code>username</code></td><td><code>string</code></td><td>The username making the RPC call</td></tr><tr><td><code>rtt</code></td><td><code>decimal(20,0)</code></td><td>Round trip time from the request to the response. If either the request or response wasn’t seen, this will be 0</td></tr></tbody></table>

**Example: Most frequent RPC operations from one host**

```sql
SELECT endpoint, operation, COUNT(*) AS calls FROM network.dce_rpc WHERE timestamp > date_add('hour', -24, now()) AND id.orig_h = '198.51.100.20' GROUP BY endpoint, operation ORDER BY calls DESC LIMIT 50
```

### network.dhcp

DHCP transactions. Tracks IP-to-hostname and IP-to-MAC mappings over time.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/dhcp/`.

<table><thead><tr><th width="222.96875">Field</th><th width="106.4140625">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>assigned_ip</code></td><td><code>string</code></td><td>IP address assigned by the server</td></tr><tr><td><code>mac</code></td><td><code>string</code></td><td>MAC address, for example <code>00:11:22:33:44:55</code></td></tr><tr><td><code>client_fqdn</code></td><td><code>string</code></td><td>Client FQDN</td></tr><tr><td><code>lease_time</code></td><td><code>bigint</code></td><td>IP address lease interval</td></tr><tr><td><code>server_addr</code></td><td><code>string</code></td><td>IP address of the server involved in actually handing out the lease</td></tr><tr><td><code>routers[]</code></td><td><code>string</code></td><td>Default routers advertised in the lease</td></tr><tr><td><code>vendor_class_id</code></td><td><code>string</code></td><td>Vendor class identifier</td></tr><tr><td><code>parameter_request_list</code></td><td><code>string</code></td><td>Comma-separated decimal parameter codes, preserving order</td></tr><tr><td><code>user_class[]</code></td><td><code>string</code></td><td>User class values</td></tr><tr><td><code>ja4d</code></td><td><code>string</code></td><td>JA4D fingerprint</td></tr></tbody></table>

**Example: Which MAC addresses held an IP address**

```sql
SELECT timestamp, assigned_ip, mac, client_fqdn FROM network.dhcp WHERE timestamp > date_add('day', -7, now()) AND assigned_ip = '198.51.100.20' ORDER BY timestamp DESC LIMIT 100
```

### network.dns

DNS queries and responses: what was asked, what came back, and the outcome.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/dns/`.

<table><thead><tr><th width="151.67578125">Field</th><th width="99.390625">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>query</code></td><td><code>string</code></td><td>The domain name that is the subject of the DNS query</td></tr><tr><td><code>qtype_name</code></td><td><code>string</code></td><td>A descriptive name for the type of the query</td></tr><tr><td><code>rcode_name</code></td><td><code>string</code></td><td>A descriptive name for the response code value</td></tr><tr><td><code>answers[]</code></td><td><code>string</code></td><td>The set of resource descriptions in the query answer</td></tr><tr><td><code>ttls[]</code></td><td><code>int</code></td><td>The caching intervals of the associated RRs described by the answers field</td></tr><tr><td><code>total_answers</code></td><td><code>int</code></td><td>The total number of resource records in a reply message's answer section</td></tr><tr><td><code>rejected</code></td><td><code>boolean</code></td><td>If true, the DNS query was rejected by the server</td></tr><tr><td><code>qclass_name</code></td><td><code>string</code></td><td>A descriptive name for the class of the query</td></tr><tr><td><code>proto</code></td><td><code>tinyint</code></td><td>The transport layer protocol of the connection</td></tr><tr><td><code>saw_query</code></td><td><code>boolean</code></td><td>Whether the full DNS query has been seen</td></tr><tr><td><code>saw_reply</code></td><td><code>boolean</code></td><td>Whether the full DNS reply has been seen</td></tr></tbody></table>

**Example: Lookups of one domain and what they resolved to**

```sql
SELECT timestamp, id.orig_h AS src, query, qtype_name, answers FROM network.dns WHERE timestamp > date_add('day', -1, now()) AND query = 'example.com' ORDER BY timestamp DESC LIMIT 100
```

### network.http

HTTP sessions: hosts, URIs, methods, user agents, response codes, and data volumes.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/http/`.

<table><thead><tr><th width="191.61328125">Field</th><th width="100.1171875">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>host</code></td><td><code>string</code></td><td>Value of the HOST header</td></tr><tr><td><code>host_ip</code></td><td><code>string</code></td><td>Normalized HTTP host IP without port when the effective host is a literal IP</td></tr><tr><td><code>uri</code></td><td><code>string</code></td><td>URI used in the request</td></tr><tr><td><code>method</code></td><td><code>string</code></td><td>Verb used in the HTTP request (GET, POST, HEAD, etc.)</td></tr><tr><td><code>status_code</code></td><td><code>int</code></td><td>Status code returned by the server</td></tr><tr><td><code>user_agent</code></td><td><code>string</code></td><td>Value of the User-Agent header from the client</td></tr><tr><td><code>referrer</code></td><td><code>string</code></td><td>Value of the <code>Referer</code> HTTP request header</td></tr><tr><td><code>post_data</code></td><td><code>binary</code></td><td>Binary data of the POST request body, truncated to 2 KB</td></tr><tr><td><code>orig_mime_types[]</code></td><td><code>string</code></td><td>An ordered list of MIME types from the client</td></tr><tr><td><code>resp_mime_types[]</code></td><td><code>string</code></td><td>An ordered list of MIME types from the server</td></tr><tr><td><code>resp_filename</code></td><td><code>string</code></td><td>The name of the file returned by the server (if any)</td></tr><tr><td><code>request_body_len</code></td><td><code>bigint</code></td><td>Actual uncompressed content size of the data transferred from the client</td></tr><tr><td><code>response_body_len</code></td><td><code>bigint</code></td><td>Actual uncompressed content size of the data transferred from the server</td></tr><tr><td><code>is_proxied</code></td><td><code>boolean</code></td><td>The connection is determined to be proxied based on HTTP header information</td></tr><tr><td><code>ja4h</code></td><td><code>string</code></td><td>The JA4H fingerprint of the HTTP client</td></tr></tbody></table>

**Example: Requests to one host header**

```sql
SELECT timestamp, id.orig_h AS src, host, uri, method, status_code, user_agent FROM network.http WHERE timestamp > date_add('day', -3, now()) AND host = 'example.com' ORDER BY timestamp DESC LIMIT 100
```

### network.isession

IP sessions across all protocols. The broadest and highest-volume network table. Use it for traffic baselines and protocol analysis.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/isession/`.

<table><thead><tr><th width="184.765625">Field</th><th width="152.77734375">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>service</code></td><td><code>string</code></td><td>An identification of an application protocol being sent over the connection</td></tr><tr><td><code>application[]</code></td><td><code>string</code></td><td>Applications associated with this session</td></tr><tr><td><code>proto_name</code></td><td><code>string</code></td><td>The name of the transport layer</td></tr><tr><td><code>conn_state</code></td><td><code>string</code></td><td>The state of the connection, as a Zeek connection-state code (for example <code>S0</code>, <code>SF</code>, or <code>REJ</code>)</td></tr><tr><td><code>duration</code></td><td><code>decimal(20,0)</code></td><td>How long, in milliseconds, the connection lasted or time until present. For 3-way or 4-way connection tear-downs, this will not include the final ACK</td></tr><tr><td><code>session_start_time</code></td><td><code>timestamp</code></td><td>Timestamp when session started</td></tr><tr><td><code>orig_ip_bytes</code></td><td><code>decimal(20,0)</code></td><td>Number of IP level bytes that the originator sent (as seen on the wire, taken from the IP total_length header field)</td></tr><tr><td><code>resp_ip_bytes</code></td><td><code>decimal(20,0)</code></td><td>Number of IP level bytes that the responder sent (as seen on the wire, taken from the IP total_length header field)</td></tr><tr><td><code>orig_pkts</code></td><td><code>bigint</code></td><td>Number of packets that the originator sent</td></tr><tr><td><code>resp_pkts</code></td><td><code>bigint</code></td><td>Number of packets that the responder sent</td></tr><tr><td><code>resp_domain</code></td><td><code>string</code></td><td>The domain name of the server (if any)</td></tr><tr><td><code>ja4t</code></td><td><code>string</code></td><td>The JA4T fingerprint of the client's TCP SYN packet</td></tr><tr><td><code>orig_vlan_id</code></td><td><code>int</code></td><td>VLAN_id of originator, if any</td></tr><tr><td><code>http_host_ip</code></td><td><code>string</code></td><td>Normalized HTTP host IP without port when httpHost is a literal IP</td></tr></tbody></table>

**Example: Outbound sessions from internal hosts to external addresses**

```sql
SELECT timestamp, id.orig_h AS src, id.resp_h AS dst, id.resp_p AS dport, orig_ip_bytes, resp_ip_bytes FROM network.isession WHERE timestamp > date_add('hour', -24, now()) AND local_orig = true AND local_resp = false ORDER BY timestamp DESC LIMIT 100
```

### network.kerberos

Kerberos authentication events, including AS-REQ and TGS-REQ flows. Shows ticket-issuance patterns and supports investigation of Kerberos attacks.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/kerberos/`.

<table><thead><tr><th width="185.10546875">Field</th><th width="110.046875">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>client</code></td><td><code>string</code></td><td>Name of the Kerberos client</td></tr><tr><td><code>service</code></td><td><code>string</code></td><td>Name of the Kerberos service</td></tr><tr><td><code>request_type</code></td><td><code>string</code></td><td>Request type - Authentication Service ("AS") or Ticket Granting Service ("TGS")</td></tr><tr><td><code>success</code></td><td><code>boolean</code></td><td>True if the request was successful</td></tr><tr><td><code>error_code</code></td><td><code>string</code></td><td>The error code, if the request failed</td></tr><tr><td><code>error_msg</code></td><td><code>string</code></td><td>The error message, if the request failed</td></tr><tr><td><code>req_ciphers[]</code></td><td><code>string</code></td><td>Ordered list of requested ciphers</td></tr><tr><td><code>ticket_cipher</code></td><td><code>string</code></td><td>Ticket cipher observed on AS-REP and TGS-REP replies</td></tr><tr><td><code>rep_cipher</code></td><td><code>string</code></td><td>Cipher selected in reply message</td></tr><tr><td><code>account_privilege</code></td><td><code>smallint</code></td><td>Client's account privilege level</td></tr><tr><td><code>service_privilege</code></td><td><code>smallint</code></td><td>Privilege level of service</td></tr><tr><td><code>data_source</code></td><td><code>string</code></td><td>The source of the record, either "network" or "log"</td></tr></tbody></table>

**Example: Failed Kerberos authentication in the last 6 hours**

```sql
SELECT timestamp, id.orig_h AS src, client, service, error_msg FROM network.kerberos WHERE timestamp > date_add('hour', -6, now()) AND success = false ORDER BY timestamp DESC LIMIT 500
```

### network.ldap

LDAP queries. Directory lookups, reconnaissance, and sensitive attribute access.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/ldap/`.

<table><thead><tr><th width="244.6796875">Field</th><th width="91.34765625">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>query</code></td><td><code>string</code></td><td>The LDAP query string (e.g. "(objectclass=*)")</td></tr><tr><td><code>base_object</code></td><td><code>string</code></td><td>Path of the base object query</td></tr><tr><td><code>query_scope</code></td><td><code>string</code></td><td>The scope of the query (e.g. "baseObject")</td></tr><tr><td><code>attributes[]</code></td><td><code>string</code></td><td>Array of attributes used for the LDAP query</td></tr><tr><td><code>result_code</code></td><td><code>string</code></td><td>The result code of the LDAP query (e.g. "success" or "busy")</td></tr><tr><td><code>result_count</code></td><td><code>bigint</code></td><td>The count of the entries in the result</td></tr><tr><td><code>is_query</code></td><td><code>boolean</code></td><td>Boolean flag indicating whether the query was observed in the request</td></tr><tr><td><code>bind_error_count</code></td><td><code>bigint</code></td><td>If there are bind errors, count of the errors</td></tr><tr><td><code>logon_failure_error_count</code></td><td><code>bigint</code></td><td>The count of logon errors</td></tr><tr><td><code>error</code></td><td><code>string</code></td><td>The error message in case of error (e.g. "0000208D: NameErr …")</td></tr></tbody></table>

**Example: Hosts running the most LDAP queries**

```sql
SELECT id.orig_h AS src, COUNT(*) AS queries FROM network.ldap WHERE timestamp > date_add('hour', -24, now()) AND is_query = true GROUP BY id.orig_h ORDER BY queries DESC LIMIT 50
```

### network.match

Vectra Match events: Suricata-based IDS alerts from network traffic, with the signature and the related EVE JSON metadata.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/match/`.

<table><thead><tr><th>Field</th><th width="100.65625">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>alert.signature</code></td><td><code>string</code></td><td>The rule name. Based on the 'msg' text in the signature</td></tr><tr><td><code>alert.signature_id</code></td><td><code>int</code></td><td>Signature Identifier</td></tr><tr><td><code>alert.category</code></td><td><code>string</code></td><td>Category of the Alert Message</td></tr><tr><td><code>alert.metadata.malware_family[]</code></td><td><code>string</code></td><td>Specifies the Malware Family that is associated with the signature</td></tr><tr><td><code>alert.metadata.signature_severity[]</code></td><td><code>string</code></td><td>Specifies the severity defined for a given signature</td></tr><tr><td><code>alert.metadata.tag[]</code></td><td><code>string</code></td><td>Specifies any tag information assigned to the signature by the author</td></tr><tr><td><code>direction</code></td><td><code>string</code></td><td>The traffic direction of the alert</td></tr><tr><td><code>app_proto</code></td><td><code>string</code></td><td>The application layer of the protocol</td></tr><tr><td><code>payload_printable</code></td><td><code>string</code></td><td>The payload presented in ASCII</td></tr></tbody></table>

**Example: Most frequent signatures**

```sql
SELECT alert.signature AS signature, alert.category AS category, COUNT(*) AS hits FROM network.match WHERE timestamp > date_add('day', -1, now()) GROUP BY alert.signature, alert.category ORDER BY hits DESC LIMIT 50
```

### network.ntlm

NTLM authentication events: account use, outcomes, and legacy protocol usage.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/ntlm/`.

<table><thead><tr><th width="276.37890625">Field</th><th width="88.0390625">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>username</code></td><td><code>string</code></td><td>Username given by the client</td></tr><tr><td><code>domain</code></td><td><code>string</code></td><td>Domain given by the client</td></tr><tr><td><code>hostname</code></td><td><code>string</code></td><td>Hostname given by the client</td></tr><tr><td><code>success</code></td><td><code>boolean</code></td><td>Indicates whether the authentication was successful</td></tr><tr><td><code>status</code></td><td><code>bigint</code></td><td>The status code of the operation</td></tr><tr><td><code>message_type</code></td><td><code>tinyint</code></td><td>NTLM message type (1=negotiate, 2=challenge, 3=authenticate)</td></tr><tr><td><code>target_name</code></td><td><code>binary</code></td><td>Target name from CHALLENGE message</td></tr><tr><td><code>version</code></td><td><code>tinyint</code></td><td>NTLM version (1 for v1, 2 for v2)</td></tr><tr><td><code>ntlm_has_extended_protection</code></td><td><code>boolean</code></td><td>Whether Extended Protection for Authentication is present</td></tr><tr><td><code>ntlm_channel_bindings</code></td><td><code>binary</code></td><td>Channel Binding Token from NTLM AV pairs</td></tr><tr><td><code>user_domain_format</code></td><td><code>binary</code></td><td>User in user@domain format</td></tr><tr><td><code>negotiate_workstation_name</code></td><td><code>binary</code></td><td>Workstation name from NEGOTIATE message</td></tr></tbody></table>

**Example: Failed NTLM authentications by account**

```sql
SELECT username, domain, COUNT(*) AS failures FROM network.ntlm WHERE timestamp > date_add('hour', -24, now()) AND success = false GROUP BY username, domain ORDER BY failures DESC LIMIT 50
```

### network.radius

RADIUS authentication events. VPN and wireless authentication.

*The schema exists for every tenant, but this table is only queryable where RADIUS traffic is observed. Check the tables list.*

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/radius/`.

<table><thead><tr><th width="186.046875">Field</th><th width="92.27734375">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>username</code></td><td><code>string</code></td><td>The username observed in the RADIUS message</td></tr><tr><td><code>result</code></td><td><code>string</code></td><td>String rep of RADIUS ResultType enum: success, failed, challenge, unknown</td></tr><tr><td><code>radius_type</code></td><td><code>string</code></td><td>RADIUS message type: Access, Accounting</td></tr><tr><td><code>calling_station_id</code></td><td><code>string</code></td><td>The identifier of the calling station, previously a phone number</td></tr><tr><td><code>nas_ip_address</code></td><td><code>string</code></td><td>IP of Device, Endpoint, or Intermediate System</td></tr><tr><td><code>nas_identifier</code></td><td><code>string</code></td><td>Authenticating client's requesting role</td></tr><tr><td><code>framed_ip_address</code></td><td><code>string</code></td><td>IP of the endpoint device connecting to the system</td></tr><tr><td><code>service_type</code></td><td><code>bigint</code></td><td>The type of service requested</td></tr><tr><td><code>mac</code></td><td><code>string</code></td><td>MAC address RADIUS field, for example <code>00:11:22:33:44:55</code></td></tr><tr><td><code>reply_msg</code></td><td><code>string</code></td><td>Reply message from the server challenge for the end user</td></tr></tbody></table>

**Example: RADIUS results by user**

```sql
SELECT username, result, COUNT(*) AS requests FROM network.radius WHERE timestamp > date_add('day', -1, now()) GROUP BY username, result ORDER BY requests DESC LIMIT 50
```

### network.rdp

RDP sessions: remote desktop connections with client attributes and session characteristics.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/rdp/`.

<table><thead><tr><th width="206.84375">Field</th><th width="93.49609375">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>client_name</code></td><td><code>string</code></td><td>Name of the client machine</td></tr><tr><td><code>client_build</code></td><td><code>string</code></td><td>RDP client version used by the client machine</td></tr><tr><td><code>cookie</code></td><td><code>string</code></td><td>Cookie value used by the client machine. This is typically a username</td></tr><tr><td><code>result</code></td><td><code>string</code></td><td>Status result for the connection. It's a mix between RDP negotation failure messages and GCC server create response messages</td></tr><tr><td><code>keyboard_layout</code></td><td><code>string</code></td><td>Keyboard layout (language) of the client machine</td></tr><tr><td><code>desktop_width</code></td><td><code>int</code></td><td>Desktop width of the client machine</td></tr><tr><td><code>desktop_height</code></td><td><code>int</code></td><td>Desktop height of the client machine</td></tr><tr><td><code>client_dig_product_id</code></td><td><code>string</code></td><td>Product ID of the client machine</td></tr></tbody></table>

**Example: Internal RDP sessions**

```sql
SELECT timestamp, id.orig_h AS src, id.resp_h AS dst, client_name, result FROM network.rdp WHERE timestamp > date_add('hour', -24, now()) AND local_orig = true AND local_resp = true ORDER BY timestamp DESC LIMIT 200
```

### network.smb\_files

SMB file and pipe operations on network shares: opens, reads, writes, closes, and directory queries. The `action` field says which.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/smb_files/`.

<table><thead><tr><th width="160.68359375">Field</th><th width="103.51171875">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>action</code></td><td><code>string</code></td><td>The SMB file action (e.g. "SMB::FILE_OPEN" or "SMB::PIPE_WRITE")</td></tr><tr><td><code>name</code></td><td><code>string</code></td><td>Filename if one was seen</td></tr><tr><td><code>path</code></td><td><code>string</code></td><td>Path pulled from the tree this file was transferred to or from</td></tr><tr><td><code>prev_name</code></td><td><code>string</code></td><td>If the rename action was seen, this will be the file's previous name</td></tr><tr><td><code>username</code></td><td><code>string</code></td><td>Authenticated username, if available</td></tr><tr><td><code>domain</code></td><td><code>string</code></td><td>The domain name of the SMB server</td></tr><tr><td><code>hostname</code></td><td><code>string</code></td><td>The hostname of the SMB client</td></tr><tr><td><code>version</code></td><td><code>string</code></td><td>Version of SMB for the command</td></tr><tr><td><code>delete_on_close</code></td><td><code>boolean</code></td><td>If set to true it will delete the file on close</td></tr></tbody></table>

**Example: Files written to network shares**

```sql
SELECT timestamp, id.orig_h AS src, id.resp_h AS file_server, path, name, username FROM network.smb_files WHERE timestamp > date_add('hour', -24, now()) AND action = 'SMB::FILE_WRITE' ORDER BY timestamp DESC LIMIT 200
```

### network.smb\_mapping

SMB share mapping events. Connections to and disconnections from network shares.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/smb_mapping/`.

<table><thead><tr><th width="120.0859375">Field</th><th width="97.25">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>path</code></td><td><code>string</code></td><td>Path pulled from the tree this file was transferred to or from</td></tr><tr><td><code>service</code></td><td><code>string</code></td><td>The type of resource of the tree (disk_share, printer_share, named_pipe, etc.)</td></tr><tr><td><code>username</code></td><td><code>string</code></td><td>Authenticated username, if available</td></tr><tr><td><code>domain</code></td><td><code>string</code></td><td>The domain name of the SMB server</td></tr><tr><td><code>hostname</code></td><td><code>string</code></td><td>The hostname of the SMB client</td></tr><tr><td><code>version</code></td><td><code>string</code></td><td>Version of SMB for the command</td></tr></tbody></table>

**Example: Hosts connecting to administrative shares**

```sql
SELECT timestamp, id.orig_h AS src, id.resp_h AS file_server, path, username FROM network.smb_mapping WHERE timestamp > date_add('hour', -24, now()) AND LOWER(path) LIKE '%$' ORDER BY timestamp DESC LIMIT 200
```

### network.ssh

SSH sessions, inbound and outbound: client and server software, algorithms, HASSH fingerprints, and post-quantum key exchange.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/ssh/`.

<table><thead><tr><th width="224.67578125">Field</th><th width="89.62109375">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>client</code></td><td><code>string</code></td><td>Client version string</td></tr><tr><td><code>server</code></td><td><code>string</code></td><td>Server version string</td></tr><tr><td><code>version</code></td><td><code>string</code></td><td>SSH protocol version</td></tr><tr><td><code>hassh</code></td><td><code>string</code></td><td>HASSH fingerprint</td></tr><tr><td><code>hassh_server</code></td><td><code>string</code></td><td>HASSH server fingerprint</td></tr><tr><td><code>kex_alg</code></td><td><code>string</code></td><td>Negotiated key exchange algorithm</td></tr><tr><td><code>cipher_alg</code></td><td><code>string</code></td><td>Negotiated cipher algorithm</td></tr><tr><td><code>mac_alg</code></td><td><code>string</code></td><td>Negotiated MAC algorithm</td></tr><tr><td><code>host_key_alg</code></td><td><code>string</code></td><td>Negotiated host key algorithm</td></tr><tr><td><code>host_key</code></td><td><code>string</code></td><td>Fingerprint of the host's public key</td></tr><tr><td><code>connection_uses_pqc_kex</code></td><td><code>boolean</code></td><td>True when negotiated KEX is pure-PQ or hybrid-PQC; false when known traditional; null when unclassifiable</td></tr><tr><td><code>client_supports_pqc_kex</code></td><td><code>boolean</code></td><td>True when client offered known pure-PQ or hybrid-PQC; false when only known traditional KEX was offered; null when no offered KEX is classifiable</td></tr></tbody></table>

**Example: SSH clients seen in the last 7 days**

```sql
SELECT client, hassh, COUNT(*) AS sessions FROM network.ssh WHERE timestamp > date_add('day', -7, now()) GROUP BY client, hassh ORDER BY sessions DESC LIMIT 50
```

### network.ssl

TLS/SSL sessions: encrypted-session attributes, fingerprints (JA3, JA3S, JA4, JA4S), certificate subjects, negotiated ciphers, and post-quantum key exchange.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/ssl/`.

<table><thead><tr><th width="225.66796875">Field</th><th width="92.5703125">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>server_name</code></td><td><code>string</code></td><td>Value of the Server Name Indicator SSL/TLS extension. It indicates the server name that the client was requesting</td></tr><tr><td><code>ja3</code></td><td><code>string</code></td><td>The JA3 fingerprint of the TLS client</td></tr><tr><td><code>ja3s</code></td><td><code>string</code></td><td>The JA3S hash of the server response</td></tr><tr><td><code>ja4</code></td><td><code>string</code></td><td>The JA4 fingerprint of the TLS client</td></tr><tr><td><code>ja4s</code></td><td><code>string</code></td><td>The JA4S fingerprint of the TLS server response</td></tr><tr><td><code>version</code></td><td><code>string</code></td><td>SSL/TLS version that the server chose</td></tr><tr><td><code>cipher</code></td><td><code>string</code></td><td>SSL/TLS cipher suite that the server chose</td></tr><tr><td><code>curve</code></td><td><code>string</code></td><td>Elliptic curve the server chose when using ECDH/ECDHE</td></tr><tr><td><code>established</code></td><td><code>boolean</code></td><td>Flag to indicate if this ssl session has been established successfully, or if it was aborted during the handshake</td></tr><tr><td><code>subject</code></td><td><code>string</code></td><td>Subject of the X.509 certificate offered by the server</td></tr><tr><td><code>issuer</code></td><td><code>string</code></td><td>Subject of the signer of the X.509 certificate offered by the server</td></tr><tr><td><code>client_subject</code></td><td><code>string</code></td><td>Subject of the X.509 certificate offered by the client</td></tr><tr><td><code>client_issuer</code></td><td><code>string</code></td><td>Subject of the signer of the X.509 certificate offered by the client</td></tr><tr><td><code>next_protocol</code></td><td><code>string</code></td><td>Next protocol the server chose using the application layer next protocol extension, if present</td></tr><tr><td><code>connection_uses_pqc_kex</code></td><td><code>boolean</code></td><td>True when the negotiated key exchange is pure-PQ or hybrid-PQC; false for classical key exchange, including TLS 1.2 and older; null when unclassifiable</td></tr></tbody></table>

**Example: Rarely seen JA4 client fingerprints**

```sql
SELECT ja4, COUNT(*) AS sessions, COUNT(DISTINCT id.orig_h) AS hosts FROM network.ssl WHERE timestamp > date_add('day', -1, now()) GROUP BY ja4 ORDER BY sessions ASC LIMIT 50
```

### network.x509

X.509 certificates seen on the wire: subject, issuer, validity period, key details, and whether the certificate is self-signed.

> `certificate.not_valid_before` and `certificate.not_valid_after` come back as numbers in epoch milliseconds, not as timestamps. Convert with `from_unixtime(certificate.not_valid_after / 1000)`, and compare against `to_unixtime(now()) * 1000`.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/x509/`.

<table><thead><tr><th width="272.5859375">Field</th><th width="144.984375">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>certificate.subject</code></td><td><code>string</code></td><td>Certificate subject</td></tr><tr><td><code>certificate.issuer</code></td><td><code>string</code></td><td>Certificate issuer</td></tr><tr><td><code>certificate.cn</code></td><td><code>string</code></td><td>Last (most specific) common name</td></tr><tr><td><code>certificate.serial</code></td><td><code>string</code></td><td>Serial number</td></tr><tr><td><code>certificate.not_valid_before</code></td><td><code>decimal(20,0)</code></td><td>Start of the certificate's validity period (epoch milliseconds)</td></tr><tr><td><code>certificate.not_valid_after</code></td><td><code>decimal(20,0)</code></td><td>End of the certificate's validity period (epoch milliseconds)</td></tr><tr><td><code>certificate.self_issued</code></td><td><code>boolean</code></td><td>True if the certificate is marked as self issued</td></tr><tr><td><code>certificate.key_alg</code></td><td><code>string</code></td><td>Name of the key algorithm</td></tr><tr><td><code>certificate.key_length</code></td><td><code>string</code></td><td>Key length in bits</td></tr><tr><td><code>certificate.sig_alg</code></td><td><code>string</code></td><td>Name of the signature algorithm</td></tr><tr><td><code>san.dns[]</code></td><td><code>string</code></td><td>List of DNS entries in SAN</td></tr><tr><td><code>ja4x</code></td><td><code>string</code></td><td>The JA4X fingerprint of the X.509 TLS certificate</td></tr></tbody></table>

**Example: Self-signed certificates**

```sql
SELECT timestamp, id.resp_h AS server, certificate.subject AS subject, certificate.not_valid_after AS expires FROM network.x509 WHERE timestamp > date_add('day', -1, now()) AND certificate.self_issued = true ORDER BY timestamp DESC LIMIT 100
```

## AWS

AWS tables capture API activity recorded by AWS CloudTrail. Use them to investigate IAM changes, role assumptions, resource access, and other control-plane and data-plane events.

### aws.cloudtrail

Every AWS API call and console action recorded by CloudTrail: management events (IAM changes, role assumptions, resource creation and deletion) and data events. Each row is one API event tied to an IAM identity and enriched with Vectra entity resolution.

> Use `timestamp` in `WHERE` and `ORDER BY`. `event_time` holds the raw CloudTrail time.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/cloudtrail/`.

<table><thead><tr><th width="276.72265625">Field</th><th width="98.61328125">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>event_name</code></td><td><code>string</code></td><td>The requested action, which is one of the actions in the API for that service</td></tr><tr><td><code>event_source</code></td><td><code>string</code></td><td>The service that the request was made to. This name is typically a short form of the service name without spaces plus .amazonaws.com</td></tr><tr><td><code>event_category</code></td><td><code>string</code></td><td>Shows the event category that is used in LookupEvents calls</td></tr><tr><td><code>read_only</code></td><td><code>string</code></td><td>Identifies whether this operation is a read-only operation</td></tr><tr><td><code>management_event</code></td><td><code>string</code></td><td>A Boolean value that identifies whether the event is a management event</td></tr><tr><td><code>error_code</code></td><td><code>string</code></td><td>The AWS service error code, if the request returns an error</td></tr><tr><td><code>error_message</code></td><td><code>string</code></td><td>If the request returns an error, the description of the error</td></tr><tr><td><code>aws_region</code></td><td><code>string</code></td><td>The AWS region that the request was made to, such as us-east-2</td></tr><tr><td><code>source_ip_address</code></td><td><code>string</code></td><td>The IP address that the request was made from. For actions that originate from the service console, the address reported is for the underlying customer resource, not the console web server. When a service is accessed on behalf of a console user, the address is "AWS_INTERNAL"</td></tr><tr><td><code>user_agent</code></td><td><code>string</code></td><td>The agent through which the request was made, such as the AWS Management Console, an AWS service, the AWS SDKs or the AWS CLI</td></tr><tr><td><code>user_identity.type</code></td><td><code>string</code></td><td>The type of the identity. Examples: Root, IAMUser, AssumedRole, Role, FederatedUser, etc</td></tr><tr><td><code>user_identity.arn</code></td><td><code>string</code></td><td>The Amazon Resource Name (ARN) of the principal that made the call. The last section of the arn contains the user or role that made the call</td></tr><tr><td><code>user_identity.access_key_id</code></td><td><code>string</code></td><td>The access key ID that was used to sign the request</td></tr><tr><td><code>user_identity.session_context.attributes.mfa_authenticated</code></td><td><code>string</code></td><td>For requests made with temporary security credentials, whether the root user or IAM user whose credentials were used was also authenticated with an MFA device</td></tr><tr><td><code>recipient_account_id</code></td><td><code>string</code></td><td>Represents the account ID that received this event</td></tr><tr><td><code>request_parameters</code></td><td><code>string</code></td><td>The parameters, if any, that were sent with the request</td></tr><tr><td><code>response_elements</code></td><td><code>string</code></td><td>The response element for actions that make changes (create, update, or delete actions)</td></tr><tr><td><code>assume_role_role_arn</code></td><td><code>string</code></td><td>The role ARN request parameter for an AssumeRole event</td></tr><tr><td><code>vectra.entity.resolved_identity.canonical_name</code></td><td><code>string</code></td><td>Name of the Vectra entity attributed with performing this action, regardless of roles assumed</td></tr></tbody></table>

**Example: Changes made through IAM in the last 7 days**

```sql
SELECT timestamp, event_name, user_identity.arn AS actor, source_ip_address, error_code FROM aws.cloudtrail WHERE timestamp > date_add('day', -7, now()) AND event_source = 'iam.amazonaws.com' AND read_only = 'false' ORDER BY timestamp DESC LIMIT 200
```

## Azure Control Plane

Azure Control Plane tables capture Azure Resource Manager operations from Azure Activity Logs: RBAC changes, resource creation and deletion, Key Vault access, and other management-plane activity.

### azurecp.operations

Azure Resource Manager operations from Azure Activity Logs. Each row is one API call that created, changed, deleted, or read an Azure resource. This is the audit trail for the management plane.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/operations/`.

<table><thead><tr><th width="200.33203125">Field</th><th width="91.51953125">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>operationname</code></td><td><code>string</code></td><td>The name of the operation that this event represents</td></tr><tr><td><code>category</code></td><td><code>string</code></td><td>The log category of the event</td></tr><tr><td><code>resulttype</code></td><td><code>string</code></td><td>The status of the event</td></tr><tr><td><code>resultdescription</code></td><td><code>string</code></td><td>The static text description of this operation</td></tr><tr><td><code>calleripaddress</code></td><td><code>string</code></td><td>The caller IP address, if the operation corresponds to an API call that would come from an entity with a publicly available IP address</td></tr><tr><td><code>actor.name</code></td><td><code>string</code></td><td>Actor: identity which has performed the operation</td></tr><tr><td><code>actor.id</code></td><td><code>int</code></td><td>Vectra identifier of the actor</td></tr><tr><td><code>resourceid</code></td><td><code>string</code></td><td>The resource ID of the resource that emitted the event</td></tr><tr><td><code>resourcegroup</code></td><td><code>string</code></td><td>The resource group containing the resource which emitted the event</td></tr><tr><td><code>subscription</code></td><td><code>string</code></td><td>The subscription ID of the resource which emitted the event</td></tr><tr><td><code>applicationname</code></td><td><code>string</code></td><td>The application name for the app that was used to perform the operation</td></tr><tr><td><code>tenantid</code></td><td><code>string</code></td><td>The tenant ID associated with the event</td></tr><tr><td><code>level</code></td><td><code>string</code></td><td>The severity level of the event. Must be one of Informational, Warning, Error, or Critical</td></tr><tr><td><code>correlationid</code></td><td><code>string</code></td><td>A GUID that’s used to group together a set of related events</td></tr><tr><td><code>rolename</code></td><td><code>string</code></td><td>The name of the role used for the operation</td></tr><tr><td><code>vectra.identity.name</code></td><td><code>string</code></td><td>Identity which has performed or is a target of the operation</td></tr></tbody></table>

**Example: Failed operations by caller**

```sql
SELECT calleripaddress, operationname, COUNT(*) AS failures FROM azurecp.operations WHERE timestamp > date_add('day', -1, now()) AND resulttype IN ('Failure', 'Failed') GROUP BY calleripaddress, operationname ORDER BY failures DESC LIMIT 50
```

## Entra ID

Entra ID tables capture authentication and directory activity from Microsoft Entra ID (formerly Azure Active Directory). Use them to investigate sign-ins, failed authentications, user and group changes, role assignments, and application access.

### entra.signins

Sign-in logs from Entra ID. Every authentication attempt creates a row: interactive and non-interactive sign-ins, legacy protocols, and MFA challenges. Includes risk, conditional access results, device details, and location.

> To correlate a sign-in with later directory changes, run one query on each table and match the results on `correlation_id`. `JOIN` is not supported.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/signins/`.

<table><thead><tr><th>Field</th><th width="96.13671875">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>user_principal_name</code></td><td><code>string</code></td><td>User principal name (UPN)</td></tr><tr><td><code>user_display_name</code></td><td><code>string</code></td><td>Display name of the user</td></tr><tr><td><code>user_id</code></td><td><code>string</code></td><td>ID of the user</td></tr><tr><td><code>ip_address</code></td><td><code>string</code></td><td>IP address of the request</td></tr><tr><td><code>app_display_name</code></td><td><code>string</code></td><td>Display name of the application used to sign in</td></tr><tr><td><code>resource_display_name</code></td><td><code>string</code></td><td>Display name of the accessed resource</td></tr><tr><td><code>client_app_used</code></td><td><code>string</code></td><td>The client application used in the sign-in</td></tr><tr><td><code>is_interactive</code></td><td><code>bool</code></td><td>Indicates if the sign-in was interactive</td></tr><tr><td><code>status.error_code</code></td><td><code>int</code></td><td>Provides the 5-6 digit error code that's generated during a sign-in failure</td></tr><tr><td><code>status.failure_reason</code></td><td><code>string</code></td><td>Provides the error message or the reason for failure for the corresponding sign-in activity</td></tr><tr><td><code>conditional_access_status</code></td><td><code>string</code></td><td>Status of conditional access policies</td></tr><tr><td><code>authentication_requirement</code></td><td><code>string</code></td><td>Requirement for the authentication, e.g., single factor</td></tr><tr><td><code>authentication_details[].authentication_method</code></td><td><code>string</code></td><td>The authentication method used</td></tr><tr><td><code>risk_level_aggregated</code></td><td><code>string</code></td><td>Aggregated risk level</td></tr><tr><td><code>risk_state</code></td><td><code>string</code></td><td>Risk state of the sign-in</td></tr><tr><td><code>location.country_or_region</code></td><td><code>string</code></td><td>Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity</td></tr><tr><td><code>location.city</code></td><td><code>string</code></td><td>Provides the city where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity</td></tr><tr><td><code>device_detail.operating_system</code></td><td><code>string</code></td><td>Indicates the operating system name and version used for signing in</td></tr><tr><td><code>device_detail.is_compliant</code></td><td><code>bool</code></td><td>Indicates whether the device is compliant</td></tr><tr><td><code>user_agent</code></td><td><code>string</code></td><td>Agent name of the user</td></tr><tr><td><code>session_id</code></td><td><code>string</code></td><td>Session ID for the sign-in</td></tr><tr><td><code>correlation_id</code></td><td><code>string</code></td><td>Correlation ID for tracking sign-in</td></tr><tr><td><code>vectra.identity_principal</code></td><td><code>string</code></td><td>Vectra field that identifies the user performing the action</td></tr></tbody></table>

**Example: Failed sign-ins by user and error code**

```sql
SELECT user_principal_name, status.error_code AS error_code, COUNT(*) AS failures FROM entra.signins WHERE timestamp > date_add('day', -1, now()) AND status.error_code <> 0 GROUP BY user_principal_name, status.error_code ORDER BY failures DESC LIMIT 100
```

### entra.directoryaudits

Entra ID directory audit log: changes to users, groups, applications, service principals, roles, consent grants, and conditional access. These are the "what changed" records, which complement `entra.signins`.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/directory_audits/`.

<table><thead><tr><th>Field</th><th width="92.4609375">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>activity_display_name</code></td><td><code>string</code></td><td>Indicates the activity name or the operation name (examples: "Create User" and "Add member to group").</td></tr><tr><td><code>operation_type</code></td><td><code>string</code></td><td>Indicates the type of operation that was performed</td></tr><tr><td><code>category</code></td><td><code>string</code></td><td>Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..)</td></tr><tr><td><code>result</code></td><td><code>string</code></td><td>Indicates the result of the activity</td></tr><tr><td><code>result_reason</code></td><td><code>string</code></td><td>Indicates the reason for failure if the result is failure or timeout</td></tr><tr><td><code>initiated_by.user.user_principal_name</code></td><td><code>string</code></td><td>The userPrincipalName attribute of the user</td></tr><tr><td><code>initiated_by.user.ip_address</code></td><td><code>string</code></td><td>Indicates the client IP address used by user performing the activity</td></tr><tr><td><code>initiated_by.app.display_name</code></td><td><code>string</code></td><td>Refers to the Application Name displayed in the Azure Portal</td></tr><tr><td><code>client_ip</code></td><td><code>string</code></td><td>The IP address of the device that was used when the activity was logged</td></tr><tr><td><code>target_resources[].display_name</code></td><td><code>string</code></td><td>Indicates the visible name defined for the resource. Typically specified when the resource is created</td></tr><tr><td><code>target_resources[].type</code></td><td><code>string</code></td><td>Describes the resource type</td></tr><tr><td><code>target_resources[].modified_properties[].display_name</code></td><td><code>string</code></td><td>Indicates the property name of the target attribute that was changed</td></tr><tr><td><code>target_resources[].modified_properties[].old_value</code></td><td><code>string</code></td><td>Indicates the previous value (before the update) for the property</td></tr><tr><td><code>target_resources[].modified_properties[].new_value</code></td><td><code>string</code></td><td>Indicates the updated value for the property</td></tr><tr><td><code>logged_by_service</code></td><td><code>string</code></td><td>Indicates information on which service initiated the activity</td></tr><tr><td><code>correlation_id</code></td><td><code>string</code></td><td>Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services</td></tr><tr><td><code>vectra.identity_principal</code></td><td><code>string</code></td><td>Vectra field that identifies the user performing the action</td></tr></tbody></table>

**Example: Most common directory changes**

```sql
SELECT activity_display_name, category, COUNT(*) AS events FROM entra.directoryaudits WHERE timestamp > date_add('day', -7, now()) GROUP BY activity_display_name, category ORDER BY events DESC LIMIT 50
```

## Microsoft 365

Microsoft 365 tables come from the Unified Audit Log, split by workload. Use the `workload` field to tell services apart inside a table.

### m365.exchange

Exchange workload events from the Unified Audit Log: mailbox access, message activity, forwarding rules, calendar sharing, and admin operations. A primary source for email-based threat detection.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/exchange/`.

<table><thead><tr><th width="246.35546875">Field</th><th width="94.4140625">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>operation</code></td><td><code>string</code></td><td>The name of the user or admin activity</td></tr><tr><td><code>workload</code></td><td><code>string</code></td><td>The Office 365 service where the activity occurred</td></tr><tr><td><code>user_id</code></td><td><code>string</code></td><td>The UPN (User Principal Name) of the user who performed the action (specified in the Operation property) that resulted in the record being logged; for example, my_name@my_domain_name</td></tr><tr><td><code>client_ip</code></td><td><code>string</code></td><td>The IP address of the device that was used when the activity was logged</td></tr><tr><td><code>result_status</code></td><td><code>string</code></td><td>Indicates whether the action (specified in the Operation property) was successful or not</td></tr><tr><td><code>record_type</code></td><td><code>int</code></td><td>The type of operation indicated by the record</td></tr><tr><td><code>mailbox_owner_upn</code></td><td><code>string</code></td><td>The email address of the person who owns the mailbox that was accessed</td></tr><tr><td><code>logon_type</code></td><td><code>int</code></td><td>Indicates the type of user who accessed the mailbox and performed the operation that was logged</td></tr><tr><td><code>external_access</code></td><td><code>bool</code></td><td>Specifies whether the cmdlet was run by a user in your organization, by Microsoft datacenter personnel or a datacenter service account, or by a delegated administrator</td></tr><tr><td><code>object_id</code></td><td><code>string</code></td><td>The name of the object that was modified by the cmdlet</td></tr><tr><td><code>parameters[].name</code></td><td><code>string</code></td><td>The name for a parameter that was used with the cmdlet that is identified in the Operations property</td></tr><tr><td><code>parameters[].value</code></td><td><code>string</code></td><td>The value for a parameter that was used with the cmdlet that is identified in the Operations property</td></tr><tr><td><code>item.subject</code></td><td><code>string</code></td><td>The subject of the item</td></tr><tr><td><code>folder.Path</code></td><td><code>string</code></td><td>The name of the mailbox folder where the message that was accessed is located</td></tr><tr><td><code>client_info_string</code></td><td><code>string</code></td><td>Information about the email client that was used to perform the operation, such as a browser version, Outlook version, and mobile device information</td></tr><tr><td><code>organization_name</code></td><td><code>string</code></td><td>The name of the tenant</td></tr><tr><td><code>vectra.identity_principal</code></td><td><code>string</code></td><td>Vectra field that identifies the user performing the action</td></tr></tbody></table>

**Example: Inbox rule and mailbox setting changes**

```sql
SELECT timestamp, user_id, operation, client_ip, result_status FROM m365.exchange WHERE timestamp > date_add('day', -7, now()) AND operation IN ('New-InboxRule', 'Set-InboxRule', 'Set-Mailbox') ORDER BY timestamp DESC LIMIT 200
```

### m365.sharepoint

SharePoint and OneDrive events from the Unified Audit Log: file access, downloads, uploads, sharing, and permission changes.

> Use `workload` to separate `SharePoint` from `OneDrive` events.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/sharepoint/`.

<table><thead><tr><th width="254.58984375">Field</th><th width="95.94140625">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>operation</code></td><td><code>string</code></td><td>The name of the user or admin activity</td></tr><tr><td><code>workload</code></td><td><code>string</code></td><td>The Office 365 service where the activity occurred</td></tr><tr><td><code>user_id</code></td><td><code>string</code></td><td>The UPN (User Principal Name) of the user who performed the action (specified in the Operation property) that resulted in the record being logged; for example, my_name@my_domain_name</td></tr><tr><td><code>client_ip</code></td><td><code>string</code></td><td>The IP address of the device that was used when the activity was logged</td></tr><tr><td><code>site_url</code></td><td><code>string</code></td><td>The URL of the site where the file or folder accessed by the user is located</td></tr><tr><td><code>object_id</code></td><td><code>string</code></td><td>For SharePoint and OneDrive for Business activity, the full path name of the file or folder accessed by the user</td></tr><tr><td><code>source_file_name</code></td><td><code>string</code></td><td>The name of the file or folder accessed by the user</td></tr><tr><td><code>source_relative_url</code></td><td><code>string</code></td><td>The URL of the folder that contains the file accessed by the user</td></tr><tr><td><code>destination_file_name</code></td><td><code>string</code></td><td>The name of the file is copied or moved. This property is displayed only for the FileCopied and FileMoved actions</td></tr><tr><td><code>sharing_type</code></td><td><code>string</code></td><td>The type of sharing permissions that was assigned to the user that the resource was shared with</td></tr><tr><td><code>target_user_or_group_name</code></td><td><code>string</code></td><td>Stores the UPN or name of the target user or group that a resource was shared with</td></tr><tr><td><code>user_shared_with</code></td><td><code>string</code></td><td>The user that a resource was shared with</td></tr><tr><td><code>file_size_bytes</code></td><td><code>bigint</code></td><td>Size in bytes of the file involved in the SharePoint operation</td></tr><tr><td><code>user_agent</code></td><td><code>string</code></td><td>Information about the user's client or browser</td></tr><tr><td><code>vectra.identity_principal</code></td><td><code>string</code></td><td>Vectra field that identifies the user performing the action</td></tr></tbody></table>

**Example: Sharing events in the last 7 days**

```sql
SELECT timestamp, user_id, operation, object_id, target_user_or_group_name FROM m365.sharepoint WHERE timestamp > date_add('day', -7, now()) AND LOWER(operation) LIKE '%sharing%' ORDER BY timestamp DESC LIMIT 200
```

### m365.general

Microsoft 365 audit events that span workloads or do not fit the others: Teams, Power Automate, compliance, and Copilot interaction events.

> Check `workload` and `record_type` to see which service produced an event.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/general/`.

<table><thead><tr><th width="242.3359375">Field</th><th width="98.76953125">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>operation</code></td><td><code>string</code></td><td>The name of the user or admin activity</td></tr><tr><td><code>workload</code></td><td><code>string</code></td><td>The Office 365 service where the activity occurred</td></tr><tr><td><code>record_type</code></td><td><code>int</code></td><td>The type of operation indicated by the record</td></tr><tr><td><code>user_id</code></td><td><code>string</code></td><td>The UPN (User Principal Name) of the user who performed the action (specified in the Operation property) that resulted in the record being logged; for example, my_name@my_domain_name</td></tr><tr><td><code>client_ip</code></td><td><code>string</code></td><td>The IP address of the device that was used when the activity was logged</td></tr><tr><td><code>result_status</code></td><td><code>string</code></td><td>Indicates whether the action (specified in the Operation property) was successful or not</td></tr><tr><td><code>object_id</code></td><td><code>string</code></td><td>For SharePoint and OneDrive for Business activity, the full path name of the file or folder accessed by the user</td></tr><tr><td><code>team_name</code></td><td><code>string</code></td><td>The name of the team being audited</td></tr><tr><td><code>policy_action</code></td><td><code>string</code></td><td>Defender policy action applied to the email message</td></tr><tr><td><code>verdict</code></td><td><code>string</code></td><td>The message verdict</td></tr><tr><td><code>severity</code></td><td><code>string</code></td><td>Severity assigned by the security service</td></tr><tr><td><code>sender_ip</code></td><td><code>string</code></td><td>IP address of the email sender</td></tr><tr><td><code>recipients[]</code></td><td><code>string</code></td><td>An array of recipients of the email message</td></tr><tr><td><code>vectra.identity_principal</code></td><td><code>string</code></td><td>Vectra field that identifies the user performing the action</td></tr></tbody></table>

**Example: Event volume by workload and operation**

```sql
SELECT workload, operation, COUNT(*) AS events FROM m365.general WHERE timestamp > date_add('day', -1, now()) GROUP BY workload, operation ORDER BY events DESC LIMIT 50
```

### m365.active\_directory

Azure Active Directory workload events from the Unified Audit Log: sign-in successes and failures, user and group changes, application consent, and directory object changes.

Common fields. For the complete, current list, use `GET /api/v3.5/investigations/schemas/active_directory/`.

<table><thead><tr><th width="291.46875">Field</th><th width="89.87109375">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>operation</code></td><td><code>string</code></td><td>The name of the operation</td></tr><tr><td><code>workload</code></td><td><code>string</code></td><td>The service where the activity occurred</td></tr><tr><td><code>user_id</code></td><td><code>string</code></td><td>The UPN (User Principal Name) of the user who performed the action (specified in the Operation property) that resulted in the record being logged; for example, my_name@my_domain_name</td></tr><tr><td><code>client_ip</code></td><td><code>string</code></td><td>The IP address of the device that was used when the activity was logged</td></tr><tr><td><code>result_status</code></td><td><code>string</code></td><td>Operation result</td></tr><tr><td><code>object_id</code></td><td><code>string</code></td><td>For SharePoint and OneDrive for Business activity, the full path name of the file or folder accessed by the user</td></tr><tr><td><code>application_id</code></td><td><code>string</code></td><td>The ID of application that triggers the account login event, such as Office 15</td></tr><tr><td><code>target[].id</code></td><td><code>string</code></td><td>The id of user that the action (identified by the Operation property) was performed on</td></tr><tr><td><code>target[].type</code></td><td><code>int</code></td><td>The identity type of the user that the action (identified by the Operation property) was performed on</td></tr><tr><td><code>extended_properties_user_agent</code></td><td><code>string</code></td><td>Browser user agent string</td></tr><tr><td><code>logon_error</code></td><td><code>string</code></td><td>For failed logins, this property contains a user-readable description of the reason for the failed login</td></tr><tr><td><code>error_number</code></td><td><code>string</code></td><td>For failed logins (where the value for the Operation property is UserLoginFailed), this property contains the Azure Active Directory STS (AADSTS) error code</td></tr><tr><td><code>vectra.identity_principal</code></td><td><code>string</code></td><td>Vectra field that identifies the user performing the action</td></tr></tbody></table>

**Example: Most common operations**

```sql
SELECT operation, result_status, COUNT(*) AS events FROM m365.active_directory WHERE timestamp > date_add('day', -7, now()) GROUP BY operation, result_status ORDER BY events DESC LIMIT 50
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vectra.ai/operations/event-search/investigate-api-metadata-schema-reference.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
