Skip to content

sandboxes/policy: document blocked values for user-defined rules#24611

Open
dvdksn wants to merge 1 commit intodocker:mainfrom
dvdksn:sbx/restrict-delegation-rules
Open

sandboxes/policy: document blocked values for user-defined rules#24611
dvdksn wants to merge 1 commit intodocker:mainfrom
dvdksn:sbx/restrict-delegation-rules

Conversation

@dvdksn
Copy link
Copy Markdown
Contributor

@dvdksn dvdksn commented Apr 2, 2026

Summary

Documents the catch-all values that are blocked in user-defined rules when the User defined delegation setting is enabled in organization governance. Adds a new subsection listing blocked domain patterns and CIDR ranges, and notes that scoped wildcards like *.example.com remain allowed.

Generated by Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dvdksn dvdksn added the status/review Pull requests that are ready for review label Apr 2, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 2, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit d6fb96a
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69ce52b06ade8600082910fa
😎 Deploy Preview https://deploy-preview-24611--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dvdksn dvdksn requested a review from a team April 2, 2026 11:27
@dvdksn dvdksn added this to the sbx/next milestone Apr 2, 2026
@dvdksn dvdksn requested a review from chrispatrick April 2, 2026 11:30
@dvdksn dvdksn added the status/do-not-merge Pull requests that are awaiting some event or decision before they can be merged. label Apr 2, 2026
@dvdksn dvdksn marked this pull request as ready for review April 2, 2026 11:30
- CIDR ranges: `0.0.0.0/0`, `::/0`

Scoped wildcards like `*.example.com` are still allowed. If you attempt to
use a blocked value, `sbx policy` returns an error immediately.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth noting that creation of the rules is blocked, but if the user already has blocked values in their local policy then they are ignored? Or maybe that is edge-case enough to ignore?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking about it, but it sort of goes down into a rabbit hole of, "but if it's blocked, how could be set in the first place?", and then we'd have to explain that too...

So... it's not totally unreasonable to mention this edge case. But wasn't sure it was worth it. Let's maybe see if it comes up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/do-not-merge Pull requests that are awaiting some event or decision before they can be merged. status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants