| name | defenseclaw-ops |
| description | Manage DefenseClaw enterprise security - scan components, manage tool permissions, view alerts, configure guardrails |
| version | 1.0.0 |
| license | Apache-2.0 |
| author | netclaw |
| tags | ["security","enterprise","defenseclaw","audit","compliance"] |
DefenseClaw Operations
This skill manages DefenseClaw enterprise security for NetClaw deployments.
Overview
DefenseClaw from Cisco AI Defense provides enterprise-grade security:
- OpenShell kernel-level sandbox
- Component scanning (skills, MCPs, plugins)
- Runtime guardrails (LLM inspection, tool call inspection)
- Audit logging with SIEM integration
Prerequisites
- DefenseClaw installed and enabled
defenseclaw CLI in PATH
Check status:
defenseclaw --version
Common Operations
Check Security Status
defenseclaw --version
pgrep defenseclaw-gateway
cat ~/.openclaw/config/openclaw.json | grep -A2 security
Scan Components
Before deploying new skills, MCPs, or plugins, scan them:
defenseclaw skill scan pyats-health-check
defenseclaw mcp scan meraki-mcp
defenseclaw plugin scan custom-tool
Expected output for clean component:
Scanning skill: pyats-health-check
✓ No HIGH/CRITICAL findings
Status: ALLOWED
Expected output for blocked component:
Scanning skill: bad-skill
✗ HIGH: Hardcoded credential detected
Location: config.py:15
Status: BLOCKED
Manage Tool Permissions
Block or allow specific tools:
defenseclaw tool block delete_file --reason "destructive operation"
defenseclaw tool block "*_write" --reason "read-only policy"
defenseclaw tool allow delete_file
defenseclaw tool list
View Security Alerts
defenseclaw alerts
defenseclaw alerts --limit 50
defenseclaw alerts --severity HIGH
defenseclaw alerts --after 2026-04-01
Export Audit Data
For compliance reporting:
defenseclaw alerts --export json > audit-$(date +%Y%m%d).json
defenseclaw alerts --export csv > audit-$(date +%Y%m%d).csv
Configure Guardrail Mode
defenseclaw config get guardrail.mode
defenseclaw setup guardrail --mode observe
defenseclaw setup guardrail --mode action --restart
defenseclaw setup guardrail --restart
Guardrail Modes
| Mode | Behavior | Use Case |
|---|
| observe | Log violations, allow execution | Development, onboarding |
| action | Log violations AND block | Production, compliance |
Security Categories
Guardrails check for these categories:
| Category | Description |
|---|
secret | Credential exfiltration |
command | Shell command execution |
sensitive-path | File system access |
c2 | Command & control communication |
cognitive-file | AI memory manipulation |
trust-exploit | Prompt injection |
SIEM Integration
Configure external SIEM:
defenseclaw config siem --type splunk \
--endpoint https://splunk.example.com:8088 \
--token $SPLUNK_HEC_TOKEN
defenseclaw config siem --type otlp \
--endpoint https://otel-collector.example.com:4318
defenseclaw config siem --test
Webhook Notifications
defenseclaw config webhook --slack $SLACK_WEBHOOK_URL
defenseclaw config webhook --pagerduty $PD_ROUTING_KEY
defenseclaw config webhook --webex $WEBEX_WEBHOOK_URL
Troubleshooting
DefenseClaw Not in PATH
export PATH="$HOME/.local/bin:$PATH"
Gateway Not Running
pgrep defenseclaw-gateway
defenseclaw-gateway start
tail -f ~/.defenseclaw/logs/gateway.log
Component Falsely Blocked
defenseclaw skill scan <name> --verbose
defenseclaw exception add <component> --finding <id> --reason "reviewed"
Related Documentation