forked from StackStorm-Exchange/stackstorm-slack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.yaml
executable file
·79 lines (79 loc) · 2.43 KB
/
config.schema.yaml
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
---
post_message_action:
description: "Post message action specific settings."
type: "object"
required: false
additionalProperties: false
properties:
webhook_url:
type: "string"
description: "Webhook URL, e.g. https://hooks.slack.com/services/<replace me>"
required: true
secret: true
channel:
type: "string"
description: "Channel to send message to - e.g. #mychannel. If not specified, will use channel selected when configuring webook"
required: false
username:
type: "string"
description: "Default name of user under which messages will be posted"
required: true
icon_emoji:
type: "string"
description: "Default icon of user under which messages will be posted"
default: ":panda_face:"
required: false
sensor:
description: "Sensor specific settings."
type: "object"
required: false
additionalProperties: false
properties:
token:
type: "string"
description: "Authentication token used to authenticate against Real Time Messaging API."
default: ""
required: false
secret: true
strip_formatting:
type: "boolean"
description: "Slack automatically parses URLs, images, channels, and usernames by default. This option returns raw data. Default false"
default: false
required: false
action_token:
description: "Slack Action token."
type: "string"
required: false
secret: true
admin:
description: "Admin-action specific settings."
type: "object"
required: false
additionalProperties: false
properties:
admin_token:
type: "string"
description: "Admin-level token for adding new users"
default: ""
required: false
secret: true
organization:
type: "string"
description: "Name of organisation to add new user to"
required: true
set_active:
type: "boolean"
description: "Set new user as active? Default true"
default: true
required: false
attempts:
type: "integer"
description: "Number of attempts to make to add the new user"
default: 1
required: false
auto_join_channels:
type: "array"
description: "A list of channels to auto-join the new account to"
items:
type: "string"
required: false