Configuration
DSO is designed to work with zero configuration, but you can customize its behavior.
Environment Variables
DSO_MODEL
Ollama model to use:
export DSO_MODEL=phi3
# or
export DSO_MODEL=mistral:7bSupported models:
qwen2.5:7b(default, ~4.7 GB) - Automatically installedllama3.1:8b(~4.7 GB, alternative)phi3(~2.3 GB, lighter)mistral:7b(~4.1 GB)gemma:7b(~5.2 GB)llama3.1:70b(~40 GB, best quality)
OLLAMA_HOST
Ollama URL if different from localhost:11434:
export OLLAMA_HOST=http://192.168.1.100:11434Configuration Files
~/.dso/config
The installation script automatically creates this file with your selected model:
# View current config
cat ~/.dso/config
# Output: DSO_MODEL=qwen2.5:7b
# Change model
echo "DSO_MODEL=llama3.1:8b" > ~/.dso/configPriority order:
- Environment variable
DSO_MODEL - Configuration file
~/.dso/config - Default:
qwen2.5:7b
Advanced Configuration (Coming Soon)
Future support for YAML configuration:
# ~/.dso/config.yaml (planned)
model: qwen2.5:7b
ollama_host: http://localhost:11434
scanners:
trivy: true
grype: false
gitleaks: true
output:
format: text
verbose: falseCommand Options
audit
# JSON format
dso audit --format json .
# Verbose mode
dso audit --verbose .fix
# Auto mode (no confirmation)
dso fix --auto .
# With confirmation
dso fix --confirm .watch
# Custom interval
dso watch --interval 10m .
# Quiet mode
dso watch --quiet .Ollama Configuration
Change Model
Via environment variable (temporary):
export DSO_MODEL=phi3
dso audit .Via configuration file (permanent, recommended):
# The installation script creates this automatically
echo "DSO_MODEL=phi3" > ~/.dso/config
dso audit .Via shell profile (permanent):
# Add to ~/.zshrc or ~/.bashrc
echo 'export DSO_MODEL=phi3' >> ~/.zshrc
source ~/.zshrcOllama on Remote Server
export OLLAMA_HOST=http://ollama-server:11434
dso audit .Scanner Configuration
DSO automatically detects available scanners. To force the use of certain scanners, use environment variables (coming soon):
# Disable a scanner
export DSO_DISABLE_GRYPE=trueAbout 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
- Installation Guide: Initial configuration
- Ollama Integration: Detailed Ollama configuration