SECOPS

Daily IAM privilege drift digest from Snowflake

Runs nightly against IAM grant history warehoused in Snowflake, surfaces principals whose privileges drifted beyond their role baseline.

CategorySecOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNightly schedule
  • ActionQuery IAM grant historySnowflakeSnowflake
  • LogicDiff principals against role baseline
  • LogicRank drift by severity
  • OutputPost ranked digest to SlackSlack

What it does

This scheduled workflow queries a Snowflake table of historical IAM grants, computes each principal's current effective privileges, and compares them to the expected baseline for that principal's role or team. It produces a ranked list of drift — accounts that accumulated permissions they should not have — and delivers it as a digest for human review.

When to use it

Reach for this when you want continuous least-privilege hygiene rather than emergency revocation. It is the weekly-cleanup companion to real-time detection: it catches slow privilege creep, orphaned grants, and stale access that never tripped an alarm.

How it works

  1. 1A nightly schedule triggers the run.
  2. 2A Snowflake query pulls the full grant history and current effective policy set per principal.
  3. 3A logic step diffs each principal against the role baseline and scores the drift severity.
  4. 4The findings are ranked, with the riskiest over-privileged accounts first.
  5. 5A Slack digest posts the top findings with owners and recommended actions; the full table is attached as a CSV for triage.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SnowflakeWarehouses, queries, shares.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    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.