82 lines
1.4 KiB
JSON
82 lines
1.4 KiB
JSON
{
|
|
"anomalyDetection": {
|
|
"loadingTimeThresholds": {
|
|
"enabled": false,
|
|
"thresholds": [
|
|
{
|
|
"type": "TOTAL",
|
|
"valueMs": 0
|
|
}
|
|
]
|
|
},
|
|
"outageHandling": {
|
|
"globalOutage": true,
|
|
"localOutage": false,
|
|
"localOutagePolicy": {
|
|
"affectedLocations": 1,
|
|
"consecutiveRuns": 3
|
|
}
|
|
}
|
|
},
|
|
"automaticallyAssignedApps": [],
|
|
"enabled": true,
|
|
"frequencyMin": 1,
|
|
"locations": [
|
|
"{{.location}}"
|
|
],
|
|
"managementZones": [
|
|
{
|
|
"id": "{{.mzId}}",
|
|
"name": "{{.mzName}}"
|
|
}
|
|
],
|
|
"manuallyAssignedApps": [],
|
|
"name": "{{.name}}",
|
|
"requests": [
|
|
{
|
|
"entityId": "HTTP_CHECK_STEP-0BA53EC80CD7EE5A",
|
|
"name": "{{.name}}",
|
|
"sequenceNumber": 1
|
|
}
|
|
],
|
|
"script": {
|
|
"requests": [
|
|
{
|
|
"configuration": {
|
|
"acceptAnyCertificate": true,
|
|
"followRedirects": true,
|
|
"requestHeaders": [
|
|
{
|
|
"name": "accept",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "api_key",
|
|
"value": "355DE89C-7B72-4EA3-BDD8-157C79EB2C23"
|
|
}
|
|
]
|
|
},
|
|
"description": "{{.name}}",
|
|
"method": "GET",
|
|
"url": "{{.endpoint}}",
|
|
"validation": {
|
|
"rules": [
|
|
{
|
|
"passIfFound": true,
|
|
"type": "httpStatusesList",
|
|
"value": "200"
|
|
}
|
|
],
|
|
"rulesChaining": "or"
|
|
}
|
|
}
|
|
],
|
|
"version": "1.0"
|
|
},
|
|
"tags": [],
|
|
"type": "HTTP"
|
|
} |