./shannon script with KEY=value style arguments.
Quick Reference
start
Start a new pentest workflow
workspaces
List all available workspaces
logs
View real-time workflow logs
query
Query workflow progress and state
stop
Stop all containers
Command Syntax
All Shannon commands follow this pattern:Available Commands
| Command | Description | Common Usage |
|---|---|---|
start | Start a pentest workflow | ./shannon start URL=<url> REPO=<name> |
workspaces | List all workspaces | ./shannon workspaces |
logs | Tail workflow logs | ./shannon logs ID=<workflow-id> |
query | Query workflow state | Via Temporal Web UI at http://localhost:8233 |
stop | Stop containers | ./shannon stop or ./shannon stop CLEAN=true |
help | Show help message | ./shannon help |
Environment Setup
Before running commands, ensure you have:- API Keys: Set
ANTHROPIC_API_KEYorCLAUDE_CODE_OAUTH_TOKENin.env - Docker: Docker or Podman installed and running
- Repository: Target code in
./repos/<repo-name>/
Monitoring
Temporal Web UI
Access the Temporal Web UI for detailed workflow monitoring:- Real-time workflow progress
- Query workflow state via
getProgress - View workflow history and events
- Inspect activity executions
- Stack trace analysis for failures
Log Streaming
Stream logs in real-time:Workspace Management
List all workspaces and their status:Output Locations
Shannon generates output in multiple locations:| Output Type | Default Location | Configurable Via |
|---|---|---|
| Workflow logs | ./audit-logs/<workspace-id>/workflow.log | OUTPUT=<path> |
| Audit data | ./audit-logs/<workspace-id>/ | OUTPUT=<path> |
| Deliverables | ./repos/<repo>/deliverables/ | Fixed |
| Reports | Generated in both locations | - |
Common Patterns
Basic Workflow
Named Workspace
Custom Configuration
Development Testing
Error Handling
Shannon provides clear error messages for common issues:Next Steps
Start Command
Learn all options for starting workflows
Configuration
Explore YAML configuration options
Workspaces
Master workspace management and resume
Troubleshooting
Common issues and solutions
