Commit graph

41403 commits

Author SHA1 Message Date
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
Alison Goryachev
6d234d1765
[CCR] Replace EuiCodeEditor with EuiCodeBlock (#100122) (#100415) 2021-05-20 15:57:43 -04:00
Stratoula Kalafateli
e72ddfa483
[TSVB] Update TSVB sample viz with the default timerange mode (#100376) (#100407) 2021-05-20 12:54:03 -04:00
Kibana Machine
f820c78760
[Dashboard] Embeddable Migrations for By Value Panels (#99715) (#100364)
* Implemented embeddable by value migrations

Co-authored-by: Devon Thomson <devon.thomson@hotmail.com>
2021-05-20 12:34:15 -04:00
Kibana Machine
3e2b1fb9ab
Add back install button for integrations that aren't installed yet (#100370) (#100400)
Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-05-20 15:01:57 +00:00
Kibana Machine
ac09981bb6
Refactor away from expected error. Handle 404 as any other error. (#100383) (#100398)
Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>
2021-05-20 10:59:53 -04:00
Ignacio Rivas
f6b686490d
[Ingest pipelines] fix default paramenter for ignore_missing in csv processor (#100316) (#100396)
* fix: set ignoreMissingField to true by default
* Add missing serializer to trim fieldConfig

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-20 10:51:59 -04:00
Alison Goryachev
186fdf9733
Rename client integration test folders (#100119) (#100395) 2021-05-20 10:50:26 -04:00
Kaarina Tungseth
0cec744242
[DOCS] Fixes Discover link on runtime fields page (#100335) (#100402) 2021-05-20 06:51:59 -07:00
Pierre Gayvallet
3e1e047bc4
[7.x] Migrate joi to 17.4.0 and adapt the codebase (#99899) (#100378)
* Migrate `joi` to `17.4.0` and adapt the codebase  (#99899)

* bump joi to 17.4.0, start adapting stuff

* remove custom validation rule, adapt instead

* fix error handling

* fix error handling again

* fix strings type & validation

* fix buffers and arrays

* fix bytes

* fix bytes_size type

* update conditional_type error messages in tests

* fix duration and map types

* first attempt to fix union type error messages

* revert conditional type assertions back to master state

* fix object type

* fix record type

* fix stream types

* rename test files to match sources

* fix union type tests

* temporary adapt feature/home usages of Joi

* fix lint

* adapt test assertion

* fix http config schema validation

* fix @kbn/test Config class

* fix config again

* fix reporting schema tests

* fix security solution schema

* adapt url tests

* remove useless comment

* remove space

* typo

* review comments
# Conflicts:
#	src/core/server/http/__snapshots__/http_config.test.ts.snap

* allow '0' value for server.host

* fix config def

* update snapshots
2021-05-20 09:04:31 -04:00
Jean-Louis Leysens
3629e76251
[7.x] [Screenshot mode] Create plugin to provide "screenshot mode" awareness (#99627) (#100331)
* [Screenshot mode] Create plugin to provide "screenshot mode" awareness (#99627)

* initial version of the screenshot mode service

* First iteration of client side of screenshot mode plugin

Also hooked it up to the chromium browser imitating the preload
functionality of electron to set up the environment before
code runs.

* First implementation of server-side logic for detecting
screenshot mode

* fix some type issues and do a small refactor

* fix size limits, docs and ts issues

* fixed types issues and made sure screenshot mode is correctly detected on the client

* Moved the screenshot mode header definition to common
Added a server-side example for screenshot mode
Export the screenshot mode header in both public and server

* move require() to screenshotMode plugin

* Update chromium_driver.ts

* cleaned up some comments, minor refactor in ReportingCore and
changed the screenshotmode detection function to check for a
specific value.

* fix export

* Expanded server-side screenshot mode contract with function that
checks a kibana request to determine whether we in screenshot
mode

* added comments to explain use of literal value rather than external reference

* updated comment

* update reporting example

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/reporting/server/core.ts
#	x-pack/plugins/reporting/server/plugin.ts

* satisfy for tslint formatting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-20 07:58:50 -04:00
Michael Dokolin
58d05a05e3
[Reporting] Add logging of CPU usage and memory consumption by Chromium (#99109) (#100384)
* Add logging of CPU usage by chromium
* Add logging of memory consumption by chromium
* Add PDF report byte length logging
* Add PNG report byte length logging
# Conflicts:
#	x-pack/plugins/reporting/server/browsers/chromium/driver_factory/index.ts
2021-05-20 07:52:21 -04:00