Skip to content

Governance Commands

View active and expired exceptions.

Terminal window
scc exceptions list [OPTIONS]

Options:

OptionDescription
--activeShow only active exceptions
--expiredShow only expired exceptions
--allShow all exceptions
--jsonOutput as JSON

Create a new exception to unblock a resource.

Terminal window
scc exceptions create [OPTIONS]

Options:

OptionDescription
--policyGenerate YAML for policy PR
--id IDException ID (required for --policy)
--ttl TTLTime-to-live (e.g., 8h, 30m, 1d)
--expires-at TIMEExpiration time (RFC3339)
--until TIMEExpire at time today (HH:MM)
--reason TEXTReason for exception (required)
--allow-mcp SERVERAllow MCP server (repeatable)
--allow-plugin PLUGINAllow plugin (repeatable)
--allow-image IMAGEAllow base image (repeatable)
--sharedSave to repo store

Examples:

Terminal window
# Create 8-hour exception for MCP server
scc exceptions create --allow-mcp jira-api --ttl 8h --reason "Sprint demo"
# Until end of day
scc exceptions create --allow-plugin debug-tool --until 18:00 --reason "Debugging"
# Policy exception for PR
scc exceptions create --policy --id INC-2024-001 --allow-plugin scanner

Remove an exception by ID.

Terminal window
scc exceptions delete <EXCEPTION_ID> [OPTIONS]

Arguments:

ArgumentDescription
EXCEPTION_IDException ID or prefix

Options:

OptionDescription
-y, --yesSkip confirmation

Prune expired exceptions.

Terminal window
scc exceptions cleanup

Clear all exception stores.

Terminal window
scc exceptions reset [OPTIONS]

Options:

OptionDescription
-y, --yesSkip confirmation
--userReset only user store
--repoReset only repo store

Quick shortcut to create an exception.

Terminal window
scc unblock <TARGET> [OPTIONS]

Arguments:

ArgumentDescription
TARGETPlugin, MCP server, or image to unblock

Options:

OptionDescription
--ttl TTLTime-to-live
--reason TEXTReason for unblocking
--sharedSave to repo store

Examples:

Terminal window
# Quick unblock for 8 hours
scc unblock my-plugin --ttl 8h --reason "Testing"

Audit installed Claude Code plugins.

Terminal window
scc audit plugins [OPTIONS]

Options:

OptionDescription
--jsonOutput as JSON for CI

Exit codes:

CodeMeaning
0All plugins parsed successfully
1One or more plugins have issues

Examples:

Terminal window
# Human-readable audit
scc audit plugins
# JSON for CI integration
scc audit plugins --json

Output shows:

  • Plugin name and version
  • Source marketplace
  • Whether it’s enabled
  • Any configuration issues
  • Blocked status