SECOPS
Triage Newly Authorized OAuth Apps by Scope Risk
Watches the Google Workspace audit log for new third-party OAuth grants, scores each app's requested scopes for risk.
How it runs
The automated pipeline, trigger to output.
- TriggerNew OAuth authorize event in Workspace audit logGoogle Drive
- ActionExtract app name, grantee, and requested scopesGoogle Drive
- LogicScore scopes against risk table; tag low/medium/high
- LogicBranch: route only high-risk grants to alerting
- OutputPost triage card with approve/revoke buttons to SlackSlack
What it does
This workflow catches the moment a user connects a new third-party app to your Google Workspace and immediately judges how dangerous the grant is. It reads the OAuth scopes the app requested, classifies them (read-only calendar is low; full Drive or Gmail send is high), and posts a triage card to Slack so security sees risky grants within minutes instead of at the next quarterly audit.
When to use it
Use it when employees can self-authorize SaaS tools against Workspace and you want a real-time tripwire for over-permissioned apps. Ideal for teams without a formal app-vetting gate who still need to know when someone grants an unknown vendor write access to all company files.
How it works
- 1The audit-log webhook fires on a new `authorize` token event in Google Workspace.
- 2The flow pulls the app name, grantee, and full scope list from the event payload.
- 3A logic step scores the scopes against a risk table and tags the grant low, medium, or high.
- 4Low and medium grants are logged to a sheet; high-risk grants branch to alerting.
- 5A Slack message delivers the app, user, scopes, and risk score with approve/revoke buttons to the security channel.
Set it up
What you configure once, before turning it on.
- 1Connect Google DriveDocs, sheets, slides, files.
- 2Connect SlackChannels, DMs, threads, mentions.
- 3Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 4Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 5Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More SecOps workflows
Compile a weekly WAF tuning review with trends to Confluence
Every week an agent rolls up Cloudflare WAF block clusters by rule and ASN, compares them to prior weeks for trend direction.
Sensitive Dropbox Link Owner Remediation Loop
When a newly created Dropbox shared link points to a sensitive file, this workflow DMs the file owner, gives them a deadline to justify or revoke it.
Post-Revocation Verification and Audit Logging
After a key is revoked, it confirms the old credential actually fails, verifies the replacement works.
Exposed-Secret Incident Triage and Remediation Agent
An agent-driven workflow that investigates a reported leaked secret end to end, decides revoke-versus-escalate, executes the rotation.
Page on-call when a WAF rule mass-blocks legitimate traffic
On demand or every few minutes, it detects a single Cloudflare WAF rule suddenly blocking a broad spread of ASNs and paths (a likely false-positive storm).
PII Content Scan on New Dropbox External Share
When a file gets an external Dropbox link, it reads the file content, uses an AI classifier to detect PII or secrets.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
