Skip to content

docs: document filesystem policies in sbx policy ls#25388

Draft
dvdksn wants to merge 2 commits into
docker:mainfrom
dvdksn:worktree-sbx-fs-policy-docs
Draft

docs: document filesystem policies in sbx policy ls#25388
dvdksn wants to merge 2 commits into
docker:mainfrom
dvdksn:worktree-sbx-fs-policy-docs

Conversation

@dvdksn

@dvdksn dvdksn commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

Surface filesystem policy rules in the CLI policy views and changes how writable workspace mounts are authorized.

Changes:

  • governance/monitoring.md — Adds a "Filesystem rules" subsection to sbx policy ls, with example output showing the filesystem:read/filesystem:write TYPE values and the --type filesystem filter. Updates the TYPE column description. Notes that sbx policy log still records network traffic only (filesystem log entries aren't supported yet).
  • governance/concepts.md — Notes in the Filesystem rules section that a writable workspace must be allowed by both a read and a write rule, and that mount denials name which access was missing.
  • governance/org.md — Adds the same read+write requirement to the org-level Filesystem policies section.

I did not touch release-notes.md — that page is auto-generated (<!-- BEGIN GENERATED RELEASES -->) and this change hasn't shipped in a tagged release yet.

Related issues

Upstream: docker/sandboxes#3604

🤖 Generated with Claude Code

Filesystem policy rules are now visible in `sbx policy ls` (TYPE shows
`filesystem:read`/`filesystem:write`, filterable with `--type filesystem`),
and a writable workspace mount requires both read and write access.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit efc13aa
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a339621594194000896c12c
😎 Deploy Preview https://deploy-preview-25388--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.

@docker-agent docker-agent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

The changes accurately document filesystem policy rules ( / ) across three governance pages. No broken commands, missing redirects, vendored-file edits, or markdown issues were found.

Only minor style observations (all LOW severity, no inline comments required):

  • monitoring.md line 153: Negative contraction aren't — style guide prefers are not to avoid informal contractions in disclaimers.
  • concepts.md line 85: Phrasing the denial reason names whether is slightly ambiguous; indicates whether would be marginally clearer.
  • org.md line 74: allowing read alone permits a read-only mount — minor passive feel; allowing read access alone mounts the workspace read-only is more direct.

None of these block the PR.

Point org.md to Policy concepts for the read+write requirement instead of
restating it, since the page already links there for filesystem rule syntax.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants