-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
38 lines (31 loc) · 803 Bytes
/
Copy pathenv.example
File metadata and controls
38 lines (31 loc) · 803 Bytes
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
# API Configuration
API_KEY=your-secure-api-key-here
DEBUG=true
LOG_LEVEL=INFO
# External API Keys (optional - service works without them)
GOOGLE_SAFE_BROWSING_API_KEY=your-gsb-key
VIRUSTOTAL_API_KEY=your-vt-key
ABUSEIPDB_API_KEY=your-abuseipdb-key
# Redis Configuration
REDIS_URL=redis://localhost:6379/0
REDIS_TTL_SECONDS=86400
# Timeouts (seconds)
HTTP_TIMEOUT=10
DNS_TIMEOUT=5
TLS_TIMEOUT=10
WHOIS_TIMEOUT=15
TOTAL_TIMEOUT_PER_URL=30
# Rate Limiting
RATE_LIMIT_PER_MINUTE=100
RATE_LIMIT_PER_HOUR=1000
# Scoring Thresholds
DOMAIN_AGE_SUSPICIOUS_DAYS=14
DOMAIN_AGE_HIGH_RISK_DAYS=7
TLS_EXPIRY_WARNING_DAYS=30
TLS_EXPIRY_CRITICAL_DAYS=7
# Privacy Settings
STORE_ORIGINAL_URLS=false
LOG_FULL_URLS=false
REDACT_QUERY_PARAMS=true
# GeoIP Database (optional)
GEOIP_DB_PATH=./data/GeoLite2-City.mmdb