deadfall test
Run verification tests on your Deadfall setup to confirm everything is operational.Usage
Description
Thetest command runs a comprehensive verification of your honeypot system:
- Trap files — Confirms trap files exist and contain valid tokens
- MCP handler — Verifies the handler would respond correctly to trap triggers
- Alert system — Tests that the log file can be written
- Desktop notifications — Checks notification availability (optional)
Options
| Option | Description |
|---|---|
--no-notify | Skip desktop notification test (useful for CI/CD) |
--token <string> | Test a specific trap token |
--verbose | Show detailed output for each test |
--json | Output results in JSON format |
Examples
Run All Tests
Skip Notification Test (CI/CD)
Test Specific Token
JSON Output
Exit Codes
| Code | Meaning |
|---|---|
0 | All tests passed |
1 | One or more tests failed |
When to Use
- After running
deadfall initto verify setup - Before deploying traps to production
- In CI/CD pipelines to validate configuration
- When troubleshooting alert delivery issues