Commit graph

41414 commits

Author SHA1 Message Date
Kibana Machine 58f7eff1ce
[ftr] migrate "fieldEditor" to FtrService class (#100597) (#100627)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 00:06:13 -04:00
Kibana Machine a6e01e0356
[ftr] migrate "filterBar" service to FtrService class (#100601) (#100626)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 00:03:04 -04:00
Yuliia Naumenko e466e0f123
Merge remote-tracking branch upstream/master (#100625) 2021-05-25 23:59:37 -04:00
Kibana Machine 194ae761df
[build] Clean jest configs (#100594) (#100624)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-05-26 03:25:06 +00:00
Kibana Machine 88d2f6480b
refact(NA): remove extra pkg_npm target and add specific target folders for @kbn/analytics on Bazel (#100569) (#100620)
* refact(NA): remove extra pkg_npm target and add specific target folders on @kbn/analytics

* chore(NA): update import on target_types

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-25 21:50:27 -04:00
Nathan Reese 621919b338
[Maps] convert LayerPanel to typescript (#100481) (#100600)
* [Maps] convert LayerPanel to typescript

* layer_errors

* style panel

* layer_panel component

* rename to EditLayerPanel

* clean up

* fix scss imports for rename

* one more scss path clean up

* fix EditLayerPanel errors
2021-05-25 17:29:45 -04:00
Spencer b601c5c3b4
[ftr] implement FtrService classes and migrate common services (#99546) (#100585)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/common/services/deployment.ts
#	test/common/services/index.ts
#	test/common/services/saved_object_info.ts
#	test/functional/apps/visualize/index.ts
2021-05-25 16:31:02 -04:00
Alison Goryachev fa7dc5c9e4
[Upgrade Assistant] Address copy feedback (#99632) (#100580) 2021-05-25 16:06:14 -04:00
Kibana Machine 8c27154e27
Open/Closed filter for observability alerts page (#99217) (#100578)
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-05-25 15:32:49 -04:00
Caroline Horn f07d18ccf3
[KibanaPageLayout] Solution Nav specific styles & props (#100089) (#100576)
* Fixing sticky nav
* Adding some side bar styles
* Added a built-in solution nav title with avatar icon
* Adding tutorial docs
* Added KibanaPageTemplateSolutionNavAvatar
* Added KibanaPageTemplateSolutionNav
* Increased limit to `core` / `kibanaReact` plugin because of additional CSS
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-05-25 15:30:55 -04:00
Kibana Machine 5102aa7306
One liner to expose the EQL query for debugging for users (#100565) (#100575)
## Summary

Expose the EQL query in the Kibana logs for detections when they are being run when Kibana in debug mode.

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-05-25 15:29:08 -04:00
Sergi Massaneda 311db21456
[Security Solution] Application register deepLinks instead of meta.searchDeepLinks (#100129) (#100573)
* refactor meta.searchDeepLinks to deepLinks and remove meta

* remove comments

* obsolete snapshot removed

* documentation updated

* [deepLinks] refactor ml nav ids and translation keys

* flaky test fix attempt [sync with glo]

* default deepLinks navLinkStatus

* api_docs restored

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-25 14:54:54 -04:00
Stratoula Kalafateli 274ca392e3
[XY] [Lens] Adds opacity slider (#100453) (#100568)
* [XY] Add opacity slider and dots size slider

* [Lens] Adds fill opacity slider

* Make the new sliders to appear fullwidth

* Change property name and fix unit tests

* Add a comment

* useDebouncedValue hook

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-25 13:56:22 -04:00
Jean-Louis Leysens ecbdb51955
[Reporting] ILM policy for managing reporting indices (#100130) (#100562)
* wip; added logic for creating ILM policy at start up

* added log when ilm policy is not created

* added test for start function

* updated ilm policy to not delete data

* actually update jest snapshots and remove unused import

* updated the ilm policy, removed the min_age for the hot phase

* update jest snapshot

* removed TODO comment

* debug log -> info log

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/reporting/server/lib/store/store.test.ts
#	x-pack/plugins/reporting/server/lib/store/store.ts
2021-05-25 13:35:32 -04:00
Kaarina Tungseth 8ee2bfc9a7
Docs/7.13 security update (#100574)
* [DOCS] Adds the security updates to the 7.13 release notes

* Corrects URL redirection flaw affected versions
2021-05-25 10:26:57 -07:00
Kibana Machine caa2f814a7
[Maps][Vega] Isolate mapbox-gl library into bazel package (#99931) (#100553)
Co-authored-by: Thomas Neirynck <thomas@elastic.co>
2021-05-25 15:44:16 +00:00
Kibana Machine 7db9be140c
Removes event filters feature flag and exposes this feature by default (#100389) (#100550)
* Removes event filters feature flag and expose this feature by default

* Fixes manifest unit test

* Fixes functional test adding event filter list case

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

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
2021-05-25 15:15:14 +00:00
Lisa Cawley f841748f76
[DOCS] Remove redundant maps attribute (#100426) (#100556) 2021-05-25 08:01:21 -07:00
Sandra Gonzales 1a6260b629
[Metrics UI] use EuiTooltip to control tooltip component and simplify ConditionalTooltip (#99224) (#100546)
* use EuiTooltip to control tooltip component

* fix style

* update unit tests

* add functional waffle map tooltip tests

* remove reload() from useEffect

* fix type

* update unit test
2021-05-25 10:44:01 -04:00
Kaarina Tungseth 31b1cf7226
[7.x] [DOCS] Removes 7.13 coming tags from release notes (#100496) 2021-05-25 07:22:56 -05:00
Kibana Machine b25c577ec1
[test/functional/context] include missing await (#100422) (#100529)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-25 04:56:01 -04:00
Kibana Machine 8d82359c3b
[Security Solution] Utilizes constants package and deletes duplicate code (#100513) (#100520)
## Summary

Utilizes constants package and deletes duplicate code

* Renames the `securitysolution-constants` to be `securitysolution-list-constants` to be specific
* Deletes duplicated code found during cleanup
* Moves more tests into the packages found along the way with the duplicated code
* Moves `parseScheduleDates` from `@kbn/securitysolution-io-ts-types` to `@kbn/securitysolution-io-ts-utils`

### Checklist

- [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

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-05-24 22:37:30 -04:00
Kibana Machine e8af13643b
[Fleet] Add clear button to search input bars (#100476) (#100517)
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-05-25 00:22:28 +00:00
Kibana Machine c7f827666a
[Fleet] Fix incomplete agent count message on policy tab (#100497) (#100515)
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-05-24 20:21:09 -04:00
Kibana Machine a2c2f9823c
[Fleet] Add color distinction between offline and inactive agents (#100490) (#100516)
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-05-24 20:20:37 -04:00
Kibana Machine f830abb3c3
[Alerting] Update README (#100478) (#100502)
* Updating readme

* Updating readme

* Fix plugin list docs

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-05-24 18:17:35 -04:00
Kaarina Tungseth b34b129cb8
[DOCS] Updates release version for release notes (#100503) 2021-05-24 15:40:51 -05:00
Kaarina Tungseth acdd723d4a
[DOCS] Dashboard changes for 7.13 (#99681) (#100498)
* [DOCS] Dashboard changes for 7.13

* Review comments

* Review comments

* Fixes link

* Fixes lens link
2021-05-24 13:23:37 -07:00
Kaarina Tungseth b712e6b8e2
[7.x] [DOCS] 7.13 release notes (#100493)
* [DOCS] 7.13.0 release notes

* [DOCS] Fix capitalization in ML PRs

* Documenting issue 100285 as a known issue for 7.13.

* [DOCS] Adds another featured ML PR

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Review comments

* [7.x] [DOCS] 7.13 release notes

* Adds back pre 7.13 rn

Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: nastasha.solomon <nastasha.solomon@elastic.co>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
Co-authored-by: DeDe Morton <dede.morton@elastic.co>
Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>
2021-05-24 14:59:09 -05:00
Kibana Machine ca724ab1fa
Remove chrome.navLinks.update (#99633) (#100483)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-05-24 15:55:43 -04:00
Quynh Nguyen 1a6d9312bc
[ML] Fix missing selected-interval styling for Explorer anomaly charts and mismatched scheduled markers styling (#100272) (#100479)
* [ML] Fix missing selected-interval sass

* [ML] Only show interval box in explorer page and not in dashboard

* [ML] Remove console

* [ML] Move showSelectedInterval up

* [ML] Update snapshot

* [ML] Update styling of scheduled events to match and to be visible

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-24 14:55:04 -04:00
Kibana Machine 1385c70b8c
Add remaining descriptions to security usage telemetry schema. (#100454) (#100473)
Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>
2021-05-24 14:39:28 -04:00
Jorge Sanz 2da39ff44e
[Maps][Docs] Fix ems server config path in compose example (#100463) (#100484) 2021-05-24 11:19:47 -07:00
Kibana Machine e7434b4d24
[dev_docs] How to build a kibana distributable tutorial (#99827) (#100466)
* docs(NA): [dev docs] Add how to build a Kibana distributable tutorial

* docs(NA): including last step about building a kibana distributable tutorial

* docs(NA): add dev docs images

* docs(NA): include image for target folder with os packages and distributable

* docs(NA): apply feedback received on the PR review

* chore(NA): add rpm to brew

* chore(NA): update dev_docs/tutorials/building_a_kibana_distributable.mdx

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>

* chore(NA): update dev_docs/tutorials/building_a_kibana_distributable.mdx

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>

* docs(NA): update docker names to capitalized

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-05-24 12:56:52 -04:00
Kibana Machine c48fd4ba03
Bump Node.js from version 14.16.1 to 14.17.0 (#100314) (#100336)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-05-24 16:38:02 +00:00
Kibana Machine 735ab923f1
security solution and lists to TS incremental builds (#100447) (#100464)
* lists to ts incremental builds

* security_solution to ts incremental

* import ResizeObserver explicitly as it is not declared in dom types

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-05-24 12:30:40 -04:00
Kibana Machine ac96279efe
[Alerting] Passing additional rule fields to rule executor (#99819) (#100462)
* Passing additional rule fields to rule executor

* Fixing types check

* Api docs

* Adding enabled and actions

* Api docs

* Encapsulating rule information into RuleConfig type

* Functional tests

* Functional tests

* Adding producer, ruleTypeId and ruleTypeName

* Api docs

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

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-05-24 12:19:21 -04:00
Kibana Machine 2057412fc6
[Security Solution][Endpoint] Add host isolation action to the endpoint list (#100240) (#100460)
* Refactor TableRowAction into separate component and enable menu close on item click
* add `show=isolate` to valid url param string for details panel
* Reusable BackToEndpointDetailsFlyoutSubHeader component
* new FlyoutBodyNoTopPadding compoent + refactor Policy response to use it
* Endpoint Isolate flyout panel
* New Service for doing isolate/unisolate of hosts
* Refactor detection isolate API call to use common method from new service

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2021-05-24 11:45:58 -04:00
Thomas Neirynck 02c4133c98
[Maps] Allow layers to be excluded from fit to data (#100098) (#100459) 2021-05-24 11:39:58 -04:00
Brian Seeders f1aef4eff2 skip flaky suite (#100445) 2021-05-22 18:07:02 -04:00
Kibana Machine b2297d841d
SO migrations: Improves transformation error creation and testing (#100297) (#100435)
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2021-05-21 22:47:39 -04:00
Kibana Machine c4b91ace78
Remove circular dependency between features and security (#100206) (#100341)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-05-21 16:33:37 -04:00
Kibana Machine 0f5a32c429
Ban use of lodash.template (#100277) (#100332)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-05-21 18:39:20 +00:00
spalger 565a30831c skip failing suite (#98352)
(cherry picked from commit 3ad46bd1ae)
2021-05-21 09:40:36 -07:00
Kibana Machine c635144ebe
chore(NA): correctly setup dep order on js_library to fix windows build (#100420) (#100428)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-20 20:57:21 -04:00
Matthew Kime 292563d395
[7.x] [index patterns] deprecate IIndexPattern and IFieldType interfaces (#100013) (#100337)
* [index patterns] deprecate IIndexPattern and IFieldType interfaces (#100013)

* deprecate IIndexPattern and IFieldType

* update api docs

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

* update docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-20 20:23:26 -04:00
Kibana Machine f7d8775477
[data.search] Add Kibana request to search strategy dependencies (#98566) (#100425)
* [data.search] Add Kibana request to search strategy dependencies

* Don't register internal strategy

* Update docs

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-05-20 19:06:36 -04:00
Kibana Machine 0d0d0df204
Reduce the lists limits to the current max + 15kb (#100419) (#100421)
## Summary

Reduces the lists limits to the current max + 15kb

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-05-20 18:30:36 -04:00
Kibana Machine 533d32f7fa
Adds two more packages and moves files into the packages (#100375) (#100418)
## Summary

* Adds package `kbn-securitysolution-list-api`
* Adds package `kbn-securitysolution-list-hooks`
* Moves files into the packages
* Moves a few additional types into the other packages such as the `kbn-securitysolution-io-ts-types` package to remove more things from the shard_export/shared_import between lists and security solution
* Removes more duplicated code

### Checklist

- [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

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-05-20 16:33:34 -04:00
Stacey Gammon 8ee9c3abc4
Fix a bunch of bugs with APIDocs system (#99589) (#100417)
* Remove custom code, add in a hack

* remove artifical limit

* Fix arrow functions in interfaces not having children

* Update docs

* Update api docs after merge from master

* update api docs after merge from master

* update api docs
# Conflicts:
#	api_docs/core.json
#	api_docs/data.json
#	api_docs/data_index_patterns.json
#	api_docs/deprecations.mdx
#	api_docs/features.json
#	api_docs/licensing.json
#	api_docs/reporting.json
#	api_docs/spaces.json
2021-05-20 16:11:31 -04:00