Commit graph

43867 commits

Author SHA1 Message Date
Kibana Machine f85027ae13
[Security Solution][Detections] Skip failing Cypress test detection_alerts/acknowledged.spec.ts (#109532) (#109623)
## Summary

I’ve been re-running CI for my PR multiple times, getting failed Cypress tests every time:

https://github.com/elastic/kibana/pull/109276/checks?check_run_id=3382731658

The test is `detection_alerts/acknowledged.spec.ts` "Mark one alert as acknowledged when more than one open alerts are selected".

I’m getting the same failure also on a fresh master branch locally, so it seems like the test is broken there as well.

Skipping for now as it's blocking a critical fix for 7.15: https://github.com/elastic/kibana/pull/109276

Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
2021-08-23 23:40:35 +00:00
Kibana Machine ceb7058611
Fix buggy validation when editing an existing space (#109709) (#109739)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-08-23 18:40:25 -04:00
Kibana Machine 6323afd7ba
[tests] prevent unhandled rejection (#109560) (#109720)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-23 16:57:17 -04:00
Kibana Machine 2916360cc1
[Logs UI] stop accordion chart preview from auto expanding/collapsing (#109581) (#109711)
* stop propagation to the criterion popovers

* fix toggling issue with criteria popovers

* Fixes for more popovers staying open

* another toggling fix "for the last" popover

Co-authored-by: mgiota <giota85@gmail.com>
2021-08-23 16:28:43 -04:00
Felix Stürmer c788308323
[RAC] Get o11y alerts in alerts table (#109346) (#109705)
* get back index names  in o11y

* testing and integration

* fix types

* Avoid using the rule data client for field list

* Remove left-over index argument

* no needs of alert consumer anymore

Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>
# Conflicts:
#	x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx
#	x-pack/plugins/observability/public/pages/alerts/index.tsx

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2021-08-23 16:06:39 -04:00
Greg Thompson 5e5c7c3de5
[7.x] Upgrade EUI to v37.3.0 (#109157) (#109691)
* Upgrade EUI to v37.3.0 (#109157)

* eui to 37.3.0

* i18n tokens

* reinstate discover_grid_flyout test

* more i18n tokens

* snapshot updates

* fix jest failures

* update cell position pattern

* clean up pattern

* buttongroup click -> change

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

* fix bad merge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 15:53:08 -04:00
Joe Portner 492de4ecdd
Remove spacesOss plugin (#109258) (#109649)
# Conflicts:
#	.eslintrc.js
#	.github/CODEOWNERS
#	src/plugins/dashboard/kibana.json
2021-08-23 15:19:50 -04:00
Spencer b6c9f4b8fc
[ftr] rework ciGroup validation to remove JOBS.yml and avoid duplication (#109149) (#109324)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	.ci/jobs.yml
#	test/scripts/jenkins_code_coverage.sh

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 15:07:12 -04:00
Kibana Machine f047b20680
[Fleet] Improve Integration Tests for Package Policy Upgrade API (#109448) (#109699)
* Improve integration tests + fix various error cases for package policy upgrade API

* Fix test name

* Throw string error when validation fails instead of array

* Update validatePackagePolicy tests to include bool check

* Address PR feedback + use IngestError class

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

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-08-23 15:01:23 -04:00
Kibana Machine e87ef74342
[DataViews] Fix excessive resolve_index requests in create data view flyout (#109500) (#109701)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-08-23 14:56:12 -04:00
Kibana Machine 40caf7eec1
typo fixed (#109407) (#109695)
Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
2021-08-23 14:52:35 -04:00
Kibana Machine 3b72333a60
[ML] Functional tests - add UI tests for jobs spaces management (#109431) (#109690)
This PR adds functional UI tests for anomaly detection (AD) and data frame analytics (DFA) job spaces management via the stack management jobs UI.

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2021-08-23 14:30:37 -04:00
CJ Cenizal 1992766934
Add more details to and reformat the Cloud plugin README. (#109529) (#109681) 2021-08-23 13:44:38 -04:00
Kibana Machine eefe8b54fd
[Discover] Fix discover footer width (#109403) (#109621)
* [Discover] fix discover footer width

* [Discover] fix types

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

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-08-23 17:36:36 +00:00
Kibana Machine dfa1e83e94
[Discover][Context] Set trackTotalHits to false in requests to Elasticsearch (#108661) (#109679)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-23 13:24:00 -04:00
Kibana Machine c31154bf5c
chore(NA): moving @kbn/securitysolution-t-grid to babel transpiler (#109442) (#109677)
* chore(NA): moving @kbn/securitysolution-t-grid to babel transpiler

* chore(NA): fix package.json

* chore(NA): finetunning package

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

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-23 17:16:24 +00:00
Tiago Costa 3ca3a9a837
skip failing es promotion suites (#109703) 2021-08-23 18:14:23 +01:00
Kibana Machine c621b8eb6c
chore(NA): moving @kbn/securitysolution-es-utils to babel transpiler (#109426) (#109674)
* chore(NA): moving @kbn/securitysolution-es-utils to babel transpiler

* chore(NA): update packages/kbn-securitysolution-es-utils/.babelrc

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

* chore(NA): correct deps

* chore(NA): finetunning package

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

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>
2021-08-23 13:13:28 -04:00
Kibana Machine 48aa983b34
chore(NA): moving @kbn/securitysolution-hook-utils to babel transpiler (#109432) (#109666)
* chore(NA): moving @kbn/securitysolution-hook-utils to babel transpiler

* chore(NA): update packages/kbn-securitysolution-hook-utils/.babelrc

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

* chore(NA): correct deps

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

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>
2021-08-23 12:49:36 -04:00
Kibana Machine a6eb15ae93
fix TableListView empty view trapping users with no action to create new item (#109345) (#109663)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-08-23 12:44:29 -04:00
Kibana Machine bf9413dc42
[APM] Support multiple route paths in useApmParams (#109370) (#109653)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-08-23 12:02:22 -04:00
Ester Martí Vilaseca 4981a8bb58
[Stack Monitoring] Add initial react app (#109218) (#109652)
* Add feature toggle

* Add basic react app with router and simple loading page

* Add title hook

* Add loading page with page template and clusters hook

* fix types

* fix tests

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 11:55:29 -04:00
Aleh Zasypkin 6fe650d303
Cumulative set of the preboot stage adjustments (#108514) (#109646)
# Conflicts:
#	src/plugins/interactive_setup/server/elasticsearch_service.test.ts
#	src/plugins/interactive_setup/server/elasticsearch_service.ts
#	src/plugins/interactive_setup/server/routes/enroll.test.ts
#	src/plugins/interactive_setup/server/routes/enroll.ts
2021-08-23 11:22:31 -04:00
Kibana Machine 377760f060
[Discover] Fix keeping error state after invalid KQL query (#109514) (#109643)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-23 11:19:57 -04:00
Kibana Machine e27007f81c
[Fleet] Fix Fleet settings and HostInput error handling (#109418) (#109636)
* fix: HostInput error placement onChange

* fix: check for duplicates in hosts

* fix: validate all sections

* fix: error swapping

* fix: yaml placeholder position and styling

* test: add unit tests for delete behaviour

* tidy: use generic for reduce typing

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2021-08-23 10:45:25 -04:00
Kibana Machine ff3bd1dcac
[RAC] Fix hover on alert status column (#109273) (#109632)
* Fix alert status column hover

Co-authored-by: Kerry Gallagher <471693+Kerry350@users.noreply.github.com>
2021-08-23 10:28:44 -04:00
Tiago Costa e8e26395fd
skip failing es promotion suite (#109660) 2021-08-23 15:18:40 +01:00
Tiago Costa d1a8bbd226
skip flaky suite (#106492) 2021-08-23 15:10:37 +01:00
Yaroslav Kuznietsov 94bdff6e8a
[Canvas] Expression tagcloud (#108036) (#109627)
* Added `expression_tagcloud` plugin.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-optimizer/limits.yml
2021-08-23 09:58:32 -04:00
Kibana Machine 418e449f30
[ML] Fix UI inconsistencies in APM Failed transaction correlations (#109187) (#109626)
- Show the same empty state in the correlations table
- Add "Correlations" title above the table
- Add EuiSpacer between the sections before and after progress
- Update the copy within the beta badge title=Failed transaction correlations description=Failed transaction correlations is not GA...
- Remove s size from the beta badge
- Move the help popover to the top of the panel (similar to the Latency correlations tab)
- Move the Cancel/Refresh option to the right of the progress bar (similar to the Latency correlations tab)
- When the correlation job is running the correlations tab should show a loading state similar to the latency correlations table
- Indicate in the table headers Score is sorted by default
- Add sortability to both Latency and failed transactions correlations table
- Refactor to prevent duplicate code/components like Log, progress bar
- Fix alignments of the tab content header (previously navigating from one Trace samples tab to Latency correlation tabs will cause a minor jump in the header, or the titles within the same tab were not the same size )
- Remove the event.outcome as a field candidate (because event.outcome: failure would always be significant in this case)
- Shrink the column width for impact (previously it was at 116px)
- Added badge for High, medium, low [APM] Correlations: Show impact levels (high, medium, low) as colored badges indicating their severity
- Fix license prompt text
- Functional tests for the new tab
- Make the p value & error rate columns visible only when esInspect mode is enabled

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
2021-08-23 09:52:41 -04:00
Alison Goryachev 4a14a94942
[Upgrade Assistant] Cleanup scss (#109524) 2021-08-23 09:25:40 -04:00
Yulia Čech b3120d9d3c
[ILM] Fixed _meta field failing server validation (#109295) (#109613)
* [ILM] Fixed the bug with built-in policies not saving because of the _meta field

* [ILM] Added PR review suggestions

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 09:24:05 -04:00
Maja Grubic 40b41c04eb
[Saved Search Embeddable] Do not set source field when reading fields from source (#109069) (#109611)
* [Saved Search Embeddable] Do not set source if reading fields from source enabled

* Extract functionality to a helper function and added unit tests

* Fix unit test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 09:21:50 -04:00
Kibana Machine d17d2e7cea
Add multiple namespaces support to PIT search and finder (#109062) (#109603)
* initial modifications

* change approach for openPointInTime and add tests for spaces wrapper changes

* fix and add security wrapper tests

* fix export security FTR tests

* update generated doc

* add tests for PIT finder

* NIT

* improve doc

* nits

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-08-23 08:22:55 -04:00
Kibana Machine 171f6559a1
[Flaky test] Application Usage: Wait for chrome to visible (#109405) (#109600)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-08-23 08:16:58 -04:00
Matthias Wilhelm f4f5a7035a
[Discover] Unskip discover tab field data functional tests (#107305) (#109589) 2021-08-23 05:41:49 -04:00
Kibana Machine f4b98a09db
Fix grammar on stack monitoring alerts modal (#109360) (#109585)
Pretty sure the rules only get created in the current kibana space, but the message is plural. Switching to singular.

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

Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-08-23 02:24:55 -04:00
Tiago Costa e31d32ae14
skip failing es promotion suites (#109583) 2021-08-23 00:22:29 +01:00
Tiago Costa dd45adeacc
skip flaky suite (#106650) 2021-08-23 00:09:17 +01:00
Kibana Machine 3b97a965ed
[ML] Functional tests - re-enable modules API test suite (#109471) (#109574)
https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/1839/

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2021-08-21 07:08:43 -04:00
Anton Dosov 9e00e1e393
[IndexPatterns] No data experience to handle default Fleet assets (#108887) (#109511)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpatternsservice.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.indexpatternsservice.md
#	src/plugins/data/public/public.api.md
#	src/plugins/data/server/server.api.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-21 05:10:53 -04:00
Kibana Machine b35cb348ba
chore(NA): moving @kbn/securitysolution-autocomplete to babel transpiler (#109423) (#109570)
* chore(NA): moving @kbn/securitysolution-autocomplete to babel transpiler

* chore(NA): finetune package

* chore(NA): update deps

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

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-21 02:27:10 -04:00
Tim Sullivan fce1ddbb7d
[Reporting/Telemetry] Include counts for each deprecated job type (#108614) (#109366)
* add isDeprecated to report meta for telemetry

* test clean up

* update snapshots

* Update x-pack/plugins/reporting/server/usage/decorate_range_stats.ts

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
2021-08-21 00:08:52 -04:00
CJ Cenizal 03e3baad4d
Rename UA steps to fix_issues_step and fix_logs_step. (#109526)
* Rename tests accordingly.
2021-08-20 18:37:45 -07:00
Kibana Machine 9374b7b742
chore(NA): moving @kbn/alerts to babel transpiler (#109320) (#109563)
* chore(NA): moving @kbn/alerts to babel transpiler

* chore(NA): finetune package

* chore(NA): miss dep

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

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-20 21:15:09 -04:00
Kibana Machine 7114cf69bb
chore(NA): moving @kbn/securitysolution-utils to babel transpiler (#109439) (#109550)
* chore(NA): moving @kbn/securitysolution-utils to babel transpiler

* chore(NA): update packages/kbn-securitysolution-utils/.babelrc

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

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

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>
2021-08-20 19:25:22 -04:00
Alison Goryachev af6b908df1
[Upgrade Assistant] Refactor CITs (#109536) 2021-08-20 15:10:12 -07:00
CJ Cenizal ec3c28f295
Fix link to Cloud deployment URL in upgrade step. (#109528) 2021-08-20 15:08:08 -07:00
Alejandro Fernández Haro a02b258fbf
[7.x] Update dependency @elastic/elasticsearch to ^7.16.0-canary.1 (#109535) 2021-08-20 16:42:25 -04:00
Chris Cowan b9adda7564
[Metrics UI] Re-enabled saved view tests (#108725) (#109530)
* [Metrics UI] Re-enabled saved view tests

* Adding ensureViewIsLoadable back in

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 15:57:06 -04:00