-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (35 loc) · 1.82 KB
/
.env.example
File metadata and controls
40 lines (35 loc) · 1.82 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
# AI Kill Switch Protocol — Environment Variables
# Copy to .env and fill in values. Never commit .env.
# ---------------------------------------------------------------------------
# Orchestration halt endpoint
# Called by _fire_halt_trigger() in iot-validator.py and drift-detection.py
# ---------------------------------------------------------------------------
ORCHESTRATION_HALT_URL=https://your-orchestration-layer.example.com/halt
# ---------------------------------------------------------------------------
# FHIR R4 — used by integrations/fhir-r4-client.py
# ---------------------------------------------------------------------------
FHIR_BASE_URL=https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4
SMART_TOKEN_URL=https://fhir.epic.com/interconnect-fhir-oauth/oauth2/token
SMART_CLIENT_ID=your-epic-client-id
SMART_PRIVATE_KEY_PATH=./keys/private_key.pem
# ---------------------------------------------------------------------------
# Alert dispatcher — integrations/alert-dispatcher.py
# ---------------------------------------------------------------------------
ALERT_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK
PAGERDUTY_ROUTING_KEY=your-pagerduty-routing-key
ALERT_EMAIL_TO=oncall@yourorg.com
SMTP_HOST=smtp.yourorg.com
SMTP_PORT=587
# ---------------------------------------------------------------------------
# Audit log
# ---------------------------------------------------------------------------
AUDIT_LOG_LEVEL=INFO
AUDIT_LOG_DESTINATION=stdout # stdout | file | siem
AUDIT_LOG_FILE_PATH=./logs/aksp-audit.jsonl
# ---------------------------------------------------------------------------
# Drift detection thresholds (override defaults)
# ---------------------------------------------------------------------------
DRIFT_PSI_WARNING=0.10
DRIFT_PSI_HALT=0.20
DRIFT_KL_WARNING=0.05
DRIFT_KL_HALT=0.10