# CVE-SIGMA Auto Generator CLI - Environment Configuration # Copy this file to .env and configure your API keys and settings # Database Configuration (for Docker Compose) DATABASE_URL=postgresql://cve_user:cve_password@db:5432/cve_sigma_db REDIS_URL=redis://redis:6379/0 # For native installation (without Docker) # DATABASE_URL=postgresql://cve_user:cve_password@localhost:5432/cve_sigma_db # REDIS_URL=redis://localhost:6379/0 # API Keys (Optional but recommended) # NVD API Key - Increases rate limits from 5 to 50 requests/30s # Get from: https://nvd.nist.gov/developers/request-an-api-key NVD_API_KEY= # GitHub Token - For enhanced PoC analysis (5000 requests/hour vs 60/hour) # Get from: https://github.com/settings/tokens GITHUB_TOKEN= # OpenAI API Key - For AI-enhanced SIGMA rule generation # Get from: https://platform.openai.com/api-keys OPENAI_API_KEY= # Anthropic API Key - Alternative AI provider for SIGMA rule generation # Get from: https://console.anthropic.com/ ANTHROPIC_API_KEY= # Ollama Configuration - For local LLM processing (no external API needed) OLLAMA_BASE_URL=http://localhost:11434 # For Docker Compose: OLLAMA_BASE_URL=http://ollama:11434 # LLM Provider Selection (openai, anthropic, ollama) LLM_PROVIDER=ollama LLM_MODEL=llama3.2 # CLI Configuration SIGMA_CLI_CONFIG_DIR=~/.config/sigma-cli SIGMA_CLI_DATA_DIR=./cves SIGMA_CLI_LOG_LEVEL=INFO