Commit graph

44875 commits

Author SHA1 Message Date
Jonathan Budzenski ea7ce5cad8 skipy flaky test. #112749 2021-09-30 12:24:58 -05:00
Stacey Gammon 2fd5d20ec4
Clean up task manager public setup contract to improve readability and API docs (#113415) (#113543)
* Improve API docs for task manager

* Update docs
2021-09-30 13:13:54 -04:00
Kibana Machine 9e1c88443f
Bump prismjs from 1.24.0 to 1.25.0 (#113388) (#113540)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-09-30 12:45:07 -04:00
Kibana Machine 285bdebd18
[APM] Remove dot from legend on the error marker (#113437) (#113539)
* Remove dot from legend on the error marker

* Change indicator type to NodeElement

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Miriam <31922082+MiriamAparicio@users.noreply.github.com>
2021-09-30 16:32:59 +00:00
Chris Roberson 161b6d08f7
[Actions] Better enqueue test (#112434) (#113534)
* Try and add logging here

* Fix linting

* Only this test

* Better logging

* More debugging

* More debug

* Try something different

* Better way to do the test

* Get this PR ready

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 11:22:40 -04:00
Kibana Machine 6250c39143
[Security Solution] Add host isolation exceptions UI (#111253) (#113529)
Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
2021-09-30 10:16:23 -04:00
Kibana Machine 79673b6c78
🐛 Fix label on horizontal chart for axis (#113452) (#113523)
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-09-30 09:07:33 -04:00
Tiago Costa 99c800fa95
skip flaky suite (#113496) 2021-09-30 13:18:36 +01:00
Pierre Gayvallet 218efbe546
Improve logging deprecations (#113362)
* add title and i18n for logging deprecations

* Split logging.events.request and logging.events.response deprecations

* factorize

* fix unit tests

* fix label
2021-09-30 13:59:28 +02:00
Kibana Machine 1438f4dbe7
[Exploratory View] Add to case button (#112463) (#113515)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-09-30 07:57:08 -04:00
Alexey Antonov 7b4f882a30
Revert [Vega] Fix: Scrollbars are appearing in default Vega configurations (#113110) (#113513)
* Revert [Vega] Fix: Scrollbars are appearing in default Vega configurations

Revert: #97210

* update screens

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 07:46:38 -04:00
Sébastien Loix 04c90e8fab
[7.x] [Mappings editor] Remove boost parameter from field types (#113142) (#113512)
* [Mappings editor] Remove boost parameter from field types (#113142)

# Conflicts:
#	x-pack/plugins/index_management/__jest__/client_integration/helpers/constants.ts
#	x-pack/plugins/index_management/public/application/lib/indices.ts
#	x-pack/plugins/index_management/public/application/store/selectors/indices_filter.test.ts

* Change MAJOR_VERSION to 7.16.0
2021-09-30 07:45:59 -04:00
Kibana Machine e8c257a8e7
[Security Solution][Detections] Fixes 'Detection Rule "reference url" links don't work if they are created with missing "http://' (#112452) (#113509)
* updates url validation to don't accept urls without http or https prefix

* fixes typo

* fixes linter issue

* refactors to follow recommendations

* Update x-pack/plugins/security_solution/public/common/utils/validators/index.test.ts

Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>

Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>
2021-09-30 07:11:11 -04:00
Jean-Louis Leysens 1bab449d21
[Reporting] Add deprecation titles (#113387) (#113510)
* added i18n and titles to config deprecations

* Updated jest test

* Add newline at end of file

* remove unneeded space
2021-09-30 07:00:41 -04:00
Stratoula Kalafateli 5b1497e881
[7.x] Cleanup of the kibanaLegacy unused functions and remove unecessary dependencies from Analytics plugins (#113358) (#113503)
* Cleanup of the kibanaLegacy unused functions and remove unecessary dependencies from Analytics plugins (#113358)

* [Discover][Table] Remove unused dependencies of the kibanaLegacy plugin

* More removals of kibanaLegacy plugin dependencies

* Revert discover changes

* Remove the unused functions from the kibana_legacy plugin

* Removes unused translations
# Conflicts:
#	src/plugins/kibana_legacy/public/plugin.ts

* Revert usage that cant be removed in 7.x
2021-09-30 06:10:52 -04:00
Kibana Machine 6ea7506d36
[Security Solution][Endpoint] Ability to assign existing trusted applications to the policy flyout (#112239) (#113478)
- Adds policy assignment flyout to the Policy Details Trusted Apps sub-tab

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
2021-09-30 06:10:09 -04:00
Dario Gieselaar b94f81946a
[7.x] [APM] Use oldest exit span instead of newest (#113133) (#113501) 2021-09-30 11:59:33 +02:00
Kibana Machine bcb5ee2113
[TSVB] Gather stats for the usage of the aggregate function in table viz (#113247) (#113499)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-09-30 04:42:31 -04:00
Kibana Machine 890c797d99
[Stack Monitoring] Beats instance view pagination (#113284) (#113498)
* Beats instance view pagination

* Fix beats listing sorting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-09-30 03:33:59 -04:00
Pierre Gayvallet 0533be18d2
Remove plugins.scanDirs value from default config (#113366) 2021-09-30 07:54:54 +02:00
Kibana Machine 2f4662bcf1
[Fleet] Register Sample Data (#113200) (#113488)
Co-authored-by: Thomas Neirynck <thomas@elastic.co>
2021-09-29 20:46:17 -04:00
spalger 2411c46b64 skip failing suite (#113486)
(cherry picked from commit 9c00debcd5)
2021-09-30 00:26:22 +00:00
Kibana Machine 6ef73bfe02
[Stack Monitoring] Migrate indices view to React (#113338) (#113485)
* [Stack Monitoring] Migrate indices view to React

* Fix lint

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-09-29 20:10:54 -04:00
Kibana Machine 4d6c7297a5
[Alerting] Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions (#112888) (#113480)
* Adding delay

* Splitting tests

* Fixing tests

* Reverting change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-09-29 19:23:43 -04:00
Kibana Machine f2b2f8429e
[Metrics UI] Add separate setting for Alert If Group Disappears for metric threshold rules (#113032) (#113479)
* [Metrics UI] Add separate setting for Alert If Group Disappears for metric threshold rules

* Fix type

* Update wording

* Clarify conditionals, remove stray console.log

* Add additional comments

* Fix comments

* Improve test specificity

* Improve default param handling and clarify ungrouped conditional

* Rename isNotUngrouped to hasGroups

* Fix tests

* Fix error state on 0 hits

* Fix type

* Improve test clarity

* Simplify conditions and rewrite comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-09-29 19:11:11 -04:00
Kibana Machine a1adc9c8bc
[RAC][Observability]: test cases for alerts pagination functional tests (#112617) (#113474)
* [RAC][Observability]: test cases for alerts pagination functional tests

* page size selector tests

* create OPEN_ALERTS_ROWS_COUNT in workdlow status tests

* add tests to check if page selector is rendered or not

* reorganize tests to visible and non visible pagination controls

* default rows per page test

* page size selector tests

* more page selector tests

* write tests for pagination controls

* move pagination tests to a new file

* remove unused variables

* reorganize observability alerts service

* undo configuration change

* fix workflow status tests after refactoring

* clean up

* pr review comments

* change variable name

* rewording pagination tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: mgiota <giota85@gmail.com>
2021-09-29 18:47:52 -04:00
Kibana Machine 56c38134f3
[App Search] Wired up the suggestions table to logic (#113322) (#113473)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-09-29 17:53:59 -04:00
Kibana Machine 5f774b5ca0
[Fix] Replace Osquery query parser lib (#113425) (#113467)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-09-29 16:34:45 -04:00
Kibana Machine 8151dfe8df
[fleet] Add two Agent Detail page stories to Storybook (#113066) (#113456)
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-09-29 15:39:16 -04:00
Kibana Machine c5b924e57f
Fix bulkResolve for aliasMatch outcomes (#113188) (#113454)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-09-29 19:26:45 +00:00
Kibana Machine 6e53088bf7
[Lens] Thresholds: moving a threshold to another group should carry also its styling (#112853) (#113451)
* 🐛 When dragging a threshold to another group carry also its styling

*  Add functional test

*  Make duplicate carry style too

*  Add functional test for duplicate use case

* 🐛 Fix table duplication issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-09-29 15:24:31 -04:00
Kibana Machine 3737733448
[ML] Convert APM transaction anomaly detection job to analyze metric data (#111957) (#113450)
* [ML] Convert APM transaction anomaly detection job to analyze metric data

* [ML] Fix test and edit manifest query and defaultIndexPattern

* Remove queries for ml module, upgrade version

* Update ML anomaly searches

* Add metricset.name term query to datafeed

* Add metricset.name/processor.event queries to module setup

* [ML] Edit setup module API integration test to not start datafeed

* [ML] Edit aggregation names

* Edit home.spec E2E test URLs

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>

Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-09-29 15:20:23 -04:00
Kibana Machine 0a41af991b
Alert creation and freeform selection (#111883) (#113444)
Allow selecting any service name, transaction type (where appropriate), and environment when creating and editing rules, both in APM and Stack Management.

- Create /internal/apm/suggestions endpoint that uses `terms_enum`
- Use combo box for environment, service name, and transaction type with suggestions endpoint on all alerts
- Remove "Go to APM" callouts on new alert creation
- Wrap calls to `createCallApmApi` in alert triggers with `useEffect`
- Use `getEnvironmentLabel` for value in environment field expression
- Make all `AlertParams` fields optional (except in latency threshold alert)
- Add e2e tests for creating an alert
- Remove `NewAlertEmptyPrompt` component and `isNewApmRuleFromStackManagement` helper
- Replace `maxServiceEnvironments` and `maxServiceSelections` config options with `maxSuggestions` advanced setting.


![CleanShot 2021-09-28 at 10 35 58](https://user-images.githubusercontent.com/9912/135119948-e247615a-d235-4feb-b197-b803f165ad1e.gif)

Fixes #106786

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-09-29 14:47:04 -04:00
Kibana Machine d5fb5a690a
Bumping EUI to 38.0.1 (#112462) (#113435)
* Bumping EUI to 38.0.0

* Updating storyshots.test.tsx snapshot

* Removing unneeded ID mock and updating snapshot.

* Fixing panel titles by splitting visible labels.

* Updating one functional test for Discover > Data Grid

* Fixing one test on a Lens > Smokescreen accessible label

* Updating four tests to use visible labels only.

* Adding helper function to retrieve visual text only and fixing three tests.

* Dashboard > Panel Cloning all tests pass.

* Fixing accessible label test

* Fixing data_shared_attributes, two tests

* Updating tests for Discover > Data Grid

* Reverting tests ahead of EUI 38.0.1 backport
* Reverted the SR-only class behavior to use `left: -10000px;`
* Reverting tests to previous assertions

* Bumping configuration files to EUI 38.0.1
* package.json
* package-lock.json
* license-checker

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Trevor Pierce <1Copenut@users.noreply.github.com>
2021-09-29 13:56:04 -04:00
Kibana Machine 8aeb214e75
[Lens] Fix infinite loop when loading rejected data view (#113375) (#113431)
* [Lens] Fix infinite loop when loading rejected index pattern

* Update x-pack/plugins/lens/public/app_plugin/app.test.tsx

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-09-29 13:36:07 -04:00
spalger 66d90fda66 skip flaky suite (#113043)
(cherry picked from commit f79a96fe7f)
2021-09-29 17:15:54 +00:00
Kibana Machine 5ceae42fd0
fixes failing timeline test (#113394) (#113420)
Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2021-09-29 12:46:23 -04:00
Kibana Machine 759a5747e6
[Cases] Set breadcrumbs on update case title (#113266) (#113413)
* set title on breadcrumbs on update case title

* test case added

Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
2021-09-29 16:22:34 +00:00
Kibana Machine 79d4caafb7
[Security Solution] [Endpoint] Adds cleanup method in manifest manager (#111868) (#113416)
* Adds cleanup method in manifest manager

* Clean code and use right methods to get artifacts ids from manifest

* Hide logs when there is no orphan artifacts. Also use newManifest instead the oldOne

* Fix and adds more unit tests

* Adds pagination and fixed some ts

* Fix wrong comment

* Use pMap to make remove actions with concurrency

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
2021-09-29 12:20:47 -04:00
Jean-Louis Leysens 09778a374d
[7.x] [AppServices] Fix unhandled promise rejections in search tests (#112849) (#113264)
* [AppServices] Fix unhandled promise rejections in search tests (#112849)

* updated jest tests to avoid generating unhandled promise rejections

* rather use throwError

* remove unused imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/data/common/search/search_source/search_source.test.ts

* Fix lint issues
2021-09-29 12:13:17 -04:00
Kibana Machine df7ed2f083
[apm] Return 200 instead of 404 when agent configuration does not exist. (#113273) (#113410)
fixes #113272

Co-authored-by: Silvia Mitter <silvia.mitter@elastic.co>
2021-09-29 11:58:32 -04:00
Kibana Machine da02424f26
🐛 Fix tabs visibility on formula fullscreen (#113268) (#113405)
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-09-29 11:16:13 -04:00
Sandra G ffa8f8e438
node view (#113318) (#113401)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 11:02:32 -04:00
Anton Dosov e784d49ab4
[embeddable] Don’t include test samples into initial bundle (#113126) (#113399)
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-09-29 10:39:17 -04:00
Kibana Machine 524ba4f368
add title to kibana.index and telemetry deprecations (#113259) (#113398)
* add title to kibana.index deprecation

* add title to telemetry deprecation

* use i18n for kibana.index deprecation

* fix bundle key

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-09-29 10:39:02 -04:00
Kibana Machine df48230833
[Security Solutions] Search results deepLinks fix inconsistency (#113046) (#113395)
* deepLinks grouped and refactor

* use translations

* use Set and renaming

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
2021-09-29 10:33:59 -04:00
Kibana Machine f2fa26ca4e
[Discover] Unksip and improve index pattern without time field functional test (#112698) (#113391)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-09-29 10:18:16 -04:00
renovate[bot] bc812b3442
Update dependency @elastic/elasticsearch to ^7.16.0-canary.4 (#113354)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 16:12:28 +02:00
CJ Cenizal 16271f5556
Add support for single manual steps to Upgrade Assistant. (#113344) 2021-09-29 07:01:28 -07:00
Kibana Machine 91a1679427
[UX Dashboard] Enabled inspector panel for ux dashboard (#113118) (#113369)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-09-29 13:25:48 +00:00