Commit graph

46416 commits

Author SHA1 Message Date
Angela Chuang 210fb50d0b
[SecuritySolution] add global filter to topN (#112401)
* add global filter to topN

* sort lines

* add unit test

* fix duplicate queries

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-22 10:53:37 +01:00
Marta Bondyra 0cbdf3f259
[Lens] Thresholds added (#108342)
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
Co-authored-by: dej611 <dej611@gmail.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-22 11:14:40 +02:00
Stratoula Kalafateli 9b410ce544
Fixes bug with nested terms, one with other bucket and the other disabled (#112636) 2021-09-22 11:21:53 +03:00
Paul Tavares ac010acea8
Policy Details Store refactor into multiple modules (#112697)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-22 10:20:25 +02:00
Marco Liberati 914f2b7429
🔧 Make Timelion server send error details to client (#112663) 2021-09-22 10:14:43 +02:00
Diana Derevyankina abdb7a4c49
[TSVB] Disables the input string mode (#110571)
* [TSVB] Remove the input string mode

* Fix some tests

* Add some functional tests and fix failing CI

* Update telemetry mappings

* Rename useStringIndices to allowStringIndices, move it from TSVB to Data constants and refactor test

* Apply text suggestions from code review

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Apply formatting and remove unused translations

* Fix labels

* Remove unused import

* Move popover toggling  to checkIndexPatternSelectionModeSwitchIsEnabled function to prevent flakiness

* Update some visual_builder_page functions

* Remove accidentally added newlines

* Move TSVB ui settings to constants, remove tooltip and update popover text

* Handle the case of editing advanced settings is restricted

* Add requiresPageReload to UI setting and condition for the case the setting is already enabled

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-09-22 11:13:53 +03:00
Shahzad da1ae4923a
[User Experience App] Improve empty state loading (#112531)
* improve empty state loading

* only show loading in content panel

* eslint fix
2021-09-22 09:28:10 +02:00
Brian Seeders e9e08d0928
[CI] Balance ci groups (#110711) 2021-09-22 00:36:25 -04:00
Byron Hulcher 8531e21655
Prevent ResultSettingsLogic.actions.saveResultSettings from throwing a new exception after catching API error (#112742) 2021-09-21 18:26:09 -04:00
Thomas Neirynck e268e21f7b
[Maps] Remove regionmap test references (#112734) 2021-09-21 18:18:11 -04:00
Brian Seeders e67a25c8b8
[CI] [Buildkite] Only report test failures for hourly/daily pipelines (#112729) 2021-09-21 17:26:36 -04:00
Tyler Smalley 7d8d89f50d skip flaky suite (#112732) 2021-09-21 14:21:08 -07:00
Pete Hampton feae8e7815
Add allowlist filter for Exception list data (#112668)
* Add allowlist filter to exception list telemetry.

* Refactor away union type.

* Bump interval back to 24h.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 14:45:13 -06:00
Christiane (Tina) Heiligers 8cf0efe2f1
Changes edit view to json read-only view (#112034)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 16:10:53 -04:00
Jean-Louis Leysens 25bf795099
[Reporting/Discover/Search Sessions] Only use relative time filter when generating share data (#112588)
* only use relative time filter when generating share data

* Added comment on absolute time filter.

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>

* improve discover search session relative time range test

* update discover tests and types for passing in data plugin to getSharingData function

* updated reporting to pass in data plugin to getSharingData, also updates jest tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-09-21 12:42:32 -07:00
Tyler Smalley ce6ed0875a skip flaky suite (#111922)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-21 12:24:39 -07:00
Pierre Gayvallet 65ec86da66
handle source index without any mappings (#112664) 2021-09-21 20:19:34 +02:00
Nicolas Chaulet 659b295391
[Fleet] Allow to preconfigure alternative ES outputs (on the same cluster) (#111002) 2021-09-21 13:52:21 -04:00
Devon Thomson 5408a3e301
[Dashboard] Retain Viewmode State in Session (#112302)
* Made dashboard retain viewmode state in session. This means filters and query will be kept over reloads and navigations
2021-09-21 11:45:56 -06:00
Devon Thomson 126b87bd55
[Dashboard] [Visualize] Add Search to Legacy Redirect (#112365)
added search to legacy redirect URL
2021-09-21 11:39:23 -06:00
ymao1 9574b4b86b
Add indicator to rule details page if broken connector (#112017)
* Add indicator to rule details page if broken connector

* Adding unit test

* Updating disabled state and adding warning callout

* Adding back the tooltip

* eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 12:48:05 -04:00
Tyler Smalley c76082e006 Fix eslint error
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-21 09:44:56 -07:00
Mat Schaffer d37ad90e53
[Stack Monitoring][Angular removal] No-data page (#110432)
* Basic no-data page

* Rename to NoDataPage

* Add getData property to pass into EuiSuperDatePicker from pages

* Wire getData and redirect for no data page

* Draft port of isLoading & model updating

* Add todo on handling checkers

* Switch to model as state object

* Add checkers

* Porting enabler

* Fix build checks

* Attempting to smooth out enablement

* Clean up CI errors

* Fix breadcrumbs

* Fix linter warning

* Fix checkers dependency (I hope)

* Hook up catchReason

* Add a stub for react setup mode

* Clean warnings

* Fix toggleSetupMode by calling initSetupModeState first

* Translating checker strings

* typo on "xpack"

* Move isCollection/reason check in NoData

This replicates how the angular app did selective re-rendering of the react component, but while still being able to render the component.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 12:31:02 -04:00
James Rodewig fd0f42386f
Update index settings link for Snapshot and Restore (#112597)
Updates the docs help link for index settings  in the Snapshot and Restore feature.

Currently, the link points to https://www.elastic.co/guide/en/elasticsearch/reference/7.14/snapshots-restore-snapshot.html#change-index-settings-during-restore, which primarily documents related restore snapshot API parameters.

With elastic/elasticsearch#76929, this section was removed. The new link covers all available index settings, which is a bit more relevant.
2021-09-21 12:03:23 -04:00
Lisa Cawley 04e5a15464
[DOCS] Add machine learning sync API (#112033) 2021-09-21 08:33:48 -07:00
Brian Seeders 14b2157990
[CI] Disable tracked branch jobs in Jenkins, enable reporting in Buildkite (#112604) 2021-09-21 11:31:15 -04:00
Brian Seeders 924ad66450
[CI] Bump agent size for jest integration tests in Buildkite (#112672) 2021-09-21 08:30:20 -07:00
Paul Tavares 2e56351096
[Security solution][endpoint] Fix Endpoint List KQL bar not updating the list when the filter is removed (#112595)
* Fix search bar `onQuerySubmit` to drop prior `admin_query` param when pushing a new route change
* enhance current test case to ensure existing data is also changed when its blank
2021-09-21 11:24:25 -04:00
Paul Tavares 9bd61a21fe
[Security Solution][Endpoint] Policy Details store/routing common changes for Trusted Apps by Policy feature (#112567)
The changes were picked from the current draft PR #112239 so that they can be shared with other changes taking place in parallel:

- Routing methods for parsing/retrieving url params for policy details page
- store selectors/reducers in support of url location management for policy details
2021-09-21 10:58:24 -04:00
Matthew Kime 119c742185
Data views - saved object client use resolve instead of get (#108637)
* so client - use resolve instead of get

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 09:41:47 -05:00
Clint Andrew Hall b1d6779d43
[fleet] Introduce Storybook to Fleet (#112611)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 08:23:13 -05:00
Shahzad 322c5e26f0
[Uptime] Update no data available state (#112403)
* wip

* update component

* update paths

* fix i18n

* fix tests

* revert uneeded
2021-09-21 13:15:05 +02:00
Clint Andrew Hall b2bc5a592d
[storybook] Fix Shared UI Dep paths (#112631) 2021-09-21 04:10:00 -07:00
Ahmad Bamieh 1ecb42db2a
[i18n] fix type (#112642) 2021-09-21 07:05:55 -04:00
renovate[bot] dd56ac3bcd
Update dependency @types/node-forge to ^0.10.5 (master) (#112625)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 07:05:01 -04:00
Stratoula Kalafateli 60500c20af
Move timeseries to vis_types folder (#112228)
* Move timeseries to vis_types folder

* Fix jest

* Fix types

* Fix more types

* Fix types

* fix jest tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 13:45:49 +03:00
Pierre Gayvallet bb4f1360a8
remove last usages of plugin async lifecycles (#112111)
* remove last usages of plugin async lifecycles

* fix contract type

* fix types. again.

* remove unused import
2021-09-21 10:34:57 +02:00
Pierre Gayvallet 221ee74c6b
[SOM] Add visibleInManagement option to management metadata (#112073)
* implement SavedObjectsTypeManagementDefinition.visibleInManagement

* update generated doc

* improve FTR tests

* fix FTR test
2021-09-21 10:30:30 +02:00
Jean-Louis Leysens 0af821aaf9
[kibana_react] Clean up any in public non-test files (#111261)
* first pass at any cleanup

* fix types on TableListView

* change generic constraint

* fix lint

* fix TS in no data card

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 10:16:29 +02:00
Tim Sullivan 6980064e5e
[Reporting] Address Canvas PDF test failing in Cloud (#112623) 2021-09-20 20:35:59 -07:00
Tre 2c4abee2ac
[Archive Migration] xpack..reporting-api-integ/reporting-security (#112432)
* [Archive Migration] xpack..reporting-api-integ/reporting-security

Found another spot where the es archive
for discover is still in use.

Use the kbn archive instead.

* Switch to unload, per cr.

* unload logstash

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-20 17:55:06 -05:00
Tyler Smalley e07b0e593e Revert "[Cases] Migrate user actions connector ID (#108272)"
This reverts commit 10ac814d8f.
2021-09-20 15:35:54 -07:00
Brian Seeders 817a0fba74
[CI] [Buildkite] increase xpack cigroup timeout and add snapshot verify timeouts (#112610) 2021-09-20 16:29:00 -04:00
Chris Roberson 49977b2e4b
[Alerting] Track fields usage in find api (#112096)
* Track fields usage

* Add test

* Add missing change
2021-09-20 16:28:35 -04:00
Tyler Smalley 6c73b2ad2f
[CI] Increase heap for Jest Integration (#112594)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-20 12:54:00 -07:00
Jonathan Buttner 10ac814d8f
[Cases] Migrate user actions connector ID (#108272)
* Making progress

* Fleshing out the extraction logic

* Finishing migration logic and starting more tests

* Finishing migration unit tests

* Making progress on services

* Finishing transform to es schema

* Finishing transform functionality and unit tests

* reverting migration data updates

* Cleaning up type errors

* fixing test error

* Working migration tests

* Refactoring retrieval of connector fields

* Refactoring connector id in and tests in frontend

* Fixing tests and finished refactoring parse string

* Fixing integration test

* Fixing integration tests

* Removing some duplicate code and updating test name

* Fixing create connector user action bug

* Addressing feedback and logging error

* Moving parsing function to common

* Fixing type errors

* Fixing type errors

* Addressing feedback

* Fixing lint errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-20 15:29:52 -04:00
Matthias Wilhelm 6f2815a764
[Discover] Improve saved query management functional service (#112055) 2021-09-20 20:13:09 +02:00
Chris Roberson 90ec827147
[Alerting] Add telemetry for HTTP API calls with legacy terminology (#112173)
* Deprecated attributes telemetry

* Add additional term and improve test quality

* PR feedback
2021-09-20 13:59:27 -04:00
Byron Hulcher b34c54e934
[App Search] Automated Curations: Split Curations view into "Overview" and "Settings" tabs (#112488) 2021-09-20 13:21:33 -04:00
Kyle Pollich d3b44c41cd
[Fleet] Support automatic upgrades of Package Policies when updating Integrations (#108269)
* Add initial upgrade policy modal

* Fix modal bolding

* Fetch dry run data on settings page

* Fix request for agent count data

* Add conflict CallOut to modal + call upgrade endpoint on submit

* Add conflict detection for type mismatched variables

* Clean up upgrade logic + attempt to fix modal closing bug

* Hoist state for policy upgrade piece of modal logic

* Fix update icon flex style

* Add unused test package fixture

* Fix 0.3.0 test fixture

* Reset test 0.3.0 test fixture to master

* Remove unused suppressToasts param

* Address low hanging PR feedback

* First pass at refactoring InstallationButton component per PR review

* Finalize refactor of InstallationButton component

* Fix lint errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-20 13:19:18 -04:00