Commit graph

43800 commits

Author SHA1 Message Date
ymao1 874dfc62f4
[Actions] Rename tls.* configs to ssl.* (#102902)
* Changing tls to ssl

* Changing tls to ssl

* Updating docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 14:37:31 -04:00
Quynh Nguyen 73382cebaf
[ML] Add Index Pattern Management to Index Data Visualizer (#101316)
* [ML] Add index pattern editor flyout

* [ML] Add indexPatternField editor plugin as opt dependency

* [ML] Remove lens from ML's dependency

* [ML] Fix custom display name cause field to be missing

* [ML] Add delete option

* [ML] Fix aggregatableFields logic

* [ML] Add functional tests

* [ML] Fix labels & consolidate addRuntimeFields

* [ML] Add tooltip to show or hide distributions

* Consolidate refreshPage

* [ML] Fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 13:36:26 -05:00
Constance 391d0eca27
[App Search] Remove external "Launch App Search" button (#100815)
* Remove markup

* Remove i18n translations

* Remove telemetry metric
2021-06-23 14:30:36 -04:00
Wylie Conlon 4d514c6db6
[Lens] Escape field names in formula (#102588)
* [Lens] Escape field names in formula

* Fix handling of partially typed fields with invalid chars

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 14:20:50 -04:00
Josh Dover 524401973f
Add timeouts and setup enforcement for custom plugins statuses (#77965) 2021-06-23 13:58:10 -04:00
Constance 045a32b054
[Enterprise Search] Support active nav links that have both subnav & non-subnav child routes (#103036)
* Update generateNavlink to take an `items` subNav and use it to determine isSelected

+ change getNavLinkActive to early returns
+ tweak tests for readability

* Update WS nav Sources link
- to show active on creation routes but not on single source routes

* Update AS nav Engines link
- should eventually show active on creation routes but not on single engine routes

* Update AS engine creation routing
- so that it correctly shows as a child route of the Engines link

+ update breadcrumbs
2021-06-23 10:22:04 -07:00
Nicolas Chaulet 3864fe1559
[Fleet] Add global component template to all fleet index templates (#102225) 2021-06-23 13:18:37 -04:00
Shahzad 293dc95f8a
[Exploratory view] Refactor code for multi series (#101157)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 19:07:57 +02:00
Tyler Smalley 52d5b9d51d
[docker] Removes setting with hyphen (#103085)
This setting is causing an error to be throw as it's being used in an environment variable.

Created https://github.com/elastic/kibana/issues/103084

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-23 12:58:51 -04:00
Thomas Neirynck 3c780a8505
[Maps] Use id-values from client-manifest to suggest layers (#102788) 2021-06-23 18:56:15 +02:00
Nathan Reese 81fe54109e
Mask timeslider (#102046)
* [Maps] timeslider feature mask

* create mask

* include timeField in documntes pulled from es

* fix edge case where timerange is different then timeslice

* tslint

* fix can_skip_fetch jest tests

* simplify source mock

* fix functional tests

* fix docvalue_fields functional test

* review feedback

* do not add method to IVectorLayer interface

* fix merge artifact

* review feedback

* review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 10:33:57 -06:00
Devon Thomson 3dc59a30aa
Lens on Dashboard 7.12.1 Smoke Tests (#102667)
* added smoke tests for lens by value panels on dashboard
2021-06-23 12:32:11 -04:00
Jonathan Buttner 28162810ad
Fixing the generator to use bulk api to install endpoint package (#103094) 2021-06-23 12:30:12 -04:00
Pablo Machado 5b0d325d7e
Fix breadcrumbs path reopens timeline when timeline modal is open (#101568) 2021-06-23 12:27:55 -04:00
Alexey Antonov 12895d8bd0
[TSVB] fix tooltip on annotations with 's are not displayed correctly (#102892)
* [TSVB] tooltip on annotations with 's are not displayed correctly

Closes: #102631

* 'handlebars/dist/handlebars' -> 'handlebars'
2021-06-23 18:48:22 +03:00
Alexey Antonov fa5216fd79
[TSVB] Weird behavior after upgrading to 7.13.1 #101590 (#102942)
Closes: #101590
2021-06-23 18:46:43 +03:00
Matthias Wilhelm dbbfdbcbc0
[Discover] Dont trigger onChange when the same index pattern is selected (#102652) 2021-06-23 17:18:20 +02:00
Michael Olorunnisola 702661d34f
Implement new security solution wrapper (#100405)
Co-authored-by: cchaos <caroline.horn@elastic.co>
2021-06-23 11:00:29 -04:00
Matthias Wilhelm 77b5b236e5
[Discover] Unskip and improve empty results query functional test (#102995) 2021-06-23 16:52:49 +02:00
Stratoula Kalafateli a96eaa480f
[Visualize] Adds an info icon tip to the update button (#101469)
* [Visualize] Adds an info tooltip to the update button

* Add iconTip to the visEditor update button

* Move to the left and change the icon

* Update test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 17:52:15 +03:00
Nathan Reese 91295fddd7
[Maps] remove undefined from map embeddable by_value URL (#102949)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 08:45:02 -06:00
Dmitry Tomashevich 4fa939d9c9
[Discover] Improve flaky test - doc navigation (#102859)
* [Discover] test flakiness

* [Discover] wait for doc loaded

* [Discover] update related test

* [Discover] clean statement
2021-06-23 17:40:58 +03:00
Nathan Reese b4b17cfdec
[Maps] show radius when drawing distance filter (#102808)
* [Maps] show radius when drawing distance filter

* show more precision when radius is between 10km and 1km

* move radius display from line to left of cursor

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 08:37:15 -06:00
Nathan Reese dd907e5487
[maps] fix user has to click back button twice to navigate back to dashboard from create maps screen (#103002)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 08:36:46 -06:00
Christiane (Tina) Heiligers bb4e0cc1fc
Adds a versioned class name to a root DOM element (#102443) 2021-06-23 07:21:26 -07:00
David Sánchez eb9726987c
[Security Solution][Endpoint] Hide endpoint event filters list in detections tab (#102644)
* Add event filters filter on exception list to hide it in UI

* Fixes unit test and added more tests for showEventFilters

* fixes test adding showEventFilters test cases

* Pass params as js object instead of individual variables

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 16:04:23 +02:00
Wylie Conlon f49ecb3d1a
Update chart reference docs (#102430)
* Update chart reference docs

* Update from feedback

* Update from review feedback

* Update more from comments

* Apply left alignment
2021-06-23 09:53:16 -04:00
Alejandro Fernández Gómez 6d8f53d8d0
Adjust copy for non-removable integrations/packages (#103068) 2021-06-23 15:50:39 +02:00
Nicolas Chaulet 771f7de87b
[Fleet] Improve default port experience in the settings UI (#102982) 2021-06-23 08:26:46 -04:00
Liza Katz f8a03829ea
Allow restored session to run missing searches and show a warning (#101650)
* Allow restored session to run missing searches and show a warning

* tests and docs

* improve warning

* tests for new functionality
NoSearchIdInSessionError type

* managmeent tests

* Update texts

* fix search service pus

* link to docs

* imports

* format import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 15:20:21 +03:00
Gloria Hornero b7aaa1fb91
Cypress baseline for osquery (#102265)
* Cypress baseline for osquery

* fix types

* Update visual_config.ts

Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 13:59:35 +02:00
Joe Reuter b652ef677f
[Lens] Do not add math columns for pass-through operations (#102656) 2021-06-23 13:48:48 +02:00
Joe Reuter 2ab5d6bc46
disable missing switch for non-string fields (#102865) 2021-06-23 13:47:19 +02:00
Joe Reuter 498df213fa
fix time shift ux issues (#102709) 2021-06-23 13:46:59 +02:00
Vadim Dalecky 1386c330fc
Discover locator (#102712)
* Add Discover locator

* Add Discover locator tests

* Expose locator for Discover app and deprecate URL generator

* Use Discover locator in Explore Underlying Data

* Fix explore data unit tests after refactor

* fix: 🐛 update Discover plugin mock

* style: 💄 remove any

* test: 💍 fix test mock

* fix: 🐛 adjust property name after refactor

* test: 💍 fix tests after refactor

Co-authored-by: Vadim Kibana <vadimkibana@gmail.com>
2021-06-23 13:25:37 +02:00
John Schulz 868ae59c93
[Fleet] Support user overrides in composable templates (#101769)
## Summary
Closes #90454
Closes https://github.com/elastic/kibana/issues/72959

 * Rename the component templates which are [installed for some packages](https://github.com/elastic/kibana/blob/master/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.ts#L197-L213) from `${templateName}-mappings` and `${templateName}-settings` to `${templateName}@mappings` and `${templateName}@settings`
 * When any package is installed, add a component template named `${templateName}@custom`
 * Any of above templates also include a `_meta` property with `{ package: { name: packageName } }`
 * On package installation, add any installed component templates to the `installed_es` property of the `epm-packages` saved object
 * On package removal, remove any installed component templates from the `installed_es` property of the `epm-packages` saved object

<details><summary>Kibana logs showing component templates added for package</summary>

```
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.file@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.registry@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [.logs-endpoint.diagnostic.collection@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.library@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.security@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.network@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.alerts@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.metrics@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.process@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.policy@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.metadata@mappings]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.registry@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [.logs-endpoint.diagnostic.collection@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.security@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.file@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.library@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.network@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.alerts@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.metrics@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.policy@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.process@custom]
   │ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.metadata@custom]
```

</details>

<details><summary>screenshot - component templates are editable in the Stack Management UI</summary>
<img width="1342" alt="Screen Shot 2021-06-17 at 4 06 24 PM" src="https://user-images.githubusercontent.com/57655/122465421-1502bb80-cf86-11eb-94f4-9880cb3ea844.png">
</details>


### Checklist

Delete any items that are not applicable to this PR.

- [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-06-23 06:57:39 -04:00
Tiago Costa 0477c4dae4
skip flaky suite (#84440) 2021-06-23 11:28:08 +01:00
Tiago Costa e1ec8b05b6
chore(NA): moving @kbn/optimizer into bazel (#102965)
* chore(NA): moving @kbn/optimizer into bazel

* chore(NA): fix source import from kbn optimizer

* chore(NA): update snapshots
2021-06-23 11:11:13 +01:00
Jonathan Budzenski 38be1d06bc
[cli] Add kibana-encryption-keys.bat (#102070)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 11:10:57 +01:00
Nicolas Chaulet a6bef93225
[OsQuery] fix usage collector when .fleet indices are empty (#102977) 2021-06-23 11:15:12 +02:00
Marco Liberati c6e697f38c
[Lens] Remove rank direction tooltip (#102886) 2021-06-23 10:27:43 +02:00
Marco Liberati 7733950bde
[Lens] Avoid suggestion rendering and evaluation on fullscreen mode (#102757) 2021-06-23 10:27:27 +02:00
Vadim Dalecky 1315521760
Ingest pipeline locator (#102878)
* feat: 🎸 implement ingest pipeline locator

* feat: 🎸 improve ingest pipeline locator

* feat: 🎸 register ingest pipeline locator

* refactor: 💡 use locator in expand_row component

* chore: 🤖 remove ingest pipelines URL generator

* fix: 🐛 correct TypeScript errors

Co-authored-by: Vadim Kibana <vadimkibana@gmail.com>
2021-06-23 10:23:28 +02:00
Matthias Wilhelm 12aa46fad9
[Discover] Unskip Discover large field number test (#100692) 2021-06-23 09:58:10 +02:00
Robert Oskamp 5a8e7407b4 [ML] Functional tests - temporarily skip close_jobs API tests 2021-06-23 09:42:09 +02:00
Ashokaditya b12ddfabf0
[Security Solution][Endpoint] Paginate actions log with infinite scroll (#102261)
* Show loading below the list when loading

fixes elastic/security-team/issues/1245

* use intersection observer to load data when callout is visible

fixes elastic/security-team/issues/1245

* remove unused `total` from API response

refs 4f7d18bee7

* toggle ability to paging based on API response and target intersection

fixes elastic/security-team/issues/1245

* use a invisible target

* display a message when end of log

fixes elastic/security-team/issues/1245

* remove search bar

fixes elastic/security-team/issues/1245

* refresh data

fixes elastic/security-team/issues/1245

* rename

refs 85e5add14e

* add refresh button to empty state

* add translations for copy

* remove refresh button

* load activity log for endpoint on activity log tab selection

fixes elastic/security-team/issues/1312

* reset paging correctly on activity log tab selection

* fix variable mixup

refs elastic/kibana/pull/101032/commits/c4e933a9c5954ce249942ca66bab380c1dfa79e2#diff-41a74ad41665921620230a0729728f3bf6e27a6f9dc302fb37b0d2061637c212R81

* fix react warning

refs 697a3c3bac

* clean up

review changes

* use the complicated flyout version instead of styled version

refs https://elastic.github.io/eui/#/layout/flyout#more-complicated-flyout
refs https://github.com/elastic/kibana/pull/99795/files#r635810660
refs c26a7d47b4

* Page only when scrolled (so that info message is shown after paging once)

fixes https://github.com/elastic/security-team/issues/1245#issuecomment-863440335

* add tests

fixes elastic/security-team/issues/1312
fixes elastic/security-team/issues/1245

* increase the parent container's height to ensure that the scroll target is well hidden below the footer

refs 48e3291681

* Update x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/reducer.ts

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>

* Update x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>

* address review changes

* cleanup callback and effect

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2021-06-23 09:19:13 +02:00
Jonathan Budzenski 3e952faf88 Revert "[alerting][actions] add task scheduled date and delay to event log (#102252)"
This reverts commit bb77fa6967.
2021-06-22 21:55:29 -05:00
Constance 01ac8d2d69
[App Search] Convert Synonyms page to new page template (#102828)
* Convert Synonyms page to new page template

* Update empty state for new page template

- Remove EuiPanel wrapper - KibanaPageTemplate does that automatically for us

- Include SynonymModal, required for header create button to work as expected

* Update router

* [UI polish] Proposed page description copy from Davey

- see 9807bf249a

* [UI polish] Add plus icon to create button

- To match other create buttons across app
2021-06-22 19:50:13 -07:00
Patrick Mueller bb77fa6967
[alerting][actions] add task scheduled date and delay to event log (#102252)
resolves #98634

This adds a new object property to the event log kibana object named
task, with two properties to track the time the task was scheduled to
run, and the delay between when it was supposed to run and when it
actually started. This task property is only added to the appropriate
events.

	task: schema.maybe(
	  schema.object({
	    scheduled: ecsDate(),
	    schedule_delay: ecsNumber(),
	  })
	),
2021-06-22 20:57:26 -04:00
Dominique Clarke 450ababee5
[Uptime] Refactor cert alerts from batched to individual (#102138)
* refactor cert alerts from batched to individual

* remove old translations

* create new certificate alert rule type and transition old cert rule type to legacy

* update translations

* maintain legacy tls rule UI to support legacy rule editing

* update translations

* update TLS alert content, rule type id, and alert instance id schema

* remove extraneous logic and format date content

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-22 20:56:43 -04:00