When You Need Configuration
You should create a configuration file when:- Authenticated Testing: Your application requires login (form-based, SSO, API, or basic auth)
- Two-Factor Authentication: Your application uses TOTP/2FA for login
- Test Scoping: You want to define specific areas to focus on or avoid during testing
- Rate Limit Management: You’re on an Anthropic subscription plan with rolling 5-hour rate limit windows
- Concurrency Control: You want to reduce concurrent pipeline execution to manage API usage
Configuration File Location
Configuration files must be placed in the./configs/ directory at the Shannon project root. This directory is automatically mounted into the Docker container.
Configuration Structure
A Shannon configuration file can contain three main sections:Authentication Section
Defines how Shannon should authenticate with your application:Rules Section
Defines testing boundaries and priorities:Pipeline Section
Controls retry behavior and concurrency:Minimal Configuration
You can include only the sections you need. For example, a minimal authenticated testing configuration:Schema Validation
All configuration files are validated againstconfigs/config-schema.json. If validation fails, Shannon will display detailed error messages indicating:
- Missing required fields
- Invalid types or values
- Malformed patterns
- Security violations
- Maximum file size of 1MB
- Safe YAML parsing (no code execution)
- Security checks for dangerous patterns
- Type validation for all fields
- Conflict detection between rules
Next Steps
Authentication
Configure login, credentials, and 2FA
YAML Config Reference
Complete configuration options reference
Retry Strategies
Handle rate limits and subscription plans
Pipeline Settings
Control concurrency and testing mode
