diff options
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 3 |
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) |