Commit graph

46999 commits

Author SHA1 Message Date
Brian Seeders f4ef2b116b
[buildkite] buildkite dependencies need to install before print_agent_links (#114573) 2021-10-12 11:18:13 -04:00
Marco Liberati ba8abc4151
[Vega] Improve error message in case of invalid $schema URL (#114459)
* 🐛 Catch the schema parser and provide a better error message

* 🌐 Add i18n
2021-10-12 16:58:37 +02:00
Shahzad df971b7dc9
[Exploratory view] Render content only on expand (#114237) 2021-10-12 16:46:23 +02:00
Davis Plumlee 0b46bb1b93
[Security Solution][Detection Alerts] Fixes follow-up alert refresh bugs (#112169) 2021-10-12 10:40:54 -04:00
Cristina Amico f50e3f5cce
[Fleet] Fix agent count in update modal (#114622) 2021-10-12 16:36:38 +02:00
Marco Vettorello ff1b014c7b
Update dependency @elastic/charts to v37 (master) (#113968) 2021-10-12 16:36:18 +02:00
Shahzad d5d364724b
[Exploratory view] Fix auto apply on date change (#114251)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 16:32:40 +02:00
Christiane (Tina) Heiligers bc96e408c9
Changes rewriteBasePath core config deprecation level to warning (#114566)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 07:02:03 -07:00
Jean-Louis Leysens afe81bb1a2
[Reporting] Fix missing force now behaviour for v2 reports (#114516)
* fix missing force now behaviour for v2 reports

* added jest test

* updated jest test snapshot to match removal of forceNow injection from locator params

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 15:49:17 +02:00
Søren Louv-Jansen 4f89393124
[APM] Add Table of contents to data model docs (#114608) 2021-10-12 14:37:50 +01:00
Tim Sullivan d37cf3045b
[Reporting] Remove unused settings for 8.0 (#114216)
* [Reporting] Remove unused settings for 8.0

* add helpful version comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 06:35:55 -07:00
Sandra G 9e42b32015
[Stack Monitoring] Add breadcrumbs to ES pages after migrating from Angular (#114555)
* add breadcrumbs

* fix bad merge

* fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 09:32:52 -04:00
Sandra G a054749c7a
[Stack Monitoring] ES Overview fix completed recoveries section (#114179)
* fix completed recoveries section

* fix type

* fix type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 09:28:37 -04:00
Nathan L Smith c9e3e0e9b5
Fix GC time calculation (#113992)
Was in µs. Corrected to be in ms.

Also use correct duration formatting on the GC time chart and time spent by dependency chart.
2021-10-12 08:26:05 -05:00
Paul Tavares 4436ed2f71
[Security Solution][Endpoint] Bug fixes and unit test cases for the Trusted Apps list view under Policy Details (#113865)
* test: rename mock utility
* Tests: artifact grid test coverage
* Fix: CardCompressedHeader should use CardCompressedHeaderLayout
* Tests: ArtifactEntryCollapsibleCard test coverage
* Context Menu adjustments to test ids and to avoid react console errors/warnings
* add test id to truncate wrapper in ContextMenuItemWithRouterSupport
* Tests for ContextMenuWithRouterSupport
* new mocks test utils
* HTTP mocks for Policy Details Trusted apps list page
* tests for policy trusted apps selectors
* Refactor: move reusable fleet http mocks to `page/mocks`
* HTTP mocks for fleet get package policy and Agent status + mock for all Policy Details APIs
* Tests: Policy Details Trusted Apps List
* Moved `seededUUIDv4()` to `BaseDataGenerator` and changed trusted apps generator to use it
* change `createStartServicesMock` to optionally accept `coreStart` as input
* Show api load errors on policy TA list
2021-10-12 09:20:11 -04:00
Anton Dosov c3f1e0de54
[FieldFormats] Remove SerializedFieldFormat copy from expressions plugin (#114245) 2021-10-12 14:35:45 +02:00
Matthias Wilhelm e1133e11ac
[Discover] Improve context code (#114284) 2021-10-12 14:35:14 +02:00
Nathan Reese 9e65b12c4b
[Maps] Fix apis Maps endpoints getTile should return vector tile containing document (#114509)
* [Maps] Fix apis Maps endpoints getTile should return vector tile containing document

* use find instead of if statement

* eslint

* can not use layer.feature.find is layer.feature is not an array

* unskip other test where fix has been merged

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 06:29:36 -06:00
Gloria Hornero adb49b7d37
refactor (#114603) 2021-10-12 14:06:31 +02:00
Jason Stoltzfus eb5e46a094
Check platinum license (#114549) 2021-10-12 07:53:48 -04:00
Jason Stoltzfus a11c3374c4
Handle deletes (#114545) 2021-10-12 07:53:26 -04:00
Tiago Costa 7617dc1185
skip flaky suite (#114396) 2021-10-12 12:47:43 +01:00
Shahzad 7d6aba5188
[Uptime] Make uptime settings saved object exportable (#114235)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 12:28:21 +02:00
Walter Rafelsberger 14cde79e83
[ML] APM Correlations: Show trace samples even when overall histogram chart fails to load. (#114247)
In the trace samples tab, the trace samples will not be shown if the overall histogram chart fails to load. This PR removes that limitation and will show the trace samples even when the chart fails to load.
2021-10-12 06:23:46 -04:00
Jean-Louis Leysens a0d36e7a69
[Discover/Reporting] Fix potential time drift with relative time when requesting a report (#114274)
* updated Discover getSharingData to accept flag for absolute time

* update snapshots

* simplify fallback title

* more appropriate title?

* remove old translations

* implement PR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 11:24:55 +02:00
Kevin Lacabane b5771c81ba
[Stack Monitoring] functional tests - properly set test-subj attribute (#114491)
* properly set test-subj attribute

* fix prettier error

* Fixing ESLinting issue

Co-authored-by: Chris Cowan <chris@chriscowan.us>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 10:55:53 +02:00
Milton Hultgren 8ea719ca8a
[Logs UI][Metrics UI] Replace usage of deprecated IndexPattern types (#114448)
* [Logs UI][Metrics UI] Replace usage of deprecated IndexPattern types (#107887)
2021-10-12 08:46:48 +02:00
Clint Andrew Hall ab5ecc4e13
[nit][pre-req] Split EPM Home into components (#114431)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 01:07:16 -04:00
Spencer 7c087fea82
[ci-stats] support sending meta with metrics (#114198)
* [ci-stats] support sending meta with metrics

* update kbn/pm dist

* improve comments stat

* update kbn/pm dist

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 23:01:02 -05:00
Clint Andrew Hall 243c2133af
[nit][pre-req] Strongly-type Shipper and Category (#114412) 2021-10-11 22:35:00 -04:00
ymao1 c926b14c32
[Alerting] Showing last execution duration on Rule Management view (#113935)
* Adding last duration to execution status and returning in alerting routes

* Fixing types

* Adding helper function to format duration

* Returning rule timeout value in list rules API

* Updating rules table to add duration column and tweaks to match mockup

* Updating rules table to add duration column and tweaks to match mockup

* i18n fix

* Only showing duration warning if duration is long

* Unit tests

* i18n fix

* Fixing functional test

* Aligning warning icon

* Reset last duration when rule is disabled then reenabled

* Fixing functional test

* Fixing functional test

* Restoring muted badge. Fixing scss

* Dont show muted badge if rule is disabled

* Moving disabled icontip to right of rule name

* Updating tooltips

* Updating last run

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 21:06:35 -04:00
Christiane (Tina) Heiligers 44c9611bd9
[8.0] Remove support for configuring csp.rules (#114379)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 20:49:21 -04:00
James Rucker 6cb91c472d
[Enterprise Search] Warn about Kibana access when adding single user role mappings (#114567)
* Warn about Kibana access when adding single user role mappings to Enterprise Search

* i18n and sentence case for the Kibana access warning title
2021-10-11 20:08:49 -04:00
Stacey Gammon 8e72e17648
api docs (#114565) 2021-10-11 19:46:01 -04:00
Spencer 912eb0d937
[ftr] ensure indentation is reset between configs (#114359)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 00:29:10 +01:00
Xavier Mouligneau a0b55b316e
[Core][Deprecations] omit deprecationDetails if needed it in the reques (#114399)
* omit deprecationDetails if needed it

* review I

* doc update

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 18:29:50 -04:00
Nathan Reese c6b5136c3a
[Maps] fix docvalue_fields·js functional test (#114527)
* [Maps] fix docvalue_fields·js functional test

* remove unused

* eslint

* remove _type from check list, copied from 7.x branch and is not in 8.0

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 16:26:52 -06:00
Rudolf Meijering f88901c6ac
Log Unhandled rejection stack (#113614)
* Refactor state types

* Log the stack trace of unhandled promise rejections

* Revert "Refactor state types"

This reverts commit 6a5123a1b2.

* Fix types

* code review feedback
2021-10-11 17:50:35 -04:00
Tiago Costa a03aa7b7fa skip flaky suites (#114418) 2021-10-11 14:24:59 -07:00
spalger 804da091b4 auto-upgrade polyfills 2021-10-11 20:30:54 +00:00
Sandra G de42e5329f
[Stack Monitoring] add test subject to tab (#114319)
* pass test subject to advanced link and change name in angular version to be generic

* change name in functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 16:18:29 -04:00
Sandra G 328da6f720
add default sort props (#114294)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 16:18:10 -04:00
Jonathan Budzenski e8d16cddca skip flaky suite. #114541, #114542 2021-10-11 13:30:33 -05:00
Shahzad a389520849
[Utpime] Remove unnecessary usememo in url params hooks (#114252) 2021-10-11 20:27:46 +02:00
Chris Roberson e32dd1c493
[Alerting] Allow rule types to specify a default and minimum interval (#113650)
* WIP

* Remove test defaults

* Fix types

* Add tests

* Add missing files

* Fix issue with using default interval after user manually changed it

* PR feedback

* Fix types

* Remove debug
2021-10-11 14:19:28 -04:00
Nathan L Smith 9d498b962c
[APM] Disabling apm e2e test (#114544)
[skip-ci]

APM Cypress tests are again failing on PRs. Disable temporarily.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 12:55:06 -05:00
spalger 50b3602d7f fix import 2021-10-11 17:41:49 +00:00
Spencer 9667edf808
[monitoring] fixup types (#114342)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 12:30:14 -05:00
Jonathan Buttner badc77828e
[Cases][Observability] Do not sync alerts status with case status (#114318)
* set sync status according to disable alerts

* Adding test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 12:55:06 -04:00
Chris Cowan c8a0108269
[Stack Monitoring] Adding alerts to react app (#114029)
* [Stack Monitoring] Adding alerts to react app

* Fixing global state context path

* adding alerts to pages; adding alerts model to cluster_overview; removing loadAlerts from page template

* Fixing request for enable alerts

* remove loadAlerts from page template

* Adding request error handlers

* removing redundent error handling

* Changing useRequestErrorHandler function to be async due to error.response.json call

* removing old comment

* Fixing contexts paths

* Converting ajaxRequestErrorHandler to useRequestErrorHandler

* Refactoring error handler for page template and setup mode

* Removing unnecessary async/await

* Removing unnecessary async/await in useClusters

* adding alertTypeIds to each page

* fixing instance count

* Adding alertTypeIds to index page

* Adding alert filters for specific pages

* Adding alerts to Logstash nodes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 10:53:51 -06:00