-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
100 lines (83 loc) · 2.37 KB
/
.env.example
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Configuration de l'environnement
ENVIRONMENT=development
LOG_LEVEL=INFO
DEBUG=false
# Configuration de la base de données
DB_HOST=localhost
DB_PORT=5432
DB_NAME=auditronai
DB_USER=postgres
DB_PASSWORD=postgres
# Configuration Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# Configuration de l'application
APP_SECRET_KEY=your-secret-key-here
APP_PORT=8501
ALLOWED_HOSTS=localhost,127.0.0.1
# Configuration des analyseurs
BANDIT_CONFIG_PATH=configs/bandit.yaml
PROSPECTOR_CONFIG_PATH=configs/prospector.yaml
TYPESCRIPT_CONFIG_PATH=configs/typescript.yaml
SQL_CONFIG_PATH=configs/sql.yaml
# Configuration des API externes
GITHUB_TOKEN=your-github-token-here
GITLAB_TOKEN=your-gitlab-token-here
BITBUCKET_TOKEN=your-bitbucket-token-here
# Configuration de l'authentification
JWT_SECRET_KEY=your-jwt-secret-key-here
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
# Configuration du stockage
STORAGE_TYPE=local # ou 's3', 'azure', etc.
STORAGE_PATH=/app/storage
AWS_ACCESS_KEY_ID=your-aws-access-key-id
AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key
AWS_REGION=your-aws-region
AWS_BUCKET_NAME=your-bucket-name
# Configuration des notifications
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-specific-password
EMAIL_FROM=noreply@auditronai.com
# Configuration du monitoring
SENTRY_DSN=your-sentry-dsn
PROMETHEUS_ENABLED=false
GRAFANA_API_KEY=your-grafana-api-key
# Configuration des limites
MAX_CONCURRENT_ANALYSES=5
MAX_FILE_SIZE_MB=10
MAX_PROJECT_SIZE_MB=100
RATE_LIMIT_PER_MINUTE=60
# Configuration du cache
CACHE_TYPE=redis # ou 'memcached', 'local'
CACHE_TIMEOUT=3600
CACHE_PREFIX=auditronai
# Configuration des plugins
PLUGINS_ENABLED=true
PLUGINS_PATH=/app/plugins
ALLOWED_PLUGIN_TYPES=typescript,sql,python
# Configuration de la sécurité
CORS_ORIGINS=http://localhost:3000,http://localhost:8501
SSL_ENABLED=false
SSL_CERT_PATH=/path/to/cert.pem
SSL_KEY_PATH=/path/to/key.pem
# Configuration des rapports
REPORT_FORMATS=json,html,pdf
REPORT_RETENTION_DAYS=30
MAX_REPORT_SIZE_MB=50
# Configuration des webhooks
WEBHOOK_SECRET=your-webhook-secret
WEBHOOK_TIMEOUT=30
MAX_WEBHOOK_RETRIES=3
# Configuration des métriques
METRICS_RETENTION_DAYS=90
METRICS_COLLECTION_INTERVAL=60
# Configuration du nettoyage automatique
CLEANUP_ENABLED=true
CLEANUP_INTERVAL_HOURS=24
TEMP_FILES_RETENTION_HOURS=1