|
| 1 | +{ |
| 2 | + "name": "alerts", |
| 3 | + "displayName": "Alerts", |
| 4 | + "tags": ["Monitoring"], |
| 5 | + "description": "Active alerts and triggered conditions", |
| 6 | + "baseDataSourceName": "httpRequestUnscoped", |
| 7 | + "config": { |
| 8 | + "httpMethod": "get", |
| 9 | + "paging": { |
| 10 | + "mode": "none" |
| 11 | + }, |
| 12 | + "expandInnerObjects": true, |
| 13 | + "endpointPath": "/v2/alerts", |
| 14 | + "pathToData": "", |
| 15 | + "getArgs": [], |
| 16 | + "headers": [] |
| 17 | + }, |
| 18 | + "metadata": [ |
| 19 | + { |
| 20 | + "name": "conditionHealthStatus", |
| 21 | + "displayName": "Health Status", |
| 22 | + "shape": [ |
| 23 | + "state", |
| 24 | + { |
| 25 | + "map": { |
| 26 | + "error": ["UNHEALTHY"], |
| 27 | + "warning": ["NEEDS_ATTENTION"], |
| 28 | + "success": ["HEALTHY"], |
| 29 | + "unknown": ["UNKNOWN"] |
| 30 | + } |
| 31 | + } |
| 32 | + ] |
| 33 | + }, |
| 34 | + { |
| 35 | + "name": "uid", |
| 36 | + "displayName": "Alert ID", |
| 37 | + "shape": "string", |
| 38 | + "role": "id", |
| 39 | + "visible": false |
| 40 | + }, |
| 41 | + { |
| 42 | + "name": "sourceName", |
| 43 | + "displayName": "Alert Name", |
| 44 | + "shape": "string", |
| 45 | + "role": "label" |
| 46 | + }, |
| 47 | + { |
| 48 | + "name": "message", |
| 49 | + "displayName": "Message", |
| 50 | + "shape": "string" |
| 51 | + }, |
| 52 | + { |
| 53 | + "name": "subject", |
| 54 | + "displayName": "Subject", |
| 55 | + "shape": "string" |
| 56 | + }, |
| 57 | + { |
| 58 | + "name": "severity", |
| 59 | + "displayName": "Severity", |
| 60 | + "shape": "string" |
| 61 | + }, |
| 62 | + { |
| 63 | + "name": "sourceType", |
| 64 | + "displayName": "Source Type", |
| 65 | + "shape": "string" |
| 66 | + }, |
| 67 | + { |
| 68 | + "name": "createTime", |
| 69 | + "displayName": "Created At", |
| 70 | + "shape": [ |
| 71 | + "date", |
| 72 | + { |
| 73 | + "timeZone": "Etc/UTC" |
| 74 | + } |
| 75 | + ] |
| 76 | + }, |
| 77 | + { |
| 78 | + "name": "updateTime", |
| 79 | + "displayName": "Updated At", |
| 80 | + "shape": [ |
| 81 | + "date", |
| 82 | + { |
| 83 | + "timeZone": "Etc/UTC" |
| 84 | + } |
| 85 | + ] |
| 86 | + }, |
| 87 | + { |
| 88 | + "name": "device_id", |
| 89 | + "displayName": "Device ID", |
| 90 | + "shape": "string", |
| 91 | + "visible": false |
| 92 | + }, |
| 93 | + { |
| 94 | + "name": "device_displayName", |
| 95 | + "displayName": "Device", |
| 96 | + "shape": "string" |
| 97 | + }, |
| 98 | + { |
| 99 | + "name": "device_organizationId", |
| 100 | + "displayName": "Organization ID", |
| 101 | + "shape": "string", |
| 102 | + "visible": false |
| 103 | + }, |
| 104 | + { |
| 105 | + "name": "device_references_organization_name", |
| 106 | + "displayName": "Organization", |
| 107 | + "shape": "string" |
| 108 | + }, |
| 109 | + { |
| 110 | + "name": "device_locationId", |
| 111 | + "displayName": "Location ID", |
| 112 | + "shape": "string", |
| 113 | + "visible": false |
| 114 | + }, |
| 115 | + { |
| 116 | + "name": "device_references_location_name", |
| 117 | + "displayName": "Location", |
| 118 | + "shape": "string" |
| 119 | + }, |
| 120 | + { |
| 121 | + "name": "device_offline", |
| 122 | + "displayName": "Device Offline", |
| 123 | + "shape": "boolean" |
| 124 | + }, |
| 125 | + { |
| 126 | + "pattern": ".*" |
| 127 | + } |
| 128 | + ], |
| 129 | + "timeframes": false |
| 130 | +} |
0 commit comments