Commit graph

41152 commits

Author SHA1 Message Date
gchaps
c8a12721ad
[DOCS] Adds entries to glossary (#91962)
* [DOCS] Adds entries for Maps app

* [DOCS] Adds entry for heat map

* [DOCS] Adds geo terms

* Update docs/glossary.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update docs/glossary.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update docs/glossary.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update docs/glossary.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update docs/glossary.asciidoc

* Update docs/glossary.asciidoc

* Update docs/glossary.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-03-08 16:51:36 -08:00
Tim Sullivan
9fef424bba
Switch Reporting to Task Manager (#64853)
* [Reporting] Task Manager

* fix startup

* use synchronous config for task registration

* fix eslint

* pr-90365

* --wip-- [skip ci]

* set maxConcurrency to 0 if pollEnabled is false

* add test for execute_report

* remove unused test file

* more tests

* remove unused test files

* remove priority

* logging cleanups

* fix for queue.pollEnabled: false

* more logging fixes for less duplicated code

* update jest snapshots

* polish

* remove unnecessary

* Update mapping.ts

* polish

* fix bug if instance gets a monitoring task and pollEnabled is false

* simplification

* cosmetic

* fix test

* stop monitoring task sabotage

* update api docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 17:33:19 -07:00
James Rucker
add02f13e8
[Workplace Search] Persist OAuth token package during OAuth connect flow (#93210)
* Store session data sent from Enterprise Search server

This modifies the EnterpriseSearchRequestHandler to remove any data in a
response under the _sessionData key and instead persist it on the server
side.

Ultimately, this data will be persisted in the login session, but for
now we'll just store it in a cookie. https://github.com/elastic/kibana/issues/92558

Also uses this functionality to persist Workplace Search's OAuth token
package.

* Only return a modified response body if _sessionData was found

The destructuring I'm doing to remove _sessionData from the response is
breaking routes that currently expect an empty response body. This
change just leaves those response bodies alone.

* Refactor from initial feedback & add tests

* Decrease levity

* Changes from PR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 16:17:35 -08:00
Zacqary Adam Xeper
0ce3dc7f10
[Fleet] Prevent duplicate enrollment token names (#92735) 2021-03-08 19:09:42 -05:00
Kevin Qualters
9b99f6d3d1
[Security Solution] Prevent EuiFocusTrap from blocking focus to global search (#93377)
* Prevent EuiFocusTrap from blocking focus to global search

* Only run when flyout is open

* Remove unused import

* Fix broken cypress test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 19:03:48 -05:00
Tiago Costa
29a162bee3
chore(NA): ability to call bazel from yarn scripts (#93983)
* chore(NA): ability to call ibazel from yarn scripts

* chore(NA): remove ibazel from package.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 18:51:32 -05:00
Scotty Bollinger
a0e88ece91
[Enterprise Search] Fix bug where special chars breaks UI (#94000)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 18:27:17 -05:00
Luca Belluccini
4c58e70a7e
[DOC] Clarify compatibility of Saved Objects across versions (#63090)
* [DOC] Clarify compatibility of Saved Objects across versions

* Update docs/management/managing-saved-objects.asciidoc

* Saved objects compatibility

* clarify that same version export/import is compatible

* Add compatibility to SO import API docs

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2021-03-08 14:58:11 -08:00
Matthew Kime
2d109df886
Add runtime field functional test (#93710)
Add runtime fields editor functional test
2021-03-08 15:54:59 -06:00
Davis Plumlee
4db502d85c
[Security Solution][Detection Rules] Rules table page size increase (#93993) 2021-03-08 16:53:36 -05:00
Xavier Mouligneau
5d96e5f334
[SECURITY SOLUTION] BUG Manual Alert in case (#93726)
* get the data where it belongs

* Fix layout when alert is deleted

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
2021-03-08 16:28:42 -05:00
spalger
5e634e9931 remove unused xpack.ml.alertContext.kibanaBasePathUrlDescription i18n key 2021-03-08 14:20:16 -07:00
Nathan Reese
7507d6417e
Convert file_upload components to typescript (#93814)
* Convert file_upload components to typescript

* i18n cleanup

* api doc updates

* fix i18n files

* tslint after merge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 14:15:38 -07:00
Ryland Herrick
52787e9379
[Security Solution][Detections]Alerts migrations can be finalized/cleaned up in all spaces (#93809)
* Retrieve SOs by ID in a space-aware manner by using bulkGet

We were previously using a manual invocation of find(), which was a)
tied to the current implementation of how SOs generate their _ids, and
b) didn't respect spaces.

By replacing this with a call to bulkGet, which automatically respects
the space of the current request, and which abstracts away the building
of the actual _id based on the SO ID and type, we address the issues
above.

* Surface SO errors to the finalize/delete APIs

Now that we're using bulkGet, we receive an object with errors if the
object is not found, which by default breaks our subsequent validation.
In order to provider better UX, we re-raise the first of these errors
that we find, if present, and return that to the user.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 15:10:16 -06:00
gchaps
8e1ba020b5
[UI COPY] Updates text in KQL language popup (#93788)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 13:03:24 -08:00
Wylie Conlon
c33987d929
Support for number, date and IP range data types (#76971)
* Support for number, date and IP ranges

* Update tests

* Ranges don't work with range agg

* Fix test case

* Allow Discover to create range filters

* Supports ranges in Visualize, KQL, remove Lens support

* Fix test mappings

* Bring back field cache to work around bug

* Fix some tests

* Fix test expectation

* Respond to review comments

* Fix type error

* Remove added sample data

* Fix api_docs

* Fix test
2021-03-08 15:50:36 -05:00
Dima Arnautov
6b26d19c4c
[ML] Fix time range query in the Anomaly detection alert execution (#93939) 2021-03-08 15:00:23 -05:00
Kaarina Tungseth
d5e4a2ae7d
[DOCS] Changes Visualize to Visualize Library (#93055)
* [DOCS] Changes Visualize to Visualize Library

* Review comments

* Review comment

* Removes background in embed-kibana.png
2021-03-08 13:44:30 -06:00
Michael Olorunnisola
6174938758
[Security_Solution][Timeline][Flyout] - Make event details hostName and IpOverview navigate (#93825) 2021-03-08 14:40:11 -05:00
Spencer
374cbf9053
[ci] disable api-docs step (#93975)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-08 14:28:09 -05:00
Devon Thomson
08f3c6cba7
[Dashboard] Modal a11y (#93332)
* Fix a11y on dashboard confirm modals by adding EuiFocusTrap & EuiOutsideClickDetector
2021-03-08 14:19:18 -05:00
ymao1
8a1d7f5b99
[Alerting][Docs] Moving limitations from README to user docs (#93933)
* Moving limitations to user docs

* Moving limitations to user docs

* Removing outdated limitations
2021-03-08 12:53:40 -05:00
Nathan Reese
4dd0a7e0f7
[Maps] chunk geojson upload to keep import requests under 1MB (#93678)
* [Maps] chunk geojson upload to keep import requests under 1MB

* fix geojson_importer tests

* update failure.item to reflect location in file

* remove console statement

* clean up

* return instead of break if upload is no longer active

* add unit test for createChunks

* update file_upload API

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 10:25:59 -07:00
Lukas Olson
2b3bac95c1
[KQL] Use cache and other performance improvements (#93319)
* [KQL] Use cache and other performance improvements

* Fix test

* Fix jest tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 10:21:15 -07:00
Jen Huang
b8df640c95
[Fleet] Surface package version used in a package policy in UI (#93712)
* Surface package version used in a package policy in UI

* Fix i18n
2021-03-08 12:07:27 -05:00
Ester Martí Vilaseca
978226f39a
[Metrics UI] Add preview charts to Inventory alerts (#91658)
* add first version of preview chart for inventory alerts

* Make preview chart collapsible

* Add margin to expressions without charts

* Remove some duplication in metric alerts preview charts

* Add warning thresholds to inventory alerts preview chart

* Add threshold annotations component

* Clean imports and unused variables

* Add tests for threschold annotations component

* Remove unused translations

* Set correct id to inventory alerts preview chart

* Get accountId and region with useWaffleOptions for preview chart

* Save inventory alert thresholds in the same unit as ES

* minor fixes

* Revert "Save inventory alert thresholds in the same unit as ES"

This reverts commit 118d83efeb.

* Remove threshold formatter function and convert values inside expression chart component

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 17:54:10 +01:00
Nathan L Smith
749a22989b
Enable APM storybook publishing (#93353)
Changes to fix APM's Storybook setup were made in #93087 and #93294. This re-enables it and fixes a couple places where we weren't using a theme provider.
2021-03-08 10:39:25 -06:00
Marco Liberati
adfbe976d6
[Lens] Carry previous configured formatter in Last value (#93784)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 17:38:14 +01:00
Mike Côté
edb1c4b48e
Make alerts list sortable by name and status (#93426)
* Initial commit

* Update docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 11:15:53 -05:00
Alejandro Fernández Gómez
2aa0267957
[Fleet] Migrate ES client (#92805)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 10:46:31 -05:00
Joe Reuter
68ed17a486
Add imperative delete field api (#93181) 2021-03-08 16:09:33 +01:00
Alejandro Fernández Gómez
baf0b3577b
[Logs UI] Pass dashboard filters to log stream embeddable (#91850)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 10:03:14 -05:00
Angela Chuang
98c1f94477
[Security Solution] Update the script of data provider's Cypress test (#93780)
* rollback timeout for dnd and rewrite script for the failing case

* rollback timeout for dnd and rewrite script for the failing case

* rollback timeout for dnd and rewrite script for the failing case

* rollback unnecessary change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 14:50:44 +00:00
Christos Nasikas
faae074607
[Security Solution][Case] Push ITSM comments as work notes (#93916)
* Push ITSM comments as work notes

* Fix cases mapping

* Improve error messages

* Fix tests
2021-03-08 16:38:04 +02:00
Ahmad Bamieh
8de91b506e
[i18n] Integrate 7.12.0 Translations (#93595)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 16:10:33 +02:00
Casper Hübertz
54e7734fe6
[APM] Sets target blank on the docs link (#93913) 2021-03-08 14:38:49 +01:00
Casper Hübertz
ef02d1cf2b
[APM| Change correlations table actions and title (#93917)
* [APM] Change filter icons
* [APM] Change filter heading
2021-03-08 14:38:36 +01:00
Michael Dokolin
8fa917c920
Fix accessibility in the global query bar (#93411)
* Fix accessibility of the filter bar tags (#82457)
* Fix focus state keeping after removing a filter tag (#82503)
* Fix invalid state in the query bar date picker (#82513)
2021-03-08 14:34:48 +01:00
Shahzad
c5db0f119e
update react-use from 15.3.4 to 15.3.8 (#93918) 2021-03-08 14:23:24 +01:00
Alejandro Fernández Haro
6f66ab7ee8
Use internal repository when updating kql-telemetry counts (#93417)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 08:00:41 -05:00
Nicolas Chaulet
f4caf8727d
[Fleet] Remove fleetServerEnabled feature flag and use fleet system indices (#92422) 2021-03-08 07:40:09 -05:00
Stratoula Kalafateli
96c360b81d
[Fix] The overwritten series color from the legend is not visible when I create a visualization from a dashboard (#93435)
* [Visualizations] Fixes the overwritten series color from legend is not visible when I create a visualization from a dashboard  --no-verify

* Remove unecessary code

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 11:25:08 +02:00
István Zoltán Szabó
6205fbe62e
[DOCS] Adds beta tag to anomaly detection alert type. (#93765) 2021-03-08 09:56:26 +01:00
Dario Gieselaar
e2abb03ad0
[APM] Color by span type when there's only one service (#90424)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-07 07:52:38 +01:00
Lukas Olson
acb7b7726e
[KQL] Remove number parsing (#93658)
* [KQL] Remove number parsing

* Update test snapshots
2021-03-06 23:45:50 -07:00
Nathan Reese
a1ac49a5aa
[Maps] 7.12 doc updates (#93830)
* [Maps] 712 doc updates

* Update docs/maps/vector-style-properties.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* avoid wrapping property name column in table

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-03-06 07:10:55 -07:00
Dmitry
25d291a74f
update chromedriver to 89 (#93794)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-06 12:26:05 +03:00
Brian Seeders
a7dd5179a9
Skip another uptime test blocking ES snapshot promotion (#93868) 2021-03-05 23:04:27 -05:00
Melissa Alvarez
cac26b8cda
[ML] Data Frame Analytics creation wizard: add validation step (Part 1) (#93478)
* wip: create validationStep component

* wip: trainingPercent check, analysisFields check. Step details

* move validation check to server

* handle no training percent in validation

* move callout component to shared dir

* use shared Callout component in AD val and update message headings

* update types

* adds functional tests for validation

* adds api integration test for validate endpoint

* consolidate messages for depvar and fields

* fix accessibility test

* update license

* update validation messages

* update types in validation model

* add jobValidationReturnType
2021-03-05 21:48:39 -05:00
Brian Seeders
020a8ee7dd
Revert "Display Kibana overall status in the logs and have FTR wait for green status before running tests (#92568)" (#93855)
This reverts commit d53894aa5a.
2021-03-05 21:02:52 -05:00