You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Removing REST API from README. Updating configuration docs
* Updating action config docs
* Cleaning up action type configs in README and user docs
* Cleaning up action type configs in README and user docs
* Fixing formatting
* Apply suggestions from code review
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* PR fixes
* Update x-pack/plugins/actions/README.md
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/user/alerting/action-types/email.asciidoc
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,12 @@ NOTE: For emails to have a footer with a link back to {kib}, set the <<server-pu
13
13
Email connectors have the following configuration properties:
14
14
15
15
Name:: The name of the connector. The name is used to identify a connector in the management UI connector listing, or in the connector list when configuring an action.
16
-
Sender:: The from address for all emails sent with this connector, specified in `user@host-name` format.
16
+
Sender:: The from address for all emails sent with this connector. This can be specified in `user@host-name` format or as `"human name <user@host-name>"` format. See the https://nodemailer.com/message/addresses/[Nodemailer address documentation] for more information.
17
17
Host:: Host name of the service provider. If you are using the <<action-settings, `xpack.actions.allowedHosts`>> setting, make sure this hostname is added to the allowed hosts.
18
18
Port:: The port to connect to on the service provider.
19
19
Secure:: If true, the connection will use TLS when connecting to the service provider. Refer to the https://nodemailer.com/smtp/#tls-options[Nodemailer TLS documentation] for more information. If not true, the connection will initially connect over TCP, then attempt to switch to TLS via the SMTP STARTTLS command.
20
-
Username:: username for 'login' type authentication.
21
-
Password:: password for 'login' type authentication.
20
+
User:: Username for login type authentication.
21
+
Password:: Password for login type authentication.
22
22
23
23
[float]
24
24
[[Preconfigured-email-configuration]]
@@ -40,11 +40,14 @@ Password:: password for 'login' type authentication.
40
40
--
41
41
42
42
[[email-connector-config-properties]]
43
-
`config` defines the action type specific to the configuration and contains the following properties:
43
+
**`config`** defines the action type specific to the configuration and contains the following properties:
44
44
45
45
[cols="2*<"]
46
46
|===
47
47
48
+
| `service`
49
+
| The name of a https://nodemailer.com/smtp/well-known/[well-known email service provider]. If `service` is provided, `host`, `port`, and `secure` properties are ignored. For more information on the `gmail` service value, see the (https://nodemailer.com/usage/using-gmail/)[Nodemailer Gmail documentation].
50
+
48
51
| `from`
49
52
| An email address that corresponds to *Sender*.
50
53
@@ -57,18 +60,21 @@ Password:: password for 'login' type authentication.
57
60
| `secure`
58
61
| A boolean that corresponds to *Secure*.
59
62
63
+
| `hasAuth`
64
+
| If `true`, this connector will require values for `user` and `password` inside the secrets configuration. Defaults to `true`.
65
+
60
66
|===
61
67
62
-
`secrets` defines sensitive information for the action type:
68
+
**`secrets`** defines sensitive information for the action type and contains the following properties:
63
69
64
70
[cols="2*<"]
65
71
|===
66
72
67
73
| `user`
68
-
| A string that corresponds to *User*.
74
+
| A string that corresponds to *User*. Required if `hasAuth` is set to `true`.
69
75
70
76
| `password`
71
-
| A string that corresponds to *Password*. Should be stored in the <<creating-keystore, {kib} keystore>>.
77
+
| A string that corresponds to *Password*. Should be stored in the <<creating-keystore, {kib} keystore>>. Required if `hasAuth` is set to `true`.
Copy file name to clipboardExpand all lines: docs/user/alerting/action-types/servicenow.asciidoc
+29-8Lines changed: 29 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Password:: Password for HTTP Basic authentication.
32
32
--
33
33
34
34
[[servicenow-connector-config-properties]]
35
-
`config` defines the action type specific to the configuration and contains the following properties:
35
+
**`config`** defines the action type specific to the configuration and contains the following properties:
36
36
37
37
[cols="2*<"]
38
38
|===
@@ -42,7 +42,7 @@ Password:: Password for HTTP Basic authentication.
42
42
43
43
|===
44
44
45
-
`secrets` defines sensitive information for the action type:
45
+
**`secrets`** defines sensitive information for the action type and contains the following properties:
46
46
47
47
[cols="2*<"]
48
48
|===
@@ -60,12 +60,33 @@ Password:: Password for HTTP Basic authentication.
60
60
61
61
ServiceNow actions have the following configuration properties:
62
62
63
-
Urgency:: The extent to which the incident resolution can delay.
64
-
Severity:: The severity of the incident.
65
-
Impact:: The effect an incident has on business. Can be measured by the number of affected users or by how critical it is to the business in question.
66
-
Short description:: A short description for the incident, used for searching the contents of the knowledge base.
67
-
Description:: The details about the incident.
68
-
Additional comments:: Additional information for the client, such as how to troubleshoot the issue.
63
+
Subaction:: The subaction to perform: `pushToService`, `getFields`, `getIncident`, or `getChoices`.
64
+
Subaction params:: The parameters of the subaction.
65
+
66
+
==== `pushToService` subaction configuration
67
+
68
+
Incident:: The ServiceNow incident has the following properties:
69
+
* `short_description` - A short description for the incident, used for searching the contents of the knowledge base.
70
+
* `description` - The details about the incident.
71
+
* `externalId` - The ID of the incident in ServiceNow. If present, the incident is updated. Otherwise, a new incident is created.
72
+
* `severity` - The severity of the incident.
73
+
* `urgency` - The extent to which the incident resolution can delay.
74
+
* `impact` - The effect an incident has on business. Can be measured by the number of affected users or by how critical it is to the business in question.
75
+
* `category` - The name of the category in ServiceNow.
76
+
* `subcategory` - The name of the subcategory in ServiceNow.
77
+
Comments:: A comment in the form of `{ commentId: string, version: string, comment: string }`.
78
+
79
+
===== `getFields` subaction configuration
80
+
81
+
The `getFields` subaction has no parameters. Provide an empty object `{}`.
82
+
83
+
===== `getIncident` subaction configuration
84
+
85
+
External ID:: The ID of the incident in ServiceNow.
86
+
87
+
===== `getChoices` subaction configuration
88
+
89
+
Fields:: An array of fields. Example: `[priority, category, impact]`.
Copy file name to clipboardExpand all lines: docs/user/alerting/action-types/webhook.asciidoc
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,10 @@ Webhook connectors have the following configuration properties:
12
12
13
13
Name:: The name of the connector. The name is used to identify a connector in the management UI connector listing, or in the connector list when configuring an action.
14
14
URL:: The request URL. If you are using the <<action-settings, `xpack.actions.allowedHosts`>> setting, make sure the hostname is added to the allowed hosts.
15
-
Method:: HTTP request method, either `post`(default) or `put`.
15
+
Method:: HTTP request method, either `POST`(default) or `PUT`.
16
16
Headers:: A set of key-value pairs sent as headers with the request
17
-
User:: An optional username. If set, HTTP basic authentication is used. Currently only basic authentication is supported.
18
-
Password:: An optional password. If set, HTTP basic authentication is used. Currently only basic authentication is supported.
17
+
User:: Username for HTTP basic authentication.
18
+
Password:: Password for HTTP basic authentication.
19
19
20
20
[float]
21
21
[[Preconfigured-webhook-configuration]]
@@ -37,7 +37,7 @@ Password:: An optional password. If set, HTTP basic authentication is used. Cur
37
37
--
38
38
39
39
[[webhook-connector-config-properties]]
40
-
`config` defines the action type specific to the configuration and contains the following properties:
40
+
**`config`** defines the action type specific to the configuration and contains the following properties:
41
41
42
42
[cols="2*<"]
43
43
|===
@@ -51,18 +51,21 @@ Password:: An optional password. If set, HTTP basic authentication is used. Cur
51
51
|`headers`
52
52
|A record<string, string> that corresponds to *Headers*.
53
53
54
+
| `hasAuth`
55
+
| If `true`, this connector will require values for `user` and `password` inside the secrets configuration. Defaults to `true`.
56
+
54
57
|===
55
58
56
-
`secrets` defines sensitive information for the action type:
59
+
**`secrets`** defines sensitive information for the action type and contains the following properties:
57
60
58
61
[cols="2*<"]
59
62
|===
60
63
61
64
|`user`
62
-
|A string that corresponds to *User*.
65
+
|A string that corresponds to *User*. Required if `hasAuth` is set to `true`.
63
66
64
67
|`password`
65
-
|A string that corresponds to *Password*. Should be stored in the <<creating-keystore, {kib} keystore>>.
68
+
|A string that corresponds to *Password*. Should be stored in the <<creating-keystore, {kib} keystore>>. Required if `hasAuth` is set to `true`.
0 commit comments