aboutsummaryrefslogtreecommitdiff
path: root/config.example.yaml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-19 17:50:35 -0800
committerFuwn <[email protected]>2026-01-19 17:50:35 -0800
commita24b3b5c206a75ace0b0e77c29abb9ac46c487ed (patch)
treec8b180276df1b122627b374d947581df217fd8fd /config.example.yaml
parentfeat: Change default favicon to wind chime emoji (🎐) (diff)
downloadkaze-a24b3b5c206a75ace0b0e77c29abb9ac46c487ed.tar.xz
kaze-a24b3b5c206a75ace0b0e77c29abb9ac46c487ed.zip
feat: Add configurable user_agent to bypass bot detection
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 32229d0..50c116b 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -85,6 +85,7 @@ groups:
expected_status: 200
expected_content: '"status":"ok"' # Verify JSON response contains expected data
method: GET
+ # user_agent: "Mozilla/5.0 (compatible; StatusMonitor/1.0)" # Custom User-Agent (bypass bot detection)
# headers:
# Authorization: "Bearer token"
@@ -169,6 +170,8 @@ incidents:
# expected_status: int - Expected HTTP status code (default: 200)
# expected_content: string - Text that must be present in response body
# method: string - HTTP method (default: GET)
+# user_agent: string - Custom User-Agent header (default: "Kaze-Monitor/1.0")
+# Useful for bypassing bot detection (e.g., Cloudflare)
# headers: map[string]string - Custom headers to send
# body: string - Request body for POST/PUT/PATCH
# verify_ssl: bool - Verify SSL certificate (default: true, or group default)