Drata

Drata

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Drata to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your Drata API key to pull your compliance data into the PostHog Data warehouse.

You can create an API key under Settings → API keys in Drata. A key with read scopes is sufficient; pick the region that matches your Drata account.

Configuration

OptionTypeRequired
API keypasswordYes
Drata regionselectYes

Linking Drata to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Drata
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
workspaces

Workspaces (products) in your Drata account. Controls, monitoring tests, evidence, and frameworks are scoped to a workspace.

Full refreshid
users

User accounts in your Drata organization.

Full refreshid
personnel

Personnel records tracked for compliance, including employment status and per-person compliance checks (security training, background checks, MDM).

Full refreshid
devices

Devices monitored for compliance (encryption, firewall, antivirus, screen lock) across MDM and agent sources.

Full refreshid
assets

Assets in your Drata asset inventory — physical and virtual assets discovered from connections or added manually.

Full refreshid
vendors

Vendors tracked in Drata's vendor risk management, with risk, impact, and review status.

Full refreshid
policies

Policies in your Drata account, including version, approval, and renewal state.

Full refreshid
events

Audit-trail events recording activity across your Drata account (policy changes, vendor updates, connection activity, and more).

Incremental, Full refreshcreatedAtid
controls

Controls in each workspace, with readiness, monitoring, and framework mappings.

Full refreshworkspaceId, id
monitoring_tests

Automated monitoring tests in each workspace, with pass/fail status and check state.

Full refreshworkspaceId, id
evidence_library

Evidence library items in each workspace, tracking artifacts collected for audits and their renewal status.

Full refreshworkspaceId, id
frameworks

Compliance frameworks enabled in each workspace (SOC 2, ISO 27001, HIPAA, ...), with readiness counts.

Full refreshworkspaceId, id
risk_registers

Risk registers grouping the risks you track. Requires Drata's Risk Management Pro feature.

Full refreshid
risks

Risks in each risk register, with scoring and treatment plans. Requires Drata's Risk Management Pro feature.

Full refreshriskRegisterId, id