-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
75 lines (62 loc) · 1.98 KB
/
Copy pathenv.example
File metadata and controls
75 lines (62 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# HawkEye AI-Powered Threat Analysis Configuration
# ==============================================
# AI Provider Selection
# ==============================================
# Choose which AI provider to use: openai, anthropic, or local
AI_PROVIDER=anthropic
# ==============================================
# OpenAI Configuration
# ==============================================
AI_OPENAI_API_KEY=your_openai_api_key_here
AI_OPENAI_MODEL=gpt-4
AI_OPENAI_MAX_TOKENS=4000
AI_OPENAI_TEMPERATURE=0.1
AI_OPENAI_TIMEOUT=30
# ==============================================
# Anthropic Configuration
# ==============================================
AI_ANTHROPIC_API_KEY=your_anthropic_api_key_here
AI_ANTHROPIC_MODEL=claude-3-sonnet-20240229
AI_ANTHROPIC_MAX_TOKENS=4000
AI_ANTHROPIC_TEMPERATURE=0.1
AI_ANTHROPIC_TIMEOUT=30
# ==============================================
# Local LLM Configuration (for air-gapped environments)
# ==============================================
AI_LOCAL_LLM_ENDPOINT=http://localhost:11434
AI_LOCAL_LLM_MODEL=llama2
AI_LOCAL_LLM_TIMEOUT=60
# ==============================================
# AI Analysis Settings
# ==============================================
# Enable caching of AI analysis results
AI_CACHE_ENABLED=true
AI_CACHE_TTL=3600
# Maximum cost per analysis in USD (safety limit)
AI_MAX_COST_PER_ANALYSIS=0.50
# Enable detailed logging of AI interactions
AI_DEBUG_LOGGING=false
# Fallback provider if primary fails
AI_FALLBACK_PROVIDER=openai
# ==============================================
# Existing HawkEye Configuration
# ==============================================
# Logging Configuration
LOG_LEVEL=INFO
LOG_FILE=logs/hawkeye.log
LOG_MAX_SIZE=10485760
LOG_BACKUP_COUNT=5
AUDIT_LOG_ENABLED=true
# Scanning Configuration
SCAN_TIMEOUT=30
SCAN_MAX_THREADS=10
SCAN_RATE_LIMIT=100
# MCP Introspection Configuration
MCP_TIMEOUT=10
MCP_MAX_RETRIES=3
MCP_CACHE_TTL=300
# Output Configuration
OUTPUT_DIR=reports
OUTPUT_FORMAT=json
ENABLE_HTML_REPORTS=true
ENABLE_CSV_REPORTS=true