Share feedback
Answers are generated based on the documentation.

sbx policy ls

DescriptionList sandbox policy rules
Usagesbx policy ls [SANDBOX] [flags]

Description

List all active policy rules.

Displays the provenance, scope, rule name (or ID if no name is set), type, decision (allow/deny), and the associated resources for each rule.

When SANDBOX is specified, only policies that apply to that sandbox are shown (global rules plus rules scoped to that sandbox).

Options

OptionDefaultDescription
--typeallFilter policies by type: "all" or "network" (default "all")

Global options

OptionDefaultDescription
-D, --debugEnable debug logging

Examples

# List all policies
sbx policy ls

# List only network policies
sbx policy ls --type network

# List policies that apply to a specific sandbox
sbx policy ls my-sandbox