Commit graph

51478 commits

Author SHA1 Message Date
Alejandro Fernández Haro
f5229950bb
Ignore jest.config.js in coverage (#128537) 2022-03-25 21:08:14 +01:00
Cauê Marcondes
3dc0e5810d
[APM] Service overview only shows top 5 transaction groups (#128287)
* fix transaction table

* fixing i18n

* PR comments

* fixing types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-25 11:42:02 -07:00
Brian Seeders
2c4c2ac664 skip failing suite (#128564) 2022-03-25 14:23:32 -04:00
Patrick Mueller
32ac1a5355
[responseOps] add snoozing MVP in alerting framework (#127694)
resolves https://github.com/elastic/kibana/issues/126512

Changes the calculation of rule-level muting to take into account
snoozeEndTime.

If muteAll is true, the rule is considered snoozing forever, regardless
of the setting of snoozeEndTime.

If muteAll is false, snoozeEndTime determines whether the rule is
snoozed.  If snoozeEndTime is null, the rule is not snoozed.  Otherwise,
snoozeEndTime is a Date, and if it's >= than Date.now(), the rule
is snoozed.  Otherwise, the rule is not snoozed.
2022-03-25 11:30:59 -04:00
Gerard Soldevila
a645545178
Rewrite plugin_status logic limiting usage of Observables (reducing heap size) (#128324)
* WIP

* Fix behavior when no plugins are defined

* Remove unused import, reduce debounce times

* Fix startup behavior

* Misc improvements following PR comments

* Fix plugin_status UTs

* Code cleanup + enhancements

* Remove fixed FIXME
2022-03-25 15:28:55 +01:00
Jorge Sanz
52315e3ec9
[Maps] Update to EMS 8.2 (#128525)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-25 10:01:14 +01:00
Maja Grubic
9fc4d009b0
[SharedUX] Migrate PageTemplate > SolutionNavAvatar (#128386)
* [SharedUX] Migrate PageTemplate > SolutionNavAvatar

* Fix comment

* Renaming component

* Fix folder structure

* Fix storybook

* Style fix

* Design review

- Better usage example in storybook
- Added missing `color=“plain”`
- Added iconType={`logo${rest.name}`} to attempt to create the logo

* Fix invalid URL path

* Fix url path

* Fix url path

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2022-03-25 07:11:30 +01:00
Madison Caldwell
1837a7fd39
[Security Solution] Ensure alerts are scheduled when rule times out (#128276)
* Schedule notifications when rule times out

* Test notifications on rule timeout (revert this)

* Revert "Test notifications on rule timeout (revert this)"

This reverts commit 0c49fc49b1.

* Remove comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 20:56:23 -04:00
Rashmi Kulkarni
48324db862
fix ally maps test (#128416)
* added a retry loop

* fixed the test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 17:54:40 -07:00
Dima Arnautov
b7fbd9ded2
[ML] Anomaly Charts API endpoint (#128165) 2022-03-24 16:33:07 -07:00
Jack
5858a66f09
[Security solution] [Session view ] Update details panel fields, ecs fields and polish (#128333)
* Update details panel fields, ecs fields and polish

* Fix detail panel proces fields orders

* Update process leader tooltip message

* Fix PR comments

* Remove details panel accordion extra actions to jump to leaders for now

* Fix CI issues

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 16:24:15 -07:00
Kevin Qualters
1daa7ee9b9
Add absolute minimum session and entry leader ids to alert mapping (#128530) 2022-03-24 18:35:20 -04:00
Georgii Gorbachev
0498f69a03
[Security Solution][Detections] Removes the Tour for the new features on the Rule Management page introduced in 8.1 (#128398)
**Ticket:** https://github.com/elastic/kibana/issues/125504

## Summary

This PR removes the Tour UI from components of the Rule Management page. We don't need to show `8.1` features in the `8.2.0` version. The Tour was previously introduced in https://github.com/elastic/kibana/pull/124343.

## Details

- The tour steps are removed from the components (`<EuiTourStep>`).
- The tour provider is removed from the page. It has been changed a little bit.
- I thought it could be useful to leave the implementation for now, in case we want to show new tours in the next versions. If we don't use it during the next few dev cycles given we will be shipping new features on the Rule Management page, we will need to completely remove it from the codebase.
- A short README is added with some notes on the Tour UI.
2022-03-24 22:56:56 +01:00
Jack
2fddafae48
[Security solution] [Session view] Session view alerts bug fix (#128533)
* Fix bug on detail panel jump to alert process without events

* Fix alerts flyout callback does not trigger status update if same alert status was updated consecutively
2022-03-24 17:54:47 -04:00
liza-mae
1054570cce
Update reporting timeout (#128536) 2022-03-24 15:41:35 -06:00
Ying Mao
04691d759c
[Alerting] Add telemetry for query/search durations during rule execution (#128299)
* Updating types with new telemetry fields

* Updating functional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 16:53:23 -04:00
Scotty Bollinger
2b4d72189f
[App Search] Elasticsearch indexed engines UI affordance updates (#128508)
* Add isElasticsearchEngine selector and type

* Add badge to elasticsearch engines

* Hide Index documents button for elasticsearch engines

* Hide delete buttons from documents that are part of meta or elasticsearch engines

* Hide crawler nav item from elasticsearch engines

* Add callout to documents page for elasticsearch engines

* Add empty state for an elasticsearch index

* Make schema read-only for elasticsearch engines

* Hide PrecisionSlider for elasticsearch engines

* Add conditional relevance tuning description

* Fix failing test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 15:46:20 -05:00
Lucas F. da Costa
c9af8f0b53
[Synthetics Service] Add warnings for when service nodes bandwidth is exceeded (#127961)
* [Synthetics Service] Add warnings for when service nodes bandwidth is exceeded

* add runsOnService flag and reuse default throttling

* add throttling on response even for cached locations
2022-03-24 20:03:56 +00:00
Kerry Gallagher
d84af4016f
[Logs] Add log rate to Exploratory View (#125109)
* Add log rate to exploratory view

* Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
2022-03-24 19:42:29 +00:00
Alison Goryachev
18046a3f28
[Searchprofiler] Enable opening queries from any UI (#127461) 2022-03-24 15:08:35 -04:00
Ying Mao
f77a18902b
[Event Log] Add consumer, rule_type_id and space_id to event log documents (#127804)
* Updating README

* Adding consumer to event log schema

* Adding consumer to event log alerting provider docs

* Fixing checks

* Adding kibana.alert.rule.rule_type_id to event log schema

* Adding kibana.alert.rule.rule_type_id to alerting event log docs

* Adding explicit space id to alerting event log docs

* Passing consumer and rule type id to action event log docs

* Refactor

* Fixing tests

* Updating functional tests

* Storing consumer in rule task params and using that in task runner

* Fixing functional test

* Fixing functional test

* Fixing functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 14:53:44 -04:00
Joe Portner
b12697d65d
Fix unhandled alias search errors (#128289) 2022-03-24 11:52:21 -07:00
Rachel Shen
83117a4ae6
Deprecate QuickButtonGroup for IconButtonGroup in shared ux (#128288) 2022-03-24 11:28:11 -07:00
Melissa Alvarez
d7a3335ed7
[ML] Data Frame Analytics: add analytics ID to url when using selector flyout (#128222)
* fix model selection for exploration page

* add selected analyticsId to url

* linting fix

* ensure selected id can be deselected

* fix linting error
2022-03-24 12:25:58 -06:00
Shahzad
fd1c76691f
[Monitor management] Enable check for public beta (#128240)
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2022-03-24 18:50:56 +01:00
Marta Bondyra
0079b3672b
[Lens] drag and drop functionality for annotations (#128432)
* dnd

* add reorder

* reorder

* reorder for annotations

* sort times
2022-03-24 18:48:31 +01:00
renovate[bot]
fa90f5d5a8
Update dependency ms-chromium-edge-driver to ^0.5.1 (#128492)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 13:41:52 -04:00
mgiota
8d1b8c011e
[Actionable Observability] hide rules from sidebar and move under alerts (#128437)
* hide rules from sidebar and move under alerts

* update tests

* remove commented code

* update order

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 17:14:19 +00:00
Patryk Kopyciński
5a3faca81e
[Osquery] Add support for osquery pack integration assets (#128109) 2022-03-24 18:00:55 +01:00
David Sánchez
8ada3b359e
[Security solution][Endpoint] Fix blocklist entries are allowed to be assigned per policy on basic license (#128472)
* Hide assignment section on blocklsit form when no licensing and isGlobal. Also check for valid form when changing policy

* Fix commented code

* Don't reset filter when closing flyout

* Fix policy selectio was cleaned when switching from by policy to global and went back to by policy
2022-03-24 18:00:28 +01:00
Zacqary Adam Xeper
d102213d1d
[RAM] Add Snooze UI and Unsnooze API (#128214)
* Add Snooze UI and Unsnooze API

* Add unsnooze writeoperation

* Add unsnooze API tests

* Add UI tests

* Add tooltip and enable canceling snooze when clicking Enabled

* Fix rulesClient mock

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 12:59:46 -04:00
Ari Aviran
51e0845146
[Cloud Posture] Support pagination in benchmarks page (#128486) 2022-03-24 09:54:48 -07:00
Rachel Shen
74a00fad20
Deprecate kibana_react RedirectAppLinks in favor of shared_ux RedirectAppLinks (#128178) 2022-03-24 09:52:37 -07:00
Jan Monschke
46f5c034c8
[SecuritySolution] Finishing touches on the alert prevalence (#128295)
* copy: sentence-case alert prevalence

* copy: render empty value placeholder in case of an error

* feat: add source event id to highlighted fields

* copy: re-add the empty space for spacing

* chore: use defaultToEmptyTag in favor of getEmptyValue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 17:33:37 +01:00
Joe Reuter
028992def3
[Lens] Log data tables properly (#128297)
* log data tables properly

* update tests

* fix heatmap

* fix annotations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 09:30:45 -07:00
Efe Gürkan YALAMAN
5e847ac074
[App Search] Filter Elasticsearch index based engines from meta engine creation (#128503)
* Filter elasticsearch index based engines for the meta engine creation

* Add tests for the filtering cases

Co-authored-by: Aurélien FOUCRET <aurelien.foucret@elastic.co>
2022-03-24 17:29:00 +01:00
Chris Roberson
f981d53b6f
[ResponseOps] Integrate rule and action monitoring data to the monitoring collection plugin (#123416)
* Add new plugint to collect additional kibana monitoring metrics

* Readme

* Update generated document

* WIP

* Remove task manager and add support for max number

* Use MAX_SAFE_INTEGER

* We won't use this route

* Tests and lint

* Track actions

* Use dynamic route style

* Fix test

* Add in mapping verification

* Adapt to new changes in base PR

* Fix types

* Feedback from PR

* PR feedback

* We do not need this

* PR feedback

* Match options to api/stats

* Remove internal collection support

* Fix api change

* Fix small issues

* Separate cluster and node metrics

* Add more tests

* Add retryAt in the test too

* Add logging and use a class

* fix types

* Fix tests

* PR feedback

* Add types

* Fix types

* Linting fixes

* Remove unnecessary changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 12:23:12 -04:00
Joe Reuter
e451d39b42
fix annotation bounds bug (#128242) 2022-03-24 17:19:36 +01:00
Jack
e95b06440f
Separate alerts from events in Process (#128434)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 12:13:05 -04:00
Lisa Cawley
5fb5b1cdd7
[DOCS] Delete cases and comments APIs (#128329) 2022-03-24 08:47:04 -07:00
John Dorlus
b887d3812a
Fixed API Key Tests (#127236)
* Added code to remove existing API keys before and after all tests.

* Fixed delete function.

* Fixing nits in PR.

* Fixed test.

* Removed await keywords per nits and broke out clearAllApiKeys() to a helper file.

* Added types for typescript

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 11:45:31 -04:00
Pete Hampton
658a2ed893
Include influencers in ml signal. (#128490) 2022-03-24 15:34:18 +00:00
Brian Seeders
d940231edc
[CI] Try using spot instances for the hourly pipeline again (#128431) 2022-03-24 11:09:26 -04:00
Pete Hampton
76321bceeb
Update sec telemetry filterlist for diag alerts. (#128355) 2022-03-24 15:03:46 +00:00
CohenIdo
27ab534631
[Cloud Posture] Support csp rule asset type (#127741)
Co-authored-by: Uri Weisman uri.weisman@elastic.co
2022-03-24 16:31:08 +02:00
Ester Martí Vilaseca
2e861694ef
[Unified observability] Guided setup progress (#128382)
* wip - add observability status progress bar

* added option to dismiss guided setup

* Remove extra panel

* open flyout on view details button click

* add some tests for status progress

* fix type

* Add telemetry

* Not show titles when there are no boxes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 15:28:52 +01:00
Ignacio Rivas
00f58ad29e
[IM] Remove axios dependency in tests (#128171) 2022-03-24 15:22:00 +01:00
Xavier Mouligneau
a743498436
[RAM] Add aggs to know how many rules are snoozed (#128212)
* add aggs to know how many of snoozed rule exist

* simplify + update o11y

* fix tests

* fix jest

* bring back test
2022-03-24 09:59:05 -04:00
Miriam
f462be78a3
[APM] Make size required for ES search requests (#127970)
* [APM] Make size required for ES search requests

* fix tests

* remove size field in unpack_processor_events.ts
2022-03-24 13:53:59 +00:00
Ying Mao
a3e3ce81fe
[Alerting] Add UI indicators for rules with less than configured minimum schedule interval (#128254)
* Adding warning icon next to rule interval

* Adding rule type id and and id to warning

* Changing to info icon. Showing toast on rule details view

* Adding unit tests

* Adding functional tests

* Fixing unit tests

* Fixing functional test

* PR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 09:53:13 -04:00