Share feedback
Answers are generated based on the documentation.

sbx policy refresh

DescriptionForce an immediate policy refresh
Usagesbx policy refresh [flags]

Description

Force sandboxd to fetch and apply governance policy immediately.

The daemon normally polls for policy changes on a regular interval. Use this after changing an org policy setting (for example, toggling AI Governance) so the change takes effect without waiting for the next poll. This also invalidates the cached registry credential; it never restarts the daemon or stops running sandboxes.

The refreshed policy applies to new connections only. Connections a sandbox opened while the previous policy allowed them stay open even if the new policy denies them; restart the sandbox to drop them.

Global options

OptionDefaultDescription
--cloudDispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
-D, --debugEnable debug logging

Examples

sbx policy refresh