Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable alerting and actions plugin by default #51254

Merged
merged 7 commits into from
Nov 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions x-pack/legacy/plugins/actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ action types.

## Usage

1. Enable the actions plugin in the `kibana.yml` by setting `xpack.actions.enabled: true`.
2. Develop and register an action type (see action types -> example).
3. Create an action by using the RESTful API (see actions -> create action).
4. Use alerts to execute actions or execute manually (see firing actions).
1. Develop and register an action type (see action types -> example).
2. Create an action by using the RESTful API (see actions -> create action).
3. Use alerts to execute actions or execute manually (see firing actions).

## Kibana Actions Configuration
Implemented under the [Actions Config](./server/actions_config.ts).
Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function actions(kibana: any) {
config(Joi: Root) {
return Joi.object()
.keys({
enabled: Joi.boolean().default(false),
enabled: Joi.boolean().default(true),
whitelistedHosts: Joi.array()
.items(
Joi.string()
Expand Down
5 changes: 2 additions & 3 deletions x-pack/legacy/plugins/alerting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ A Kibana alert detects a condition and executes one or more actions when that co

## Usage

1. Enable the alerting plugin in the `kibana.yml` by setting `xpack.alerting.enabled: true`.
2. Develop and register an alert type (see alert types -> example).
3. Create an alert using the RESTful API (see alerts -> create).
1. Develop and register an alert type (see alert types -> example).
2. Create an alert using the RESTful API (see alerts -> create).

## Limitations

Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/alerting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function alerting(kibana: any) {
config(Joi: Root) {
return Joi.object()
.keys({
enabled: Joi.boolean().default(false),
enabled: Joi.boolean().default(true),
})
.default();
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ export default function({ getService }: FtrProviderContext) {
'maps',
'uptime',
'siem',
'alerting',
'actions',
].sort()
);
});
Expand Down
2 changes: 2 additions & 0 deletions x-pack/test/api_integration/apis/security/privileges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export default function({ getService }: FtrProviderContext) {
uptime: ['all', 'read'],
apm: ['all', 'read'],
siem: ['all', 'read'],
actions: ['all', 'read'],
alerting: ['all', 'read'],
},
global: ['all', 'read'],
space: ['all', 'read'],
Expand Down