Commit graph

290 commits

Author SHA1 Message Date
Kaarina Tungseth
4290e35d8f
[DOCS] Adds the 8.6.0 release notes (#145768)
## Summary

Adds the release notes for the 8.6.0 release.

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-12-15 14:37:36 -06:00
Sergi Massaneda
6bba30f94c
[Security Solution] Tines connector (#143505)
## Summary

Issue: https://github.com/elastic/kibana/issues/140066
Doc:
https://docs.google.com/document/d/14BY-6CIin1CUH5bwJJgfrGl37hWO-CeNMdl_35agpvk/edit?usp=sharing

Create a new connector type that offers low friction/low effort approach
to augmenting Elastic capabilities with SOAR capabilities of Tines.

## Implementation

Tines connector implements subActionConnector. With 4 subActions
configured:

- **stories**: Retrieves the User available Story objects from Tines, to
render the Story selector options in the params form. It uses the
`email` and `token` authentication headers from the configuration.
It is requested only when the form opens and when the connector instance
changes.

- **webhooks**: Retrieves the Story available Webhooks objects from
Tines, to render the Webhook selector in the params form. It uses the
`email` and `token` authentication headers from the configuration and
the `story_id` parameter.
There is no filter for `type` in the actions (a.k.a. agents) endpoint,
so we have to request all actions and filter them by `type ===
'Agents::WebhookAgent'` on our side.
It is requested every time the selected story changes.

- **run**: The main action execution. It sends the alerts to the Tines
configured webhook, using webhook' `path` and `secret` values. There's
no template to render, the data coming from the execution is just pruned
(the `kibana` entry is removed from all `context.alerts`) and sent
directly using the same format to Tines.

- **test**: The test form execution. It ends up calling **run** but
using a parametrized body.

### Pagination
Both **stories** and **webhooks** subActions need pagination, since
Tines do not expose any search endpoint for them. The current hard limit
is 100 pages. The `paginatedRequest` function in the connector
implementation encapsulates this logic.

## Testing

1- Create a [Tines](https://www.tines.com/) free account.

2- Create a [new
Story](https://www.tines.com/docs/quickstart/simple-story) and attach a
[Webhook
Action](https://www.tines.com/docs/quickstart/creating-an-action) to
start receiving events.

3- Create an [API token](https://www.tines.com/api/authentication)

4- Configure the Tines Connector in Kibana using the Tines tenant URL
that has been generated in the Tines app, the email used to sign in, and
the API token generated.
[docs](https://github.com/semd/kibana/blob/140066_tines_connector/docs/management/connectors/action-types/tines.asciidoc#connector-configuration)

5- Attach the Tines Connector to a Detection Rule, selecting the Story
and Webhooks created.
[docs](https://github.com/semd/kibana/blob/140066_tines_connector/docs/management/connectors/action-types/tines.asciidoc#actions)

6- After each rule execution, events should appear in the Tines webhook
action.

## Screenshots

Configure a Tines connector


![tines_connector_selection](https://user-images.githubusercontent.com/17747913/196389019-820aff49-6ad6-442e-a69f-3c782cbd65e6.png)


![tines_connector_config](https://user-images.githubusercontent.com/17747913/198035138-e7f3bb25-ebd1-4cfd-9cc5-b0bfe434c25c.png)

Use the Tines connector 


![tines_rule_action](https://user-images.githubusercontent.com/17747913/196389010-c87045a4-2b74-4903-9a81-ccbcff09fbf1.png)


![tine_params_form](https://user-images.githubusercontent.com/17747913/198034501-7e9ad912-111e-48b6-8387-fcf6f0663511.png)

Tines events


![tines_events](https://user-images.githubusercontent.com/17747913/196734338-91e1a397-2d03-4ee6-8ad2-16cb39abe9bf.png)

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios(https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
2022-11-14 13:04:47 +01:00
Kyle Pollich
4eeeb0db8f
[Fleet] Add docs for package verification GPG key (#144707)
* Add docs for package verification GPG key

* Update fleet-settings.asciidoc

* Update docs/settings/fleet-settings.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2022-11-07 14:25:05 -05:00
Jonathan Buttner
ae9dd59137
[ResponseOps][Stack Connectors] Opsgenie UI phase 2 (#143480)
* Starting opsgenie backend

* Adding more integration tests

* Updating readme

* Starting ui

* Adding hash and alias

* Fixing tests

* Switch to platinum for now

* Adding server side translations

* Fixing merge issues

* Fixing file location error

* Working ui

* Default alias is working

* Almost working validation fails sometimes

* Adding end to end tests

* Adding more tests

* Adding note and description fields

* Removing todo

* Adding in advanced sections

* Adding tags and finish mode

* Working editor and toggle

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Refactoring code

* Adding tests

* Fixing tests and reordering input fields

* Using io-ts for schema validation in ui

* Adding more e2e tests and clean up

* Fixing type errors

* Adding spacing and label

* Adding more tests and fixing come failure message errors

* Making json editor errors more readable

* Fixing errors and adding docs

* Updating enabled action types

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Addressing feedback

* Adding new image with lowercase tags

* Addressing feedback

* Making executionMode optional

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>
2022-11-07 11:22:43 -05:00
Tim Sullivan
53d07a2283
Puppeteer v18.1 (#143485)
* use build options for smaller build

* update to puppeteer@18.1.0

* increase timeouts

- reporting.queue.timeout: 4m
- screenshotting.timeouts.openUrl: 1m
- screenshotting.timeouts.waitForElements: 1m
- screenshotting.timeouts.renderComplete: 2m

* update docs and refs for timeouts

* add arm64 info

* fix binaryChecksum for linux_x64

* restore comment?

* Build script changes from #143022
2022-10-19 13:52:33 -07:00
DeDe Morton
c9bb23ad8d
[DOCS] Clarify why Fleet settings might be grayed out in UI (#143146)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-18 11:18:25 -07:00
Anton Dosov
a6b1c7a242
[Search Sessions] Optimize search session so updates (#142850) 2022-10-11 14:42:47 -04:00
Anton Dosov
5f3d439b50
Search Sessions Stabilization Stage I (#134983)
Changes search service/search session infrastructure to improve performance, stability, and resiliency by ensuring that search sessions don’t add additional load on a cluster when the feature is not used
2022-10-05 11:52:52 +02:00
Katerina Patticha
806dfabb0a
[APM] Move service metric config to kibana advanced settings (#141147)
* [APM] Move service metric config  to kibana advanced settings

* Add apmEnableServiceMetrics usage collector
2022-09-21 11:12:52 +02:00
Katerina Patticha
b93dc5f8c2
[APM] [experimental] Service metrics on inventory page (#140868)
* Service metrics on inventory page

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Create seperate query for service aggregegated transaction stats

* Fix typo and eslint errors

* Fix failed transaction rate function

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Use service metrics for details stats

* Fix throughput calculation

* Fix types

* Update snapshot

* Clean up code

* Create a helper to get aggregated metrics

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Add test for configuration

* Rename getAggregatedMetrics to getServiceInventorySearchSource

* query on metricset.name

* Address PR feedback

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Sort servcice metrics bucker by `value_count`

* fix broken path

* fix types

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-20 17:17:33 +02:00
Tim Sullivan
cbbb90ebc9
[Screenshotting] Remove loadDelay handling (#139972)
* [Screenshotting] Remove loadDelay handling

* polish diff

* code improvement

* remove default for loadDelay

* fix snapshot
2022-09-09 11:29:09 -07:00
Kurt
c6fb0bc7f2
Adding Global Access Agreement (#139217)
* Adding Global Access Agreement

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Adding docs

* PR Review changes

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* PR Review changes

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Fixing global access agreement redirect logic

* Fixing unit test

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Changing verbiage

* Changing local -> provider specific

* Update x-pack/plugins/security/server/routes/views/access_agreement.ts

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* PR Feedback

* removing `only`

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Changing the accessAgreement to be optional

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Adding docker config

* Update docs/user/security/access-agreement.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/access-agreement.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Adding PR Review feedback

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-09-06 11:54:57 -04:00
gchaps
66917c913d
[DOCS] Updates note about security settings (#139591)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-29 10:22:07 -07:00
Ying Mao
db72db9e7c
[Response Ops] [Alerting] Adds circuit breaker that limits the max number of alerts that can be reported each rule run. (#138446)
* Adding config for max alerts. Throw error in alert factory when max alerts are reported. Process alerts differently when alert limit is reached

* Fixing types. Adding new config to docker and docs

* Setting flag to indicate limit reached. Update rule status to warning if limit reached

* Fixing task runner test

* Cleanup

* Fixing task runner test

* Actually using result of hasReachedAlertLimit

* Fixing types

* Copying over scheduled actions for active alerts. Only execute actions if they exist

* Setting lower limit in functional test config

* Adding functional test

* Update x-pack/plugins/alerting/server/constants/translations.ts

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* PR feedback

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-16 07:36:38 -07:00
Patrick Mueller
9631649e72
Adds new proxy tests and manual proxy tester (#138071)
The new proxy tests added can test a variety of different proxy
and target server configurations, however many of those tests
are broken with our current proxy agents.  Hopefully to be fixed
by replacing with hpagent instead.  In the meantime, we wanted to
get the basic test framework in as well.

In addition to tests, the stand-alone forward proxy has been
enhanced to use a better proxy server, `proxy`.  The existing
proxy server `http-proxy` does not support HTTPS out of the box,
and so any HTTPS testing with it is going to be a little sketchy.

Using the stand-alone forward proxy, I was able to post to Slack
through http/https proxies with and without auth, with
proxyRequestUnauthorized set to false.  Which shows the existing
proxy agents do work in _some_ environments.
2022-08-16 10:00:46 -04:00
Katerina Patticha
60372df6bc
[DOCS] Update APM settings (#135149)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-11 17:42:09 +09:30
Kuniyasu Sen
1791d71037
Remove cloud icon for xpack.reporting.queue.pollEnabled (#135771)
Remove cloud icon for xpack.reporting.queue.pollEnabled per https://github.com/elastic/kibana/issues/126024#issuecomment-1155697765
2022-07-06 16:26:52 -07:00
Miriam
97670ad036
Add config field to kibana docs (#135728) 2022-07-05 16:17:28 +01:00
Alejandro Fernández Haro
2410b879a3
[Telemetry] Make telemetry plugin non-disableable (#133205)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-27 16:21:37 +02:00
Christiane (Tina) Heiligers
6f0fa0e1e6
Document rolling file appender numeric strategy max. (#134171) 2022-06-13 13:01:14 -04:00
Milton Hultgren
ee7d9b0f33
[Stack Monitoring] Add stale status reporting for Kibana (#132613)
* [Stack Monitoring] Add stale status reporting for Kibana (#126386)

* Fix stale message grammar and update stale indicator to use EuiBadge

* Fix i18n ids

* Remove unused i18n key

* Fix Jest tests

* Update exposeToBrowser test

* Update API integration tests

* Fix functional tests

* Fix API integration tests

* Update snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-08 11:31:17 +02:00
Brandon Morelli
f120dfb77d
docs: APM spaces (#132071)
* docs: APM spaces

* docs: use filtered aliases instead

* docs: a brief note on namespaces

* docs: alphabetize the list

* Update docs/apm/apm-spaces.asciidoc

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
2022-06-02 15:06:00 -04:00
Jeramy Soucy
7d8aae5f8a
Deprecate Anonymous Authentication Credentials (#131636)
* Adds deprecation warnings for apiKey and elasticsearch_anonymous_user credentials of  anonymous authentication providers.
Adds telemetry for usage of anonymous authentication credential type.

* Update x-pack/plugins/security/server/config_deprecations.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/security/server/config_deprecations.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/security/server/config_deprecations.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Updated all docs to remove deprecated anon auth features, fixed doc link logic and typos.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-05-18 19:27:40 +02:00
Kaarina Tungseth
9b1828ac77
[DOCS] Reformats the DevelopAPM settings tables into definition lists (#130303)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-09 15:05:59 -05:00
Kaarina Tungseth
fb98f6e7f5
[DOCS] Reformats the Fleet settings tables into definition lists (#130301)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-09 14:43:12 -05:00
Ersin Erdal
37a27384a5
Add cloud icon "ess-icon" at the end of the config keys in "alerting" documentation (#131735) 2022-05-06 18:13:08 +02:00
Tim Sullivan
ec2062ae4e
[Reporting] Update docs to use screenshotting config properties (#127518)
* [Reporting] Update docs to use screenshotting config properties

* add the remaining capture settings moved from reporting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-04 15:24:56 -07:00
Lisa Cawley
1591bfba24
[DOCS] Replace execution terminology in Alerting (#131357) 2022-05-04 15:11:53 -07:00
Ying Mao
2dcbcb45d1
[Response Ops][Docs] Alerting circuit breaker docs (#131459)
* Circuit breaker docs

* Apply suggestions from code review

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-05-04 15:04:25 -04:00
Anton Dosov
9aeb1fb446
Update search session config docs (#131411) 2022-05-04 11:58:01 +02:00
Lisa Cawley
ce92e4cea2
[DOCS] Edits xpack.actions.email.domain_allowlist (#130993) 2022-04-28 08:02:42 -07:00
Colleen McGinnis
88bad4ed00
remove source config settings (#130931) 2022-04-27 09:41:51 -05:00
Patrick Mueller
6ad418b275
[ResponseOps][actions] add config for allow-listing email address domains (#129001)
resolves https://github.com/elastic/kibana/issues/126944

Adds a new configuration setting for the actions plugin,
xpack.actions.email.domain_allowlist, which is an array of domain name
strings which are allowed to be sent emails by the email connector.
2022-04-26 10:05:16 -04:00
Ersin Erdal
f44e198784
Add circuit breaker for max number of actions by connector type (#128319)
* connectorTypeOverrides key in kibana.yml can create a connector type specific action config.

* Update docs and docker allowed keys
2022-04-26 03:35:34 +02:00
Ersin Erdal
f962ff282f
Rename the term "execution" in config to "run" (#130172)
* Rename the term "execution" in config to "run"

* Rename the term "execution" in config to "run"

* Rename the overlooked terms

* [DOCS] Fix example indentation

* Update docs/user/alerting/troubleshooting/alerting-common-issues.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-18 12:44:50 -04:00
Sandra G
bc6a6e444f
[Stack Monitoring] add monitoring.ui.elasticsearch.serviceAccountToken to docs (#128488)
* monitoring.ui.elasticsearch.serviceAccountToken to docs

* update description

* update

* update to make clearer

* Update docs/settings/monitoring-settings.asciidoc

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update docs/settings/monitoring-settings.asciidoc

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-03-29 09:04:56 -04:00
Ersin Erdal
c9aad65b67
[Alerting] Remove defaultRuleTaskTimeout and set ruleType specific timeout from kibana.yml (#128294)
Read ruleTaskTimeout from kibana.yml
2022-03-28 08:36:30 +02:00
Patrick Mueller
b028cf97ed
[ResponseOps][task manager] log event loop delay for tasks when over configured limit (#126300)
resolves https://github.com/elastic/kibana/issues/124366

Adds new task manager configuration keys.

- `xpack.task_manager.event_loop_delay.monitor` - whether to monitor
  event loop delay or not; added in case this specific monitoring
  causes other issues and we'd want to disable it.  We don't know
  of any cases where we'd need this today

- `xpack.task_manager.event_loop_delay.warn_threshold` - the number
  of milliseconds of event loop delay before logging a warning

This code uses the `perf_hooks.monitorEventLoopDelay()` API[1] to collect
the event loop delay while a task is running.

[1] https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions

When a significant event loop delay is encountered, it's very likely
that other tasks running at the same time will be affected, and so
will also end up having a long event loop delay value, and warnings
will be logged on those.  Over time, though, tasks which have consistently
long event loop delays will outnumber those unfortunate peer tasks, and
be obvious from the volume in the logs.

To make it a bit easier to find these when viewing Kibana logs in Discover,
tags are added to the logged messages to make it easier to find them.  One
tag is `event-loop-blocked`, second is the task type, and the third is a string 
consisting of the task type and task id.
2022-03-23 10:28:43 -04:00
Ying Mao
0b1425b974
[Alerting] Warn by default when rule schedule interval is set below the minimum configured. (#127498)
* Changing structure of minimumScheduleInterval config

* Updating rules client logic to follow enforce flag

* Updating UI to use enforce value

* Updating config key in functional tests

* Fixes

* Fixes

* Updating help text

* Wording suggestsion from PR review

* Log warning instead of throwing an error if rule has default interval less than minimum

* Updating default interval to be minimum if minimum is greater than hardcoded default

* Fixing checks

* Fixing tests

* Fixing tests

* Fixing config

* Fixing checks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-21 18:55:30 -04:00
Ersin Erdal
45c4e7dac1
[Alerting] Limit the executable actions per Rule execution (#128079) 2022-03-18 21:19:26 +01:00
Brian Seeders
242c5fd63f
Revert "[Alerting] Limit the executable actions per Rule execution (#126902)"
This reverts commit 31099bc68f.
2022-03-18 10:20:18 -04:00
Ersin Erdal
31099bc68f
[Alerting] Limit the executable actions per Rule execution (#126902)
* [Alerting] Circuit breaker. Limit the executable actions per Rule execution.
2022-03-18 13:51:24 +01:00
Ahmad Bamieh
3cc429d2cb
[i18n] a few docs updates (#127964) 2022-03-17 18:18:49 +02:00
Josh Dover
e5c4bef033
[Fleet] Update preconfiguration is_managed typo (#127909) 2022-03-17 10:45:16 +01:00
msimpson-xm
5641dcc12c
[alerting]: adds a connector for xMatters (#122357)
* Begin work on building out the backend of an xMatters connector

* Begin work on building out the frontend of an xMatters connector

* Continue attempting to get connector to register properly

* Begin working on the UI for the Edit Connector Test page

* Start working on writing tests for backend component of the xMatters connector

* Remove unneeded test due to not having any fancy escaping

* Write tests for the frontend component of the xMatters connector

* Add documentation for new xMatters connector

* Begin working on functional tests

* Continue work on frontend for xMatters conenctor

* Continue work on backend for xMatters conenctor

* Continue work on the functional tests for the xMatters connector

* Update based on xMatters string reviews

* Remove hidden parameters from ui

* Continue working to get tests running successfully

* Fix my code after rebasing onto latest main

* Fix the xMatters server for the simluator

* Check if listening before listening to the xmatters server in simulator

* Continue work on improving the xMatters connector

* Update strings based on the xMatters team string review

* Remove the headers as an option for the xMatters connector

* Fix alignment of the xmatters logo on the connectors page

* Allow alertId and alertActionGroupName to be null in the xMatters connector for test requests

* Fix the functional tests for the xMatters connector

* Rename alertName to ruleName and remove headers from xMatters connector

* Continue removing headers and renaming alertName to ruleName

* Update the tests so all are passing

* Some clean up for the xMatters connector

* Update the doc images based on changes for the xMatters connector

* Change alert id to use rule id and alert id and be labeled as signal id in the xMatters connector

* Fix failing tests for xMatters connector

* Start addressing comments and failing builds

* Combine if statement

* Update test strings after updating error strings

* Begin making updates after discussions and reviews

* Update failing tests

* Few adjustments after my self review of the xMatters connector

* Fix one failing test

* Fix a few small bugs in the xMatters connector

* Address a few small bugs in the xMatters connector

* Address latest comments and fix a few tests on the xMatters connector

* Adjust naming of secretsUrl and configUrl

* Work on fixing tests for xMatters connector

* Begin updating the xMatters documentation

* Update based on build errors

* Update documentation typo

* Add validation tests for connectors created using the API

* Fix the failing functional tests

* Update docs after review from xMatters team

* Update accidentally duplicated translate id

* Fix small bugs and update based on xMatters team string reviews

* Fix failing tests due to string changes

* [DOCS] Fixes doc build errors

* Update based on comments and feedback

* Update docs based on feedback

* Fix failing functional tests

* Update based on the feedback

* Fix failures in the functional tests

* Remove accidentally added file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
2022-03-16 10:22:27 -04:00
Sandra G
c4ccc00227
[Stack Monitoring] add back monitoring.ui.metricbeat.index and deprecate (#127462)
* add back monitoring.ui.metricbeat.index and deprecate

* add back to test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-15 10:43:30 -04:00
Kaarina Tungseth
27b57357cc
[DOCS] Adds missing monitoring.cluster_alerts.email_notifications.enabled setting (#127323)
* [DOCS] Adds missing  setting

* Removes deprecation message for unsupported version
2022-03-09 15:03:02 -06:00
Kaarina Tungseth
0bc7a2ee35
[DOCS] Adds missing monitoring.cluster_alerts.email_notifications.email_address monitoring setting (#126826)
* [DOCS] Adds missing deprecated monitoring settings

* Review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-09 12:14:51 -06:00
gchaps
2fc7ad44a8
[DOCS] Add settings for Enterprise Search (#126711)
* [DOCS] Add settings for Enterprise Search

* Update docs/settings/enterprise-search-settings.asciidoc

Co-authored-by: Rich Kuzsma <62522248+richkuz@users.noreply.github.com>

Co-authored-by: Rich Kuzsma <62522248+richkuz@users.noreply.github.com>
2022-03-02 12:58:15 -08:00
Ying Mao
f51131c42c
[Alerting] Adding a configurable minimal rule interval for newly created rules (#125396)
* Removing minimumScheduleInterval on rule type registration

* Adding minimumScheduleInterval to config and enforcing in rule type registry

* Validating interval on create and update

* Fixing types and tests

* Fixing types and tests

* Fixing types and tests

* Passing config to client and using to validate on rule creation

* Fixing small bug and tests

* Fixing tests

* Fixing tests

* Fixing tests

* Updating interval in docs

* Updating interval in docs

* Updating UI copy

* Fixing types and tests

* Fixing i18n

* Fixing tests from bad merge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-28 17:48:08 -05:00