Commit graph

15166 commits

Author SHA1 Message Date
Marco Liberati 9bbf1faf4e
[Lens] Rename table dimensions (#96602)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 16:56:24 +02:00
Vadim Dalecky 1f9700ec65
feat: 🎸 enable drilldown actions in "edit" mode (#96023)
* feat: 🎸 enable drilldown actions in "edit" mode

* style: 💄 remove unused import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 16:44:48 +02:00
Alexey Antonov 98f40a216a
[TSVB] Visualize runtime fields (#95772)
* [TSVB] Visualize runtime fields

* fix CI

* Update visualization_error.tsx

* Update build_request_body.ts

* fix group by for table view

* fix issue on switching the index pattern mode

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 09:56:28 -04:00
Shahzad a2c47ef5f5
[Exploratory View]Additional metrics for kpi over time (#96532) 2021-04-12 15:53:53 +02:00
John Schulz c40121151f
[Fleet] UI changes on hosted policy detail view (#96337)
## Summary

Fixes several items from https://github.com/elastic/observability-design/issues/32

- Agent policy detail page
  - [x] Integrations tab: 1a) Show a lock icon with hover tooltip next to host policy name
  - [x] Integrations tab: 7a) hide the "Add integration" button
  - [x] Integrations tab: 7b) hide the "delete integration" action which appears in the [...] actions menu
  - [x] Settings tab: 5a) Do not show the “Delete policy” section for Hosted agent policies
  - [x] Settings tab: 5b) Disable the "name" and "description" inputs
 - Agents detail page
   - [x] 2b) remove the "actions" button in the page header (top right)

## Screenshots

<details><summary>Agent policy detail page - Integrations tab</summary>
<ul>
<li>1a) Show a lock icon with hover tooltip next to host policy name</li>
<li>7a) hide the "Add integration" button</li>
<li>7b) hide the "delete integration" action which appears in the [...] actions menu</li>
</ul>

<h3>Non-hosted policy</h3>
<img width="1186" alt="Screen Shot 2021-04-08 at 1 30 24 PM" src="https://user-images.githubusercontent.com/57655/114071393-0eade000-986f-11eb-847f-0c64c7d2aa5e.png">

<h3>Hosted policy</h3>
<img width="1184" alt="Screen Shot 2021-04-08 at 1 29 26 PM" src="https://user-images.githubusercontent.com/57655/114071389-0eade000-986f-11eb-9501-332509b0a85d.png">

</details>

<details><summary>Agent policy detail page - Settings tab</summary>

<ul>
<li>5a) Do not show the “Delete policy” section for Hosted agent policies</li>
<li>5b) Disable the "name" and "description" inputs</li>
</ul>

<h3>non-hosted policy: items available</h3>
<img width="1209" alt="Screen Shot 2021-04-07 at 1 24 39 PM" src="https://user-images.githubusercontent.com/57655/114069262-cdb4cc00-986c-11eb-84c8-926c98a75d47.png">

<h3>Hosted policy: items hidden / disabled</h3>
<img width="1228" alt="Screen Shot 2021-04-07 at 1 24 23 PM" src="https://user-images.githubusercontent.com/57655/114069259-cdb4cc00-986c-11eb-82fc-39509c6ef9fe.png">

</details>

<details><summary>Agents detail page: 2b) remove the "actions" button in the page header (top right)</summary>

<h4>shown on non-hosted policy</h4>
<img width="1408" alt="Screen Shot 2021-04-08 at 9 55 06 AM" src="https://user-images.githubusercontent.com/57655/114068747-38193c80-986c-11eb-9fb6-b8f9eb77a1d6.png">

<h4>hidden on hosted policy</h4>
<img width="1345" alt="Screen Shot 2021-04-08 at 9 55 31 AM" src="https://user-images.githubusercontent.com/57655/114068748-38b1d300-986c-11eb-9eee-ee15f8acd718.png">

</details>

### Checklist
- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)


Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 09:43:06 -04:00
Nicolas Chaulet 1de77ccb4e
[Fleet] Create enrollment API keys as current user (#96464) 2021-04-12 08:27:54 -04:00
Marco Liberati d2012c0ce3
[Lens] Make table and metric show on top Chart switcher (#96601)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 14:25:15 +02:00
Tiago Costa a05a66ccce
skip flaky suite (#96691) 2021-04-12 12:49:47 +01:00
Marco Liberati 9946125ab4
[Lens] Hide "Show more errors" once expanded (#96605)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 12:30:11 +02:00
Jonathan Budzenski 51ba5f106d skip flyout test, add linked issue #96708 2021-04-09 13:12:11 -05:00
Jonathan Budzenski d6fa48b2e8 skip copy_to_space_flyout_internal.test.tsx #96708 2021-04-09 13:09:09 -05:00
Larry Gregory 6970b30f0c
Document telemetry fields for stack security features (#96638) 2021-04-09 16:43:58 +01:00
Liza Katz b099a0bba2
[Partial Results] Move inspector adapter integration into search source (#96241)
* Move inspector adapter integration into search source

* docs and ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 18:29:15 +03:00
Dario Gieselaar dfaf3ac8f5
[RAC] Rule registry plugin (#95903)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 10:35:44 +02:00
Dario Gieselaar 012f1c199b
[APM] Run precommit tasks sequentially (#96551)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 08:57:13 +02:00
Steph Milovic 17b460d58d
[Security Solution] [Cases] Small UI bugfixes (#96511) 2021-04-08 18:36:46 -06:00
Yuliia Naumenko b54d5fc909
[Actions UI] Changed PagerDuty action form UI to fill payload fields according to the API docs for Resolve and Acknowledge events. (#96363)
* [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>
2021-04-08 17:21:26 -07:00
Davey Holler 0bf57a2447
App Search: Result Component Updates (#96184)
* 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>
2021-04-08 15:51:39 -07:00
ymao1 71ed148cfe
[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>
2021-04-08 18:18:44 -04:00
Spencer 3336db0baa
[uiSettings/theme/version] override label to aid KBN_OPTIMIZER_THEMES discovery (#96069)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 15:13:39 -07:00
Jean-Louis Leysens cbc0fa0289
[Ingest Pipelines] Add generated copy for all processors (#95507)
* - 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>
2021-04-08 23:43:38 +02:00
dmlemeshko aab675b1ba
[loa testing] wait 60 sec b/w simulations (#96612)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 23:07:08 +02:00
Quynh Nguyen 4a54188355
[ML] Add commonly used ranges to date picker (#96501) 2021-04-08 14:18:03 -05:00
gchaps 767567fb47
[DOCS] Updates advanced settings doc (#93968)
* [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>
2021-04-08 12:11:47 -07:00
Andrew Goldstein e871e84365
[Security Solution] Fixes the Read Less button rendering below the fold (#96524)
## [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`
2021-04-08 12:50:31 -06:00
Thom Heymann 4af344a9b0
Improved role management error handling for partially authorized users (#96468)
* Role management: Gracefully handle underprivileged users

* Removed redundant condition
2021-04-08 19:44:57 +01:00
Jonathan Budzenski 869fd9355a skip a11y spaces tests. #77933, #96625 2021-04-08 13:36:45 -05:00
Dominique Clarke 06e01c20e7
[Uptime] Remove Location map from Uptime monitor details page (#96517)
* remove LocationMap from Uptime Monitor details
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 14:29:51 -04:00
Jonathan Budzenski 91e1acd98d skip flaky test blocking snapshot promotion. #96515 2021-04-08 13:23:05 -05:00
Jonathan Budzenski 128ed7f676 skip flaky a11y test 2021-04-08 12:39:15 -05:00
Sandra Gonzales f56a646b8e
[Metrics UI] change composite.size of snapshot ES query to improve speed (#95994)
* 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
2021-04-08 13:36:15 -04:00
Quynh Nguyen d904f8d1bb
[ML] Add Anomaly charts embeddables to Dashboard from Anomaly Explorer page (#95623)
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 12:22:52 -05:00
Quynh Nguyen 955c46ba5e
[ML] Add ML plugin contract mocks (#96265)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 12:15:27 -05:00
Quynh Nguyen 2582522c66
[ML] Stabilize Anomaly Explorer embeddable functional tests (#96421)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 11:08:45 -05:00
Jonathan Budzenski 879af7f14b skip flaky test. #77933 2021-04-08 11:05:13 -05:00
Walter Rafelsberger 6b4becfe02
[ML] Data Frame Analytics: Don't allow user to pick an index pattern or saved search based on CCS. (#96555)
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.
2021-04-08 17:46:45 +02:00
Sébastien Loix c9d19fd43b
[ILM] Fix frozen phase min_age (de)serialization (#96544) 2021-04-08 16:41:27 +01:00
spalger afc1fd022e skip entire fleet_api_integration suite to unblock es promotion (#96515) 2021-04-08 08:14:01 -07:00
Kevin Qualters de8ba08ac0
[Security Solution][Rac][Tgrid] Use correct prop name for disabling timeline context menu button (#96453)
* 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 10:44:31 -04:00
Pete Harverson 75e4aeedbc
[ML] Excludes metadata fields from jobs caps fields service response (#96548) 2021-04-08 14:16:31 +01:00
Yulia Čech 0316787ead
[Remote clusters] Cloud deployment form when adding new cluster (#94450)
* Implemented in-form Cloud deployment url input

* Fixed i18n files and added mode switch back for non-Cloud

* Added cloud docs link to the documentation service, fixed snapshot tests

* Fixed docs build

* Added jest test for the new cloud url input

* Added unit test for cloud validation

* Fixed eslint error

* Fixed ts errors

* Added ts-ignore

* Fixed ts errors

* Refactored connection mode component and component tests

* Fixed import

* Fixed copy

* Fixed copy

* Reverted docs changes

* Reverted docs changes

* Replaced the screenshot with a popover and refactored integration tests

* Added todo for cloud deployments link

* Changed cloud URL help text copy

* Added cloud base url and deleted unnecessary base path

* Fixed es error

* Fixed es error

* Changed wording

* Reverted docs changes

* Updated the help popover

* Deleted unneeded fragment component

* Deleted unneeded fragment component

* Updated tests descriptions to be more detailed

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 14:18:18 +02:00
ymao1 03a51f4eec
[Alerting] Update feature privilege display names (#96083)
* Updating feature display names

* Updating feature display names
2021-04-08 07:47:29 -04:00
Dario Gieselaar bfc940c146
[APM] Extract server type utils to package (#96349) 2021-04-08 13:26:43 +02:00
Dima Arnautov d9ef5c28d5
[ML] Fix switches positioning on the Transform and DFA wizards (#96535)
* [ML] fix edit runtime mapping switch positioning

* [ML] fix transform wizard switches
2021-04-08 07:10:52 -04:00
Anton Dosov 7984745a9d
Don't trigger auto-refresh until previous refresh completes (#93410) 2021-04-08 13:00:11 +02:00
hardikpnsp d39701fc97
[Telemetry] enforce import export type (#96487)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 06:37:01 -04:00
Mike Côté 81ba969cfa
Skip rendering empty add action variables button as disabled (#96342)
* Skip rendering empty add action variables button

* Fix jest tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 05:24:16 -04:00
spalger f9317281d1 skip suite blocking es promotion (#96515) 2021-04-08 02:09:29 -07:00
Justin Ibarra bc14f2415d
[Detection Rules] Resolves regression where Elastic Endgame rules would warn about unmapped timestamp override field (#96394)
related to https://github.com/elastic/detection-rules/pull/1082

## Summary

Endgame promotion rules in Kibana/7.12 are at version 5 and have timestamp_override defined (which should not be). These same rules are at version 4 in the detection-rules repo 7.12 branch and kibana/master and timestamp_override is not defined. These updates are targeted for 7.12.1

There most likely was an issue with the maze of backports and interlaced updates.

To fix the rules, they need to be reconciled across:

detection-rules 7.12 & main
kibana 7.12.1 and master
bump detection-rules/7.12 to v6 -> PR to kibana/master -> backport to 7.12.1
### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2021-04-07 23:53:02 -06:00
Shahzad 391e92ead3
[Exploratory view] Use index patterns for formatting (#96280) 2021-04-08 07:16:23 +02:00