Commit graph

14510 commits

Author SHA1 Message Date
Quynh Nguyen d91b12a4e9
Revert "[ML] Set ignore_throttled (#117208)" (#117671)
This reverts commit 2f24d14e
2021-11-05 12:38:23 -05:00
Michael Olorunnisola 1fb971b355
[Security Solution][Investigations] - Change context menu text and add test (#117673) 2021-11-05 13:28:28 -04:00
Pablo Machado 6c2f9a4dfc
Add CreateFieldButton component to browser fields (#117627)
Add user permission check to CreateFieldButton

Refetch data after creating field

Add global styles to make Overlay z-index higher than timeline z-index

Fix create runtime field loading state

Update alert table columns after adding a new runtime field

Updated documentation of 'overlays.openFlyout' public API

Add cypress test

Add CreateField button unit test
2021-11-05 18:25:17 +01:00
Nathan Reese 5a1ac5c440
[Maps] do not fail migration when JSON.parse fails (#117342)
* [Maps] do not fail migration when JSON.parse fails

* review feedback, log warning on failed migration

* better test name

* eslint

* eslint xpack/plugins/maps

* more eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 11:23:11 -06:00
Dima Arnautov e10ac3c56e
[ML] Fixes for the Model Management table (#117293)
* [ML] allocated models as a table

* [ML] handle fetching stats for stopped model

* [ML] change date formatter, enable check for start and stop action, change icon

* [ML] hide stats tab when not stats are available

* [ML] update state on action

* [ML] update memory breakdown message

* [ML] fix type

* [ML] fix functional test

* [ML] render nodes as links

* [ML] fix locator types

* [ML] support node name in the URL state

* [ML] update icon

* [ML] routing state with reason tooltip

* [ML] move experimental tag

* [ML] add state column, fix import

* [ML] update stats on aciton

* [ML] refresh by timer

* [ML] rename fetchStats callback

* [ML] replace with promise.all

* [ML] add deployment state const
2021-11-05 17:08:39 +00:00
Kyle Pollich b7076e82e0
Consider all errors non-fatal during dry runs (#117594)
Since we've enabled auto upgrades for some packages in 7.16, we need to
revert a previous change that only considered policy validation errors
non-fatal. Any error encountered during the dry-run/upgrade process
should be considered non-fatal so that users can still access the Fleet
UI if setup fails.

Fixes #116985
2021-11-05 17:05:42 +00:00
Quynh Nguyen 55d40a2788
[ML] Add multilayer time axis style to Data visualizer doc count chart (#117398)
* [ML] Add multilayer timea axis style to data viz doc count chart

* [ML] Fix doc count chart missing timezone
2021-11-05 12:02:27 -05:00
Gloria Hornero 4844ea8305
improves URL fix (#117641)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 17:55:29 +01:00
Spencer 62be2737bc
[x-pack/test/apm_api_integration] make registry a service (#116365)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-11-05 16:22:55 +00:00
Ashokaditya f40df9d201
[Security Solution][Endpoint] Use fleet const instead of hardcoded paths (#117146)
fixes elastic/security-team/issues/1958

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 16:31:44 +01:00
Christos Nasikas 28142609cc
[Cases] Fix cases navigation after attaching an alert to a case. (#117633) 2021-11-05 15:03:55 +00:00
Orhan Toy 92762fa62f
[App Search] ILM is always enabled from 8.0 (#117291) 2021-11-05 14:40:43 +00:00
Christos Nasikas 5ce12b2a84
[Connectors][ServiceNow] Remove SN flags (#117511) 2021-11-05 12:44:45 +02:00
Ersin Erdal d84e006637
[RAC] Disable the actions button if the user has inadequate privileges (#117488)
Disable the actions button if the user has inadequate privileges
2021-11-05 10:18:21 +01:00
David Sánchez a2296c5e2a
Fix warning when setting description to undefined (#117338)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 09:33:56 +01:00
Jonathan Budzenski 2603f9d0b3 fix types 2021-11-04 16:53:59 -05:00
ymao1 eb99e5e6fe
[Alerting] UX fixes for execution duration chart (#117193)
* UX fixes for duration chart

* UX fixes for duration chart

* UX fixes for duration chart

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:52:49 -04:00
Nathan L Smith 0d9f9fd90a
Flaky test fixes (#117028) 2021-11-04 16:00:54 -05:00
Steph Milovic fb6fe9bd72
[Security Solution] [Sourcerer] [Feature Branch] Update to use Kibana Data Views (#114806) 2021-11-04 14:51:32 -06:00
Pete Harverson 46e91f3d12
[ML] Hide anomaly entity filter button tooltips when clicked (#117493)
* [ML] Hide anomaly entity filter button tooltips when clicked

* [ML] Move logic into blurButtonOnClick helper function
2021-11-04 18:49:21 +00:00
Dominique Clarke 3ec0dd7983
adjust the synthetics journey type (#117316) 2021-11-04 14:27:17 -04:00
Claudio Procida debdfd2fd6
Refines hasAnyData check for alerts (#117499)
* Refines hasAnyData check for alerts

* Fixes type refinements

* Applies review feedback

* Naming is hard
2021-11-04 19:27:09 +01:00
Thomas Neirynck 8ae4275671
[Fleet] Default to APM tutorial (#117421) 2021-11-04 14:24:41 -04:00
Zacqary Adam Xeper 8420094de3
[Logs UI][Metrics UI] Remove deprecated config fields from APIs and SavedObjects (#116821)
* [Logs UI][Metrics UI] Remove deprecated config fields from APIs

* Fix typecheck

* Fix typecheck

* Fix typecheck

* Fix jest

* Fix functional test

* Remove extraneous timeField args

* Typecheck fix

* Consolidate log file changes to ResolvedLogSourceConfiguration

* Fix merge

* Revert additional logs files

* Revert inventory models

* Revert log_analysis api

* Fix timefield reference in process list

* Restore logs page files, fix typecheck on mock

* Fix functional test

* Restore inventory models index

* Fix typecheck on getFilteredMetrics

* Look CI if you don't tell me all the type errors at once I can't fix them all

* Maybe this is the last typecheck fix who knows

* Restore reading timestamp field from data view

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:57:18 +00:00
Mark Hopkin 9bc2f221ae
[Fleet] Fix agent logs not reading query from URL (#117286)
* Don't use hash for agent logs url state

* revert core app services change
2021-11-04 17:00:37 +00:00
Zacqary Adam Xeper e4982fe4b7
[Metrics UI] Add docs link to redundant groupBy detection (#116822)
* [Metrics UI] Fix OR logic on redundant groupBy detection

* Switch regex change to doc change

* Fix core docs links

* Update x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.tsx

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-11-04 16:54:12 +00:00
Xavier Mouligneau b0110d8bff
[SECURITY] Flaky api keys grid (#116991)
* fix flaky test + adding functional test

* review + remove more jest flaky test

* fix type

* fix review/confusion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 12:49:38 -04:00
Christos Nasikas d38fb03820
[Cases] Align cases lint rules with security solution (#117177)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:51:02 +02:00
Søren Louv-Jansen 18b2395236
[APM] Improve service inventory performance (#116258)
* [APM] Improve service inventory perf

* Remove optimization for transaction groups api

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 16:36:53 +01:00
Andrew Tate 37571a441f
fix alignment (#117378)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 09:52:05 -05:00
Dmitry Tomashevich c7866c360b
[Discover] Move truncate-by-height into Discover (#114320)
* [Discover] move source field formatter to discover

* [Discover] cleanup source field from field formatters

* [Discover] return source field format

* [Discover] move truncate by height to discover settings category, apply css via emotion

* [Discover] improve code readability, fix i18n

* [Discover] fix remaining i18n

* [Discover] fix unit tests

* [Discover] return truncate-by-height setting to general

* [Discover] return i18n naming

* [Discover] apply suggestions

* [Discover] fix i18n

* Update src/plugins/discover/server/ui_settings.ts

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* [Discover] fix embeddable and discover grid truncation styles

* [Discover] fix tests

* [Discover] get rid of emotion

* [Discover] apply suggestions

* [Discover] inject emotion styles properly

* [Discover] remove console.log

* [Discover] revert react router changes

* [Discover] fix truncate max height reset

* [Discover] simplify

* [Discover] return injection to the right place

* [Discover] remove unused import

* [Discover] apply suggestions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
2021-11-04 17:29:22 +03:00
Dominique Clarke 3a096788d2
increase timeout for long running test (#117375)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 10:22:47 -04:00
Carlos Delgado 3638a50990
Enterprise Search - Fix event structure name change (#117502) 2021-11-04 15:18:23 +01:00
Søren Louv-Jansen 2e35260012
[APM] E2E script improvements (#116972) 2021-11-04 14:05:54 +00:00
James Gowdy faba43576d
[File data visualizer] Disabling create data view based on capabilities (#117347)
* [File data visualizer] Disabling create data view based on capabilities

* removing data view management card based on permissions

* fixing reset button and index data viz link
2021-11-04 13:53:43 +00:00
Steph Milovic 5eeb5b8dbe
[Security Solution] Fix ip.replace error on Network/HTTP Tab (#116288) 2021-11-04 07:30:50 -06:00
Ashokaditya d422da5919
[Security Solution][Endpoint] Use a feature flag to use the new pending actions logic (#117219)
* use a feature flag to use the new pending actions logic

refs elastic/kibana/issues/116715

* switch off pending actions for endpoints when feature flag is disabled

review suggestions

* update/add tests to use FF

* correctly override the FF

`parseExperimentalConfigValue` method sets feature flag key values to `true` if passed as arg

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 12:08:46 +00:00
Michael Olorunnisola a0530e1592
[Security Solution][Investigations] - Default enable copy icon tooltip (#117412) 2021-11-04 06:46:02 -04:00
Michael Olorunnisola 3b63d2f93b
[Security Solution][Investigations] Fix filter out of empty values (#117422) 2021-11-04 06:45:48 -04:00
Michael Olorunnisola dc5ac17d8c
[Security Solution][Investigations] - Update timeline host and ip fields to be clickable (#117403) 2021-11-04 06:45:17 -04:00
Mark Hopkin 0f4acebc32
add critical level to all fleet deprecations (#117332) 2021-11-04 09:56:54 +00:00
Yara Tercero 2f88776eac
[Security Solution][Platform] - Update rule exported counts to include total object count (#116338)
### Summary

Addresses #116330.
2021-11-04 03:00:13 +00:00
Cauê Marcondes 062d0fc0fc
[APM] Re-enable metric-based ui (#117021) 2021-11-03 21:43:03 -04:00
Spencer 4385ac4d83
[eslint] enable type-specific lint rules (#114184)
* [eslint] enable type-specific lint rules

* autofix violations

* duplicate eslint-disable to new export statement

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 16:56:17 -06:00
Esteban Beltran c6db4986ed
[Security Solution] Improves host isolation exceptions test reliability (#117327) 2021-11-03 21:44:11 +00:00
Tim Sullivan ea7ff2932d
[Reporting] clean up config tests (#117411) 2021-11-03 21:10:46 +00:00
Ashokaditya 038e77680d
Show correct completed response message on activity log (#117407) 2021-11-03 21:01:10 +00:00
Quynh Nguyen 2f24d14e74
[ML] Set ignore_throttled (#117208) 2021-11-03 15:38:07 -05:00
Yara Tercero c2d7f3355d
[RAC][Timeline] - Add audit log to RBAC wrapped search strategy (#112040)
### Summary

Went back to add audit logging to the alerts table search strategy used to query RAC alerts. This PR also includes tests for the logging.
2021-11-03 20:34:01 +00:00
Madison Caldwell bd97d1f001
[Security Solution][RAC][Cases] Fix RAC "add to case" functionality from alerts table (#116768)
* Fix add to case functionality

* Use appropriate owner when attaching an alert to a case

* Use field name constants

* Gotta reskip the test

* Better error handling

* Fix type errors

* Fix tests
2021-11-03 20:33:41 +00:00