Commit graph

47065 commits

Author SHA1 Message Date
Zacqary Adam Xeper
396ed09259
[Monitoring] Fix Set Up Monitoring redirect to setup mode (#114354)
* [Monitoring] Fix Set Up Monitoring redirect to setup mode

* Fix initt setup mode from route init
2021-10-12 13:54:39 -04:00
Kate Farrar
b4010c86ad
Move interval help text to be a tooltip on the datepicker (#108761)
* moving interval help text as a tooltip on the datepicker

* [Metrics UI] Refactor Snapshot data for use in FilterBar

Co-authored-by: Chris Cowan <chris@chriscowan.us>
2021-10-12 13:49:25 -04:00
Vadim Kibana
e9f0d7b9b4
Short url docs (#113084) 2021-10-12 19:46:58 +02:00
Nicolas Chaulet
0fa95fdfcb
[Fleet] Handle existing default output in preconfiguration output service (#114631) 2021-10-12 13:30:48 -04:00
Scotty Bollinger
ec0fdee814
[Workplace Search] Wire up write view for Sync Frequency (#114522)
* Refactor to use correct kea way of doing reset

The listener is not needed as the actions can set the state themselves

* Wire up reset button for Frequency section

* Extract shareble updateServerSettings method

We use a PATCH call to the server to update the state. We can extract this to a shared actions.updateServerSettings method that can be used in the main toggle on the Synchronization landing page, the Frequency section and the Object and assets section.

As a part of this commit, I refactored `updateSyncEnabled` to use this method as well. In doing so, to simplify things, I removed the granular enabled/disabled message in favor of the generic “"Source synchronization settings updated.” message that the other sections use. The state of the toggle is a good enough indication of the state the server is in.

I also renamed the updateSyncSettings method to updateObjectsAndAssetsSettings, as it was incorrectly named.

* Add schema for schedules

* Use mutable schedule in component

Originally used the immutable version directly on the content source for initial read view. We now use a mutable one found in SynchronizationLogic

* Set local copies of schedule after persisting to server

* Wire up form change handlers

We pass the ‘type’ to the component to inform the logic file which section is being changed. We then update the mutable `schedule` reducer with the correct value

* Wire up save button and persist changes

* Add type and make server prop optional

If there are no blciked windows, we send undefined, so the type has been updated.

* Add unsaved changes propmpt

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 12:28:14 -05:00
Dominique Clarke
ef8cd680bf
[Uptime] [Synthetics Integration] add new advanced options (#112454)
* refactor common fields

* add ignore_https_errors and journey filters options

* adjust formatters and normalizers

* adjust content and hide fields when zip url is not defined

* adjust content again

* update tests

* adjust tests

* adjust tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 12:39:43 -04:00
Dominique Clarke
80c152c0eb
[Observability] [Exploratory View] add percentile ranks, show legend always, and fix field labels (#113765)
* add percentile ranks, show legend always, and fix field labels

* add 50th percentile

* replace hard coded values with constant

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 12:37:21 -04:00
Devin W. Hurley
103869509c
[Security Solution] [Platform] Utilize SO resolve api for reading rules by id (#112478)
* added outcome to backend routes

* adds so resolved property alias_target_id to response

* adds UI portion

* working URL redirect on aliasMatch - todo -> update rule details page refresh button to use SO resolve.

* cleanup

* fix integration tests

* fix jest tests

* cleanup types

* fix eslint.. I think vs code formatted this

* WIP - undo me, working index.test.ts function

* WIP - also undo me, probably

* working test for aliasMatch, need to add test for outcome = conflict

* add conflict callout when SO resolve yields conflict outcome

* code cleanup

* fix type issues

* small cleanup, fix jest test after undoing changes for getFailingRuleStatus

* cleanup tests

* add alias_target_id to response validation too

* unit test changes

* update tests again

* add all dependencies to useEffect and prefer useMemo

* add type cast

* adds integration tests for different outcomes after mocking a migrated rule leading to an aliasMatch and a migrated rule + accidental inserted rule to lead to a conflict. Also removes the outcome property if it is an exactMatch

* remove unused import

* fix test

* functional WIP

* cleanup

* cleanup

* finishing touches to address PR review comments

* remove console.error

* fix bug where spaces was not typed correctly in the plugin start method here https://github.com/elastic/kibana/pull/113983
2021-10-12 12:12:34 -04:00
Kaarina Tungseth
9594574d65
[DOCS] Reformats the Spaces settings tables into definition lists (#114146) 2021-10-12 11:08:47 -05:00
Kaarina Tungseth
511c085944
[DOCS] Reformats the Search sessions settings tables into definition lists (#114145) 2021-10-12 11:08:02 -05:00
Kaarina Tungseth
be0a1e6c00
[DOCS] Reformats the Machine learning settings tables into definition lists (#114143) 2021-10-12 11:07:38 -05:00
Kaarina Tungseth
86af44854c
[DOCS] Reformats the Logs settings tables into definition lists (#114140) 2021-10-12 11:02:41 -05:00
Yara Tercero
2c2b8e388a
[Security Solution][Platform] - Bug fix when loading a saved query in detections (#114347)
Bug in checking === for null when possibility of undefined, added tests.
2021-10-12 11:49:11 -04:00
Pete Hampton
917807e7a3
Telemetry: update security filterlist. (#114495) 2021-10-12 16:32:44 +01:00
Marco Liberati
fa69602b34
[Lens] Fix Metric visualization scale (#113956)
* 🐛 Fix metric rescale

* 📸 Restored old snapshots

* 🐛 Extend the fix to all scenarios

* 📸 Refresh snapshots for new fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 17:32:32 +02:00
Zacqary Adam Xeper
435404e961
[Stack Monitoring] Fix blank page between loading page and overview (#114550)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 10:23:01 -05:00
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