-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into task/EMT-164-UI-d…
…etails-policy-status
- Loading branch information
Showing
305 changed files
with
6,153 additions
and
3,076 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
...ana-plugin-core-server.savedobjectserrorhelpers.createesautocreateindexerror.md
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
.../kibana-plugin-core-server.savedobjectserrorhelpers.isesautocreateindexerror.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
[role="xpack"] | ||
[[pre-configured-action-types]] | ||
|
||
== Preconfigured action types | ||
|
||
A preconfigure an action type has all the information it needs prior to startup. | ||
A preconfigured action type offers the following capabilities: | ||
|
||
- Requires no setup. Configuration and credentials needed to execute an | ||
action are predefined. | ||
- Has only <<pre-configured-connectors, preconfigured connectors>>. | ||
- Connectors of the preconfigured action type cannot be edited or deleted. | ||
|
||
[float] | ||
[[preconfigured-action-type-example]] | ||
=== Creating a preconfigured action | ||
|
||
In the `kibana.yml` file: | ||
|
||
. Exclude the action type from `xpack.actions.enabledActionTypes`. | ||
. Add all its connectors. | ||
|
||
The following example shows a valid configuration of preconfigured action type with one out-of-the box connector. | ||
|
||
```js | ||
xpack.actions.enabledActionTypes: ['.slack', '.email', '.index'] <1> | ||
xpack.actions.preconfigured: <2> | ||
- id: 'my-server-log' | ||
actionTypeId: .server-log | ||
name: 'Server log #xyz' | ||
``` | ||
|
||
<1> `enabledActionTypes` should exclude preconfigured action type to prevent creating and deleting connectors. | ||
<2> `preconfigured` is the setting for defining the list of available connectors for the preconfigured action type. | ||
|
||
[float] | ||
[[pre-configured-action-type-alert-form]] | ||
=== Attaching a preconfigured action to an alert | ||
|
||
To attach an action to an alert, | ||
select from a list of available action types, and | ||
then select the *Server log* type. This action type was configured previously. | ||
|
||
[role="screenshot"] | ||
image::images/pre-configured-action-type-alert-form.png[Create alert with selected Server log action type] | ||
|
||
[float] | ||
[[managing-pre-configured-action-types]] | ||
=== Managing preconfigured actions | ||
|
||
Connectors with preconfigured actions appear in the connector list, regardless of which space the user is in. | ||
They are tagged as “preconfigured” and cannot be deleted. | ||
|
||
[role="screenshot"] | ||
image::images/pre-configured-action-type-managing.png[Connectors managing tab with pre-cofigured] | ||
|
||
Clicking *Create connector* shows the list of available action types. | ||
Preconfigured action types are not included because you can't create a connector with a preconfigured action type. | ||
|
||
[role="screenshot"] | ||
image::images/pre-configured-action-type-select-type.png[Pre-configured connector create menu] |
Oops, something went wrong.