-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
103 lines (103 loc) · 2.76 KB
/
manifest.json
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"v2": {
"transposit": {
"dependencies": [{
"name": "transposit/slack:v2.*.*",
"alias": "slack",
"title": "Slack",
"description": "Authorize this connector if you want to use the Slack API."
}, {
"name": "transposit/aws_route53:v1.*.*",
"alias": "aws_route53"
}, {
"name": "transposit/uptime_robot:v1.*.*",
"alias": "uptime_robot"
}],
"operations": [{
"id": "list_hosted_zones",
"tql": {
"tql": "SELECT Name \nFROM aws_route53.list_hosted_zones\n "
}
}, {
"id": "get_monitors",
"tql": {
"tql": "SELECT monitors.monitor\nFROM uptime_robot.getMonitors\n"
}
}, {
"id": "unmonitored_hosts",
"function": {
"js": "unmonitored_hosts.js",
"lang": "js"
}
}, {
"id": "run_it",
"function": {
"js": "run_it.js",
"lang": "js"
}
}, {
"id": "post_chat_message",
"tql": {
"parameters": [{
"name": "text",
"description": "text to publish",
"type": "STRING",
"required": true
}, {
"name": "channel",
"description": "channel name to post warnings to",
"type": "STRING",
"required": true
}],
"tql": "SELECT * FROM slack.post_chat_message\n WHERE $body=(SELECT {\n 'channel' : @channel,\n 'text' : @text,\n })\n"
}
}],
"dataConnections": [{
"ref": "slack_identify.raw",
"overrides": {
"swagger": {
"oauthConfig": {
"scope": "identity.basic"
},
"executionLimits": {
}
}
},
"title": "Slack",
"description": "Used to identify you on Slack"
}, {
"ref": "slack_bot.raw",
"overrides": {
"swagger": {
"oauthConfig": {
"scope": "chat:write:bot"
},
"executionLimits": {
}
}
}
}, {
"ref": "slack.raw",
"overrides": {
"swagger": {
"oauthConfig": {
"scope": "chat:write:bot"
},
"executionLimits": {
}
}
}
}],
"javascriptAPIVersion": "3",
"source": "src",
"userSettingsDisplay": "GENERATED",
"appSettings": [{
"name": "monitoring_channel",
"description": "The slack channel to which you want warnings to be posted",
"type": "STRING"
}]
},
"description": "Checks to see that all Route53 hosted zones have a monitor in UptimeRobot",
"displayName": "Route53 Monitoring Check"
}
}