Share feedback
Answers are generated based on the documentation.

sbx policy inspect

DescriptionInspect policy or rule details
Usagesbx policy inspect <policy-or-rule> [flags]

Description

Inspect full detail for a selected policy or rule.

The selector may be a policy ID, policy name, rule ID, or rule name. Selecting a policy lists every resource with its decision, rule, and status, plus a rule table showing each rule's RULE_ID, whether it is editable, and either the exact removal command or the reason it is read-only. Selecting a rule shows just that rule with the same editability detail. RULE_ID is the identifier accepted by "sbx policy rm network --id" (local rules only). Use "sbx policy ls" to find policy names and "sbx policy ls --wide" to find rule IDs and resource values.

Global options

OptionDefaultDescription
-D, --debugEnable debug logging

Examples

# Inspect a policy by name
sbx policy inspect "Developer access"

# Inspect a rule by ID
sbx policy inspect 2d3c1f0e-4a73-4e05-bc9d-f2f9a4b50d67