-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 1.19 KB
/
.env.example
File metadata and controls
30 lines (23 loc) · 1.19 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
# Copy to .env and fill in values, or set these directly in your Cloud Run job.
# ---- Required ------------------------------------------------------------
MONITOR_TARGETS=203.0.113.0/28,198.51.100.10,example.com
# ---- nmap ----------------------------------------------------------------
MONITOR_NMAP_ARGUMENTS=-sV --open -T4
MONITOR_NMAP_PORTS=top-1000
MONITOR_NMAP_SUDO=false
# ---- State storage — local (default) ------------------------------------
MONITOR_STATE_BACKEND=local
MONITOR_STATE_LOCAL_DIR=/data/state
# ---- State storage — GCS (Cloud Run recommended) ------------------------
# MONITOR_STATE_BACKEND=gcs
# MONITOR_STATE_GCS_BUCKET=my-org-network-monitor
# MONITOR_STATE_GCS_PREFIX=state/prod
# ---- Logging & alerting --------------------------------------------------
MONITOR_LOG_LEVEL=INFO
MONITOR_LOG_CHANGES_ONLY=false
MONITOR_ALERT_MIN_SEVERITY=info
# ---- Run mode ------------------------------------------------------------
MONITOR_RUN_MODE=job # job | service
MONITOR_SCAN_INTERVAL_SECONDS=3600 # service mode only
# ---- Optional YAML config -----------------------------------------------
# CONFIG_FILE=/app/config.yaml # values above override YAML