Commit graph

40180 commits

Author SHA1 Message Date
Anton Dosov
570c25ef67
Document more "xpack.data_enhanced.search.sessions.*" settings (#96542) (#96794) 2021-04-12 10:59:37 -04:00
Kibana Machine
5264f10c7b
[Lens] Make table and metric show on top Chart switcher (#96601) (#96775)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-04-12 14:32:30 +00:00
Kibana Machine
71ecaddf0b
[Fleet] Create enrollment API keys as current user (#96464) (#96776)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-04-12 10:31:31 -04:00
Jonathan Budzenski
b0a2b233f6 [kbn-ui-shared-deps] Remove outdated polyfills (#96339) 2021-04-12 09:27:52 -05:00
Kibana Machine
b12ef2fd12
[Lens] Hide "Show more errors" once expanded (#96605) (#96769)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-04-12 08:34:45 -04:00
Tiago Costa
40d95e215d
skip flaky suite (#94545) 2021-04-12 12:56:05 +01:00
Tiago Costa
2d1d058295
skip flaky suite (#96113) 2021-04-12 12:54:32 +01:00
Tiago Costa
477ad20a80
skip flaky suite (#96691) 2021-04-12 12:50:33 +01:00
Matthias Wilhelm
6775a86025
[Discover] Unskip histogram hiding test (#95759) (#96763)
- improves the test to be no longer flaky
2021-04-12 07:39:36 -04:00
Shahzad
4be6268b73
[Exploratory view] Use index patterns for formatting (#96280) (#96721) 2021-04-12 03:44:12 -04:00
Yara Tercero
8d534f4e8b
[7.x] [Security Solution][Exceptions] - Moves remaining exceptions builder logic into lists plugin (#95266) (#96358)
* [Security Solution][Exceptions] - Moves remaining exceptions builder logic into lists plugin (#95266)

## Summary

Moves part of the exceptions UI out of the security solution plugin and into the lists plugin. In order to keep PRs (relatively) small, I am moving single components at a time. This should also then help more easily pinpoint the source of any issues that come up along the way.

The next couple PRs will focus on the exception builder. This one in particular is focused on moving over the `ExceptionBuilderComponent` which deals with rendering numerous exception items and their entries.

Quick Summary:
- `x-pack/plugins/security_solution/public/common/components/exceptions/builder/` → ` x-pack/plugins/lists/public/exceptions/components/builder/`
  - Corresponding unit test file moved as well
  - Updated security solution exception builder to pull `ExceptionBuilderComponent` from lists plugin
# Conflicts:
#	packages/kbn-optimizer/limits.yml
#	src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js

* removing file that exists in master but not backported to 7.x mistakenly included in backport upon cherry picking

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-11 03:47:27 -04:00
Matthew Kime
17fafeffde
fix index pattern field editor console error (#96497) (#96716) 2021-04-10 14:48:25 -04:00
Pierre Gayvallet
b6c43fa7bf
fix config validation (#96502) (#96704) 2021-04-09 17:50:53 -04:00
Andrew Goldstein
163822df36
[Security Solution] Fixes the Read Less button rendering below the fold (#96524) (#96634)
## [Security Solution] Fixes the `Read Less` button rendering below the fold

Fixes issue <https://github.com/elastic/kibana/issues/95295> where the `Read Less` button in the Event Details flyout is rendered below the fold when an event's `message` field is too large, per the `Before` and `After` screenshots below:

### Before

![before](https://user-images.githubusercontent.com/4459398/113962310-aa463e80-97e4-11eb-93f9-f4a90bd250f6.png)

_Before: The `Read Less` button is not visible in the `Event details` flyout above_

### After

![after](https://user-images.githubusercontent.com/4459398/113962433-e9748f80-97e4-11eb-8f46-835eb12ea09d.png)

_After: The `Read Less` button is visible in the `Event details` flyout above_

In the _After_ screenshot above, the long `message` is rendered in a vertically scrollable view that occupies ~ one third of the vertical height of the viewport. The `Read Less` button is visible below the message.

### Desk Testing

Desk tested on a 16" MBP, and at larger desktop resolutions in:

- Chrome `89.0.4389.114`
- Firefox `87.0`
- Safari `14.0.3`

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 16:14:57 -04:00
Kibana Machine
75176d2c6f
Document telemetry fields for stack security features (#96638) (#96702)
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-04-09 20:01:31 +00:00
Xavier Mouligneau
cff4de10b3
[jest/securitySolution] Switch to jest-environment-jsdom (#96255) (#96351)
* remove testEnvironment from jest config

* cleanup all cases

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 14:28:54 -04:00
Jonathan Budzenski
7b9c6ad3ec skip flyout test, add linked issue #96708 2021-04-09 13:12:50 -05:00
Jonathan Budzenski
cfed7d33e6 skip copy_to_space_flyout_internal.test.tsx #96708 2021-04-09 13:09:54 -05:00
Kibana Machine
b4e669e9f5
[Partial Results] Move inspector adapter integration into search source (#96241) (#96701)
* Move inspector adapter integration into search source

* docs and ts

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

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-04-09 13:40:46 -04:00
Dario Gieselaar
6de70f84a7
[7.x] [RAC] Rule registry plugin (#95903) (#96689)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 13:36:36 +02:00
Dario Gieselaar
f307a25129
[APM] Run precommit tasks sequentially (#96551) (#96687)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 11:13:43 +02:00
ymao1
a443b44016
[7.x] [Alerting] Preconfigured alert history index connector (#94909) (#96680)
* [Alerting] Preconfigured alert history index connector (#94909)

* Adding preconfigured alert history index

* Adding functions to build alert history document

* Adding functions to build alert history document

* Moving index template creation to plugin start

* Adding unit tests

* Adding unit tests

* Adding unit tests

* Simplifying

* Revert "Merge branch 'master' of https://github.com/elastic/kibana into alerting/default-es-index-schema"

This reverts commit 957c333aa4, reversing
changes made to 4b1b78761e.

* Reverting some changes

* Reverting some changes

* Adding index override

* Updating UI with index override

* Only allow indexOverride for preconfigured alert history connector

* Handling preconfigured connector id clashes

* Cleanup

* UI unit tests

* Fixing default schema shown in UI

* Fixing functional tests

* Adding functional test

* Fixing functional tests

* Adding docs and link to docs

* Adding config to docker allowlist

* Fixing wrong typescript operator

* Changing default for config to false

* Cleanup

* Adding note about index privileges to docs

* Fixing i18n

* PR fixes

* PR fixes

* PR fixes

* PR fixes - wording

* PR fixes

* Fixing unit and functional tests

* Fixing types check

* ES -> Elasticsearch

* Moving files

* Adding kibana- to beginning of prefix

* Namespacing alert data within schema with kibana

* Fix i18n

* Updating docs

* Fixing unit tests

* Fixing doc links

* Fixing types check

* PR fixes

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

* Fixing docs link

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 00:26:29 -04:00
Nathan Reese
e1a1f8b989
[Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert (#96633) (#96681)
* [Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert

* tslint

* instead of forcing refresh on getIdsAndTitles, update index pattern service to add saved object to cache when index pattern is created

* simplify title check

* revert unneeded changes

* tslint

* api doc updates

* fix functional test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 00:12:42 -04:00
Yuliia Naumenko
b89efdbd33
[Actions UI] Changed PagerDuty action form UI to fill payload fields according to the API docs for Resolve and Acknowledge events. (#96363) (#96677)
* [Actions UI] Changed PagerDuty action form UI to fill payload fields according to the API docs for Resolve and Acknowledge events.

* fixed test

* fixed test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 20:09:26 -07:00
Steph Milovic
45fc5be5cd
[Security Solution] [Cases] Small UI bugfixes (#96511) (#96678) 2021-04-08 22:41:53 -04:00
Kibana Machine
8c8665e61a
App Search: Result Component Updates (#96184) (#96674)
* Starting work on result component

* Write tests

* Fix types

* Cleanup

* Fix type errors

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

Co-authored-by: Davey Holler <daveyholler@gmail.com>
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-04-08 20:56:31 -04:00
Sandra Gonzales
f73b92dc62
[Metrics UI] change composite.size of snapshot ES query to improve speed (#95994) (#96615)
* change composite.size of snapshot query to improve speed

* use value from kibana config to set compositeSize, clean up unused config properties

* fix test

* change config name

* fix reference

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 20:53:30 -04:00
Jean-Louis Leysens
5071192d17
[Ingest Pipelines] Add generated copy for all processors (#95507) (#96659)
* - minor refactor of 'description' -> 'typeDescription' for
  generic processor descriptions
- added initial pass of generated descriptions for all processors

* fix i18n

* added wrapping div and title to description and changed default description to appear as placeholder

* reworked the description width and overflow styling

* only show the text title on hover when we are not showing the text input

* fixed a number of minor issues with using values as though they are strings and doing better serialization

* slight optimisation to scss

* - implement copy feedback
- clean up a lot of uses of "target_field = field". it is better
  to not show these
- made "replacement" a required field on gsub (which it was not)

* revert the previouis validation as empty values are acceptbale for the replacement text

* - updated the copy per feedback and fixed a missing i18n.translate
- slight update to SCSS classes to not have unused class

* Added an empty string field validator that accepts spaces so that
the KV processor value and field split fields accept " "

* replace use of HTML "title" with EuiToolTip

* remove unused variable and import

* implemented feedback; removed if from default descriptions and other minor updates

* update default description of foreach to always display

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 19:45:53 -04:00
Jean-Louis Leysens
81b46f1302
[Rollup] Migrate to new ES client (#95926) (#96405)
* initial pass at es client migration

* fixed potential for not passing in an error message and triggering an unhandled exception

* reworked ad hoc fixing of error response

* delete legacy client file and remove use of legacyEs service

* remove unused import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/rollup/server/routes/api/jobs/register_start_route.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 19:44:56 -04:00
Kibana Machine
29a9d25744
[ML] Add ML plugin contract mocks (#96265) (#96610)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
2021-04-08 23:43:21 +00:00
Kibana Machine
cfd530b75c
[CI] Don't retry steps after a build has been aborted or timed out (#96600) (#96651)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-04-08 19:40:18 -04:00
Davey Holler
203214fb74
App Search Polish (#96345) (#96645)
* Button adjustments to Engine Overview page

* Subdued preview panel color

* Vertically aligns "manage fields" and "preview"

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 18:43:44 -04:00
gchaps
db1597c18c
[DOCS] Updates advanced settings doc (#93968) (#96643)
* [DOCS] Updates advanced settings doc

* [DOCS] Edits advanced settings doc

* [DOCS] Updates descriptions per review comments

* Clarify that TSVB setting is dependent on the other setting

* Update docs/management/advanced-options.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/advanced-options.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/advanced-options.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/advanced-options.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kibana Machine 
<42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-04-08 18:12:15 -04:00
Nick Peihl
3808adbe18
[docs] Link troubleshooting info for Elastic Maps Service (#96231) (#96666) 2021-04-08 18:01:54 -04:00
Kaarina Tungseth
0f575aeba5
[DOCS] Adds principal associated to keytab file (#96498) (#96652)
* [DOCS] Adds principal associated to keytab file

* Update docs/user/security/authentication/index.asciidoc

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* Review comments

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2021-04-08 17:46:37 -04:00
Thom Heymann
c4d0935adc
Improved role management error handling for partially authorized users (#96468) (#96631)
* Role management: Gracefully handle underprivileged users

* Removed redundant condition
2021-04-08 16:56:41 -04:00
Nathan Reese
e88c23ffed
[7.x] [file upload] document file upload privileges and provide actionable UI when failures occur (#95883) (#96252)
* [file upload] document file upload privileges and provide actionable UI when failures occur (#95883)

* [file upload] document file upload privileges and provide actionable UI when failures occur

* doc link

* call hasImportPermission

* docs tweeks

* tslint

* Update docs/maps/import-geospatial-data.asciidoc

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

* Update docs/maps/import-geospatial-data.asciidoc

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

* Update docs/maps/import-geospatial-data.asciidoc

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

* Update docs/maps/import-geospatial-data.asciidoc

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

* review feedback

* fix bullet list format

* clean-up i18n ids

* Update docs/maps/import-geospatial-data.asciidoc

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

* documenation review feedback

* add period to last privilege bullet item

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

* Update docs/maps/import-geospatial-data.asciidoc

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 15:50:56 -04:00
Jonathan Budzenski
fc9e799330 skip a11y spaces tests. #77933, #96625 2021-04-08 13:37:56 -05:00
Jonathan Budzenski
452d8c4a85 skip flaky test blocking snapshot promotion. #96515 2021-04-08 13:24:49 -05:00
Larry Gregory
b302cb2a61
[7.x] Docs: getting started with Kibana Security (#94158) (#96618)
* Docs: getting started with Kibana Security (#94158)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Gail Chappell <gail.chappell@elastic.co>
# Conflicts:
#	docs/redirects.asciidoc

* adjust reference
2021-04-08 14:24:05 -04:00
Kibana Machine
17d4f2ccc1
[ML] Data Frame Analytics: Don't allow user to pick an index pattern or saved search based on CCS. (#96555) (#96595)
Data Frame Analytics does not support cross-cluster search. This PR fixes the SourceSelection component to not allow a user to select a CCS index pattern or a saved search using a CCS index pattern.

Co-authored-by: Walter Rafelsberger <walter@elastic.co>
2021-04-08 13:50:34 -04:00
Sébastien Loix
a2ce7dcca9
[ILM] Fix frozen phase min_age (de)serialization (#96544) (#96591) 2021-04-08 13:44:20 -04:00
Jonathan Budzenski
1ab5366e8d skip flaky a11y test 2021-04-08 12:41:20 -05:00
Kaarina Tungseth
9daedb2671
[DOCS] Adds the release notes and breaking changes from previous releases (#96608) 2021-04-08 12:40:37 -05:00
Kevin Qualters
35d5e1935e
[Security Solution][Rac][Tgrid] Use correct prop name for disabling timeline context menu button (#96453) (#96586)
* Use correct prop name for disabling timeline context menu button

* Update usages of disabled to isDisabled on EuiIconButton

* Update failing snapshot and tests looking for old prop
2021-04-08 13:24:40 -04:00
Caroline Horn
e53d01a962
[K8] Continuing to fix the KQL bar styles (#96264) (#96584) 2021-04-08 13:10:34 -04:00
Stratoula Kalafateli
34433ee34b
[Visualize] Allows editing broken visualizations caused by runtime fields changes (#94798) (#96580)
* Add possibility to open visualization when saved field doesn't exists anymore

* Fix tests

* Fix some remarks

* Remove unneeded code

* Fix tests

* Fix tests

* Fix some remarks

* Fixed problem with double error popover in visualizations

* Fix CI

* Fix type

* Fix API docs

* Don't show error popup for error related to runtime fields

* Fix some remarks

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

Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 12:38:20 -04:00
Nick Partridge
d2bc43c6b3
[Dashboard] Fix Lens and TSVB chart tooltip positioning relative to global headers (#94247) (#96578) 2021-04-08 12:33:06 -04:00
Jonathan Budzenski
5cf095032e skip flaky test. #77933 2021-04-08 11:05:48 -05:00
Kibana Machine
7fcddeca12
Document SO migrations enableV2 and batchSize config options (#96290) (#96587)
* document SO batchsize and migrationsv2 enablement options

* use refs by name

* Update docs/setup/settings.asciidoc

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* apply Lukes suggestion

* add a note that migrations.enableV2 will be removed soon

* document migrations.retryAttempts

* Apply suggestions from code review

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-04-08 11:33:54 -04:00