Share feedback
Answers are generated based on the documentation.

sbx policy log

内容説明Show sandbox policy logs
利用方法sbx policy log [SANDBOX] [flags]

Description

Show policy logs for all sandboxes, or filter by a specific sandbox name.

Displays which hosts were allowed or blocked by the proxy, along with the matching rule, proxy type, and request count. Useful for debugging connectivity issues or auditing network activity.

Options

オプションデフォルト内容説明
--jsonOutput in JSON format
--limit0Maximum number of log entries to show
-q, --quietOnly display log entries
--typeallFilter logs by type: "all" or "network" (default "all")

Global options

オプションデフォルト内容説明
-D, --debugEnable debug logging

Examples

# Show all policy logs
sbx policy log

# Show logs for a specific sandbox
sbx policy log my-sandbox

# Output in JSON format
sbx policy log --json

# Show the last 20 entries
sbx policy log --limit 20