Getting Started
This guide shows you how to use DSO for the first time.
Initial Check
Before starting, verify everything is configured:
# 1. Check Ollama
dso check
# 2. Check scan tools
dso toolsFirst Audit
Run your first audit on your project:
# Standard mode
dso audit .
# Interactive TUI mode (recommended)
dso audit . --interactiveDSO will:
- Scan your code (SAST, secrets, dependencies, IaC)
- Analyze results with local AI
- Give you an intelligent summary
- Display results in an interactive UI (if
--interactiveis used)
Interactive UI Mode
When using --interactive or -i, DSO launches a beautiful TUI (Terminal User Interface) with:
- Navigation tabs: Summary, Top Fixes, Critical, High, All Findings
- Real-time search: Filter findings as you type
- Progress bars: Visual representation of severity distribution
- Keyboard shortcuts: Navigate efficiently with
Tab,↑,↓,/,q
Example Output
Standard Mode:
DSO - DevSecOps Oracle
Summary
────────────────────────────────────────────────────────────
You have 127 alerts but only 3 are critical and exploitable in prod.
Statistics
────────────────────────────────────────────────────────────
Total: 127 findings
Critical: 3
High: 12
Medium: 45
Low: 67
Top Priority Fixes
────────────────────────────────────────────────────────────
1. Hardcoded AWS key in frontend/.env.production
frontend/.env.production:12
Secret detected in a versioned file
sed -i '12d' frontend/.env.production && git commit -am "fix: remove hardcoded AWS key"Automatic Fix
If DSO finds automatically fixable issues:
# With confirmation
dso fix .
# Without confirmation (auto mode)
dso fix --auto .Explain a Vulnerability
To understand why an alert is critical:
dso why CVE-2024-12345Create a Pull Request
Apply fixes and create a PR automatically:
dso pr --title "fix(security): automatic fixes"Typical Workflow
1. Initial Audit
dso audit . --verbose2. Fix
# See issues
dso audit .
# Fix automatically
dso fix --auto .
# Or create a PR
dso pr3. CI/CD Integration
# Generate GitHub Actions workflow
dso ci --provider github .
# Commit and push
git add .github/workflows/dso.yml
git commit -m "ci: add DSO security audit"
git pushAbout 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.
Web Interface
DSO includes a modern web interface for comprehensive project analysis:
# Start the web UI
cd web
npm install
npm run dev:fullAccess at http://localhost:3000 for:
- Real-time scanning with progress tracking
- Multiple result views (All, By Category, By Tool)
- AI chat for security advice
- Repository integration (GitHub/GitLab)
- Configuration monitoring
See the Web Interface Guide for details.
Next Steps
- Commands: Discover all available commands
- Scanners: Learn about all integrated tools
- Web Interface: Use the graphical interface
- Examples: See concrete examples