Plain-English security review of Tailscale access changes
Every time someone edits your Tailscale access rules, get a readable summary of what changed, who changed it, and whether it made you less safe.
Whenever someone edits my Tailscale access rules, I want a plain-English review of what changed and whether it made us less safe. Trigger this workflow on the Tailscale webhook event policyUpdate, which fires when the tailnet policy file is updated.
When the event arrives, fetch the current rules using the Tailscale Get policy file operation. The policy file is HuJSON, which is JSON with comments and trailing commas, so send an Accept: application/json header on that request to work in plain JSON. Then pull the recent entries from List configuration audit logs to establish who made the edit, when it landed, and what the previous state looked like. This workflow is strictly read-only: never call Set policy file. Get policy file also returns an ETag, but that is only used for optimistic concurrency on writes, so ignore it here.
Write a short, readable summary of the change. Cover which groups or tags gained access to which destinations, which rules were removed, and which SSH rules or auto-approver rules were touched. Write it for someone who does not read access rule syntax fluently: describe who can now reach what on the network, rather than quoting raw configuration.
Flag anything that widens access dangerously. In particular, catch a new wildcard source or destination, a rule that opens a production tag to everyone, and a newly added auto-approved exit node. If the change looks risky, say so clearly at the very top of the message and name the person who made it, taken from the matching audit log entry.
Post the summary to our Slack security channel using the Slack Bot Send a Message operation. Then record the same summary as a page in our Notion access change log database using Create a Page, so there is a reviewable history for audits. On the Notion page, capture who made the change, when it happened, and whether it was flagged as risky.
What does this prompt do?
- Watches for edits to your Tailscale network access rules and starts a review the moment one lands.
- Explains the change in plain English: who gained access to what, which rules were removed, and which remote-login or auto-approval settings were touched.
- Flags edits that quietly widen access, such as a rule that opens production to everyone or lets a new machine route traffic for others.
- Posts the review to your Slack security channel and files a copy in a Notion log so you have a searchable history for audits.
What do I need to use this?
- A Tailscale account with admin access to your network's access rules.
- A Slack workspace and a channel where security updates should land.
- A Notion workspace with a database set up to hold the access change log.
- Change history turned on in Tailscale, so the summary can name who made each edit.
How can I customize it?
- Change which Slack channel receives the review, or send risky changes to a separate on-call channel.
- Adjust what counts as risky, for example treating any edit that touches a production system as worth flagging.
- Add columns to the Notion log, like a reviewed-by field or a sign-off checkbox for audits.
FAQs
Will this change my network access rules?
How quickly does the review arrive?
Does it tell me who made the change?
What counts as a risky change?
Do I need Notion for this to work?
Related templates
When someone leaves, we check which shared passwords they used in their final months and post a ranked rotation list to your security channel.
Every Monday, check every S3 bucket for public exposure, missing encryption and weak backup settings, then get the risks ranked in Slack.
Twice every weekday, the conversations from your social inbox land on the right HubSpot contact timelines, with a Slack recap for sales.
Every morning, find the addresses that hard bounced or filed a spam complaint, update the matching HubSpot contacts, and post a short Slack recap.
Every weekday at 4pm, spot the threads that went quiet, stage a ready-to-send nudge in your mailbox, and get a ranked Slack recap.
When you merge a fix in GitHub, this agent checks the matching dead-letter queue, replays the failed messages, and reports back on the pull request and in Slack.
Stop reading access rule changes line by line.
Get a plain-English review of every edit to your network access rules, with the risky ones called out first.