Commands
DSO provides a comprehensive set of commands for security auditing, fixing, and automation.
Main Commands
audit
Run a complete security audit with AI analysis.
# Standard mode
dso audit .
# Interactive TUI mode (recommended)
dso audit . --interactivefix
Automatically apply safe security fixes.
dso fix --auto .why
Explain why a vulnerability is critical or if it's a false positive.
dso why CVE-2024-12345pr
Create a Pull Request with automatic fixes.
dso pr --title "Security fixes"Tools & Configuration
check
Verify Ollama connection and available models.
dso checkShell completion
Generate completion scripts for your shell (no separate doc page).
dso completion bash
dso completion zsh
dso completion fish
dso completion powershelltools
Manage scan tools (detection, installation).
dso tools --installwatch
Continuously monitor repository for new issues.
dso watch --interval 10m .Generation
policy
Generate security policies (OPA/Rego, CODEOWNERS).
dso policy --type opa .sbom
Generate Software Bill of Materials.
dso sbom --format cyclonedx .ci
Generate CI/CD workflows (GitHub Actions, GitLab CI).
dso ci --provider github .Quick Reference
| Command | Purpose | Common Usage |
|---|---|---|
audit | Security scan + AI analysis | dso audit . |
fix | Auto-fix issues | dso fix --auto . |
why | Explain vulnerability | dso why CVE-2024-12345 |
pr | Create PR with fixes | dso pr |
check | Verify Ollama | dso check |
tools | Manage scanners | dso tools |
watch | Continuous monitoring | dso watch . |
policy | Generate policies | dso policy --type opa . |
sbom | Generate SBOM | dso sbom . |
ci | Generate CI/CD | dso ci --provider github . |
completion | Shell completions | dso completion bash |
Getting Help
For detailed information about any command:
dso <command> --helpFor example:
dso audit --help
dso fix --helpAbout the Developer
DSO is developed by Ismail MOUYAHADA, a DevSecOps Engineer and Multi-Platform Software Developer.
With expertise in security automation, cloud infrastructure, and cross-platform development, Ismail created DSO to bring enterprise-grade security analysis to developers' terminals with zero configuration and complete privacy.
See Also
- Getting Started: Learn the basics
- Configuration: Configure DSO
- Examples: See usage examples