AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

How Enterprise Security Teams Configure Dust Audit Logs and User Activity Tracking to Monitor Query History and Prevent Data Exfiltration

Judith Campos · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Connecting autonomous AI agents to core business knowledge—such as Notion roadmaps, Google Drive strategic plans, GitHub source repositories, and Snowflake data warehouses—creates an undeniable productivity leap. It also introduces a serious security blind spot. Traditional Data Loss Prevention (DLP) engines and network proxies inspect HTTP headers, known file signatures, and static regex patterns like credit card numbers. They are entirely blind when an insider or an attacker uses conversational prompts to synthesize, aggregate, and exfiltrate confidential data across corporate silos.

At 365Finds, we evaluate enterprise AI deployments through the lens of zero-trust security. Dust provides an enterprise audit logging architecture that distinguishes human-initiated queries from autonomous agent tool executions. However, relying on default workspace settings leaves enterprise security teams reactive. To prevent natural language data sniffing and prompt-driven exfiltration, SecOps must configure Dust Enterprise Audit Logs, establish continuous streaming to an external Security Information and Event Management (SIEM) platform, and implement automated alerting across conversational vector retrieval trails.


The AI Exfiltration Threat Model: Why Traditional DLP Fails

When enterprise employees interact with Dust, agents utilize Retrieval-Augmented Generation (RAG) and tool calling to query integrated data sources. This shifts enterprise exfiltration risks in three distinct ways:

  1. Semantic Knowledge Sniffing: Rather than downloading an entire repository, an actor uses open-ended prompts (for instance, "List all executive compensation exceptions discussed in Q3 HR memos") to pull targeted excerpts across multiple private spaces.
  2. Indirect Prompt Injection: Compromised or unvetted external documents ingested into Dust data sources can contain adversarial instructions that instruct agents to exfiltrate private internal knowledge via outbound webhooks or MCP (Model Context Protocol) tool calls.
  3. High-Frequency Natural Language Aggregation: Automated scripts utilizing Dust workspace API keys can orchestrate rapid queries to map internal architecture, customer databases, or proprietary codebases faster than conventional endpoint controls detect.

To combat these vectors, enterprise security teams require visibility into not just who logged in, but which agent touched which data source, using which sub-tool, from which IP, and within which conversation context.


Anatomy of Dust Enterprise Audit Logs

Dust restricts native audit logging to its Enterprise plan, retaining workspace events for 365 days. The platform’s logging engine enforces tamper-evident, time-ordered recording of workspace actions.

1. Granular Identity Attribution

A critical design choice 365Finds highlights in Dust is its explicit separation between the initiating actor and agent execution contexts:

When an agent executes an automated step, Dust does not obscure the audit chain. For agent.executed and tool.executed events, the log captures the human or API identity that triggered the conversation, while storing the execution mode in metadata.actor_type, alongside metadata.initiating_user_id and metadata.initiating_user_email.

2. Core Log Schema

Every event streamed or exported from Dust conforms to a structured JSON payload:

FieldPurpose & Security Relevance
actionThe exact event type (e.g., agent.executed, tool.executed, space.accessed, space.permissions_updated)
occurredAtISO 8601 timestamp providing deterministic ordering for forensic timeline reconstruction
actorThe principal initiating the transaction (user, api_key, or system)
targetsArray of resources affected (such as workspace ID, specific agent ID, space ID, or data source ID)
context.locationOriginating client IP address (or "internal" for automated system routines)
context.userAgentBrowser or client runtime user-agent string for identifying anomalous headless runners
metadataDetailed execution parameters, including conversation_id, tool_name, mcp_server_name, and connected data sources accessed

3. Critical Security Events to Track

SecOps teams should prioritize the following telemetry emitted by Dust:


Step-by-Step Configuration: Setting Up Dust Audit Logs & SIEM Streaming

Relying on the manual UI log viewer (Admin > Security > Audit Logs) is insufficient for active threat prevention. 365Finds strongly advises enterprise security teams to establish continuous log forwarding to centralized SIEM platforms like Datadog, Splunk, or AWS CloudWatch/S3 immediately upon workspace provisioning.

Step 1: Assign Security Governance Roles

By default, Dust workspace administrators maintain global oversight. However, enterprise compliance best practice requires delegating audit log access without conferring full workspace management rights:

  1. Navigate to Admin > Members in the Dust workspace.
  2. Select the Roles tab and locate the Billing and security section.
  3. Grant designated SecOps team members or security service accounts the Access security features permission.

Step 2: Configure Continuous Log Forwarding

Dust provides direct integration pipelines for external streaming destinations:

  1. Within the Dust admin console, open Admin > IT & Security (or navigate to Admin > Security, Audit Logs tab).
  2. Click Configure Export / Audit Log Forwarding.
  3. Select your enterprise log stream destination:
    • Datadog: Choose your Datadog site region (e.g., datadoghq.com or datadoghq.eu), generate a dedicated Datadog API key, paste the credentials into Dust, and verify log ingestion under source:dust.
    • Splunk / Custom HTTPS: Provide your Splunk HTTP Event Collector (HEC) endpoint URL or custom webhook intake receiver, along with the required bearer authorization tokens.
    • Cloud Object Storage (AWS S3 / GCP GCS): Provide target bucket identifiers and assume-role IAM configurations for cold-storage compliance retention.
  4. Save the export configuration. Note that completing this setup triggers an audit_log.export_configured event for verification.

Step 3: Configure Inbound Perimeter IP Allowlists

If your SIEM, webhook receiver, or API gateway enforces strict ingress firewall rules, you must allowlist the static WorkOS delivery IP addresses utilized by Dust’s audit log delivery engine:

Failure to pre-authorize these egress addresses will cause silent delivery failures and telemetry gaps during incident investigations.


Correlating Metadata with Deep Query Inspection

A key design nuance that enterprise CISOs must understand: Dust audit log events intentionally record operational metadata rather than raw natural language prompt transcripts.

Dust adopts this architectural separation to avoid indexing sensitive business queries inside audit pipeline payloads. However, when an audit alert flags suspicious vector retrieval, SecOps requires immediate access to the conversational context.

Forensic Extraction via the Dust Conversation API

Each agent.executed and tool.executed audit event records a unique metadata.conversation_id. Security engineering teams can automate forensic triage using the Dust Assistant API:

GET https://dust.tt/api/v1/w/{wId}/assistant/conversations/{conversation_id}
Authorization: Bearer <WORKSPACE_SYSTEM_API_KEY>

When ingested into a Security Orchestration, Automation, and Response (SOAR) platform, an alert triggered by abnormal tool executions can automatically fetch the corresponding conversation thread. This allows SecOps analysts to inspect the exact prompts, agent thought traces, and returned snippet citations without manual intervention.


High-Confidence SIEM Detection Rules for SecOps

Once Dust audit logs are ingested into your SIEM, configure real-time detection rules tailored to AI-native exfiltration patterns:

flowchart TD
    A["Dust Workspace Activity<br>(User / Agent / Tool / API)"] --> B["Enterprise Audit Log Engine<br>(WorkOS Streaming Delivery)"]
    B --> C["SIEM Intake<br>(Datadog / Splunk / AWS S3)"]
    C --> D{"Detection Rule Engine"}
    D -- "Spike in tool.executed on sensitive Spaces" --> E["Alert: Automated Data Sniffing"]
    D -- "Off-hours login + cross-border IP" --> F["Alert: Compromised Credential"]
    D -- "space.permissions_updated followed by query" --> G["Alert: Privilege Escalation"]
    E & F & G --> H["SOAR Playbook:<br>Fetch Conversation via API & Revoke Token"]

Rule 1: High-Frequency Sensitive Vector Retrieval Spike

Rule 2: Anomaly in Agent Invocation Location or User Agent

Rule 3: Unauthorized Privilege Expansion Followed by Search

Rule 4: Outbound MCP Tool Calling from Sensitive Conversations


The 365Finds Verdict

Dust provides one of the cleanest enterprise audit schemas among collaborative AI platforms. Its explicit distinction between human triggers and autonomous agent actions eliminates ambiguity during post-incident investigations, and its turnkey streaming integrations with Datadog and Splunk remove engineering overhead.

However, 365Finds emphasizes two critical operational caveats:

First, gating audit logs exclusively behind the Enterprise tier leaves mid-sized teams in a regulatory grey zone. Organizations on lower tiers operate essentially blind regarding conversational data access. If your organization handles regulated customer data, source code, or proprietary financial records, deploying Dust on anything less than an Enterprise tier represents an unacceptable governance risk.

Second, metadata logging alone is not a complete DLP solution. Because Dust audit events omit prompt bodies by design, treating audit logs as a passive review dashboard will not prevent data exfiltration. Enterprise security teams must close the loop: stream logs in real time to a SIEM, monitor high-frequency tool usage, and script automated API lookups to inspect full conversation threads whenever anomalous vector retrieval occurs.

References