DATA OPS

On-demand cross-warehouse PII audit agent with Linear remediation

On a chat request, an agent audits a named table across BigQuery and Snowflake, reasons about which columns drifted into PII.

CategoryData Ops
Enginepaperclip
Difficultyadvanced
Triggerchat
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerChat request names a table to audit
  • ActionQuery BigQuery column metadata and samplesGoogle BigQueryBigQuery
  • ActionQuery Snowflake classification historySnowflakeSnowflake
  • LogicReason over signals to identify PII and drift, draft plan
  • ActionOpen Linear remediation ticket with masking planLinearLinear
  • OutputReply in chat with findings and ticket linkLinearLinear

What it does

This is an agent-driven, on-demand audit. An operator asks in chat to audit a specific table or dataset; the agent pulls column metadata and samples from both BigQuery and Snowflake, reasons across naming, type, and content signals to decide which columns hold PII and which drifted since the last review, and then writes a remediation plan. It files that plan as a Linear ticket so the masking work is tracked.

When to use it

Use it when an engineer or steward wants an immediate, thorough sensitivity review of a particular table during a design review or incident, rather than waiting for the scheduled scan.

How it works

  1. 1A chat message names the table or dataset to audit and triggers the agent.
  2. 2The agent queries BigQuery for column metadata and sampled values.
  3. 3The agent queries Snowflake for the matching governance classification and history.
  4. 4It reasons over the combined signals to identify PII columns and drift, drafting a masking plan.
  5. 5The agent opens a Linear remediation ticket containing the plan and affected columns.
  6. 6It replies in chat with the findings summary and a link to the ticket.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BigQueryDatasets, queries, schemas.
  2. 2
    Connect SnowflakeWarehouses, queries, shares.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  4. 4
    Connect OpenAIModels, embeddings, files.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.