Usage
Commands
obacht scan
Scan the local development environment for security issues.
bash
obacht scan [flags]Flags:
--format <pretty|json>— Output format (default: pretty)--category <categories>— Comma-separated list of categories to scan--severity <severities>— Comma-separated list of severities to include (critical, high, warn, info)--rules-dir <path>— Load additional rules from a directory (expectspolicies/andinputs/subdirectories)--verbose— Enable verbose output
Exit Codes:
0— No failed checks1— One or more failed checks2— Runtime error
obacht explain <rule-id>
Show detailed information about a specific rule.
bash
obacht explain SSH001obacht doctor
Check obacht dependencies and configuration.
bash
obacht doctor