File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ Source Configuration
3131To setup an Incoming Webhook, go to
3232<https://my.slack.com/services/new/incoming-webhook/>.
3333
34+ To get oauth_token, create a slack bot user, got to
35+ <https://api.slack.com/apps>.
36+
3437- `url` : *Required.* The webhook URL as provided by Slack. Usually
3538 in the form : ` https://hooks.slack.com/services/XXXX` .
3639
@@ -70,7 +73,7 @@ To setup an Incoming Webhook, go to
7073 Each entry specifies the x509 CA certificate for the trusted
7174 domain.
7275
73- Example :
76+ Example with webhook :
7477
7578` ` ` yaml
7679resources:
@@ -80,6 +83,16 @@ resources:
8083 url: https://hooks.slack.com/services/XXXX
8184` ` `
8285
86+ Example with oauth_token :
87+
88+ ` ` ` yaml
89+ resources:
90+ - name: slack-alert
91+ type: slack-notification
92+ source:
93+ token: xoxb-********-*******
94+ ` ` `
95+
8396Behavior
8497--------
8598
You can’t perform that action at this time.
0 commit comments