Commit graph

43029 commits

Author SHA1 Message Date
Spencer 111e15a054
[ftr] implement FtrService classes and migrate common services (#99546)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-25 09:25:09 -07:00
Stratoula Kalafateli d8c2594789
[XY] [Lens] Adds opacity slider (#100453)
* [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>
2021-05-25 18:56:29 +03:00
Jean-Louis Leysens a818b2ad9d
[Reporting] ILM policy for managing reporting indices (#100130)
* 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>
2021-05-25 17:03:44 +02:00
Jean-Louis Leysens 662fe74757
[Reporting] ILM policy for managing reporting indices (#100130)
* 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>
2021-05-25 17:02:48 +02:00
Lisa Cawley e2d47f7269
[DOCS] Remove redundant maps attribute (#100426) 2021-05-25 07:45:07 -07:00
Thomas Neirynck 73b6048ba1
[Maps][Vega] Isolate mapbox-gl library into bazel package (#99931) 2021-05-25 09:51:57 -04:00
David Sánchez ca324c63be
Removes event filters feature flag and exposes this feature by default (#100389)
* 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>
2021-05-25 15:19:42 +02:00
Sandra Gonzales 60b5c842cd
[Metrics UI] use EuiTooltip to control tooltip component and simplify ConditionalTooltip (#99224)
* 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 08:51:24 -04:00
Sergi Massaneda 206a64fc4c
[Security Solution] Application register deepLinks instead of meta.searchDeepLinks (#100129)
* 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>
2021-05-25 14:49:51 +02:00
Yaroslav Kuznietsov 818fa90fbb
[TSVB] Fix more than one empty labels in markdown breaks the values for all other labels (#100432)
* Fixed multiple empty labels monitoring with [].

* Fixed regexp group behavior and replaced by ''.replaceAll.

* Changed ''.replaceAll with ''.split(...).join(...)

* Added test for (empty) label case.

* Removed not necessary comment.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-25 12:30:20 +03:00
Spencer 7bd46ec204
[test/functional/context] include missing await (#100422)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-25 00:01:47 -07:00
Frank Hassanabad aa2f5b535d
[Security Solution] Utilizes constants package and deletes duplicate code (#100513)
## 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
2021-05-24 18:38:14 -06:00
Zacqary Adam Xeper 676d40ebbe
[Fleet] Add clear button to search input bars (#100476) 2021-05-24 17:30:18 -05:00
Zacqary Adam Xeper 71acd98082
[Fleet] Add color distinction between offline and inactive agents (#100490) 2021-05-24 17:30:06 -05:00
Zacqary Adam Xeper f95bbb38c9
[Fleet] Fix incomplete agent count message on policy tab (#100497) 2021-05-24 17:29:27 -05:00
Jen Huang cc9c5be022
[Fleet] Pass policy namespace to agent monitoring settings (#100500)
* Pass agent policy namespace to agent monitoring settings

* Adjust copy
2021-05-24 18:02:23 -04:00
ymao1 eb0deac8d0
[Alerting] Update README (#100478)
* Updating readme

* Updating readme

* Fix plugin list docs
2021-05-24 16:24:15 -04:00
Kaarina Tungseth 28a7bd31fd
[DOCS] Dashboard changes for 7.13 (#99681)
* [DOCS] Dashboard changes for 7.13

* Review comments

* Review comments

* Fixes link

* Fixes lens link
2021-05-24 15:14:37 -05:00
Jorge Sanz 35cafecdce
[Maps][Docs] Fix ems server config path in compose example (#100463) 2021-05-24 20:05:13 +02:00
Josh Dover c9f7ab3f72
Remove chrome.navLinks.update (#99633) 2021-05-24 13:00:45 -05:00
Quynh Nguyen 9793a8fefb
[ML] Fix missing selected-interval styling for Explorer anomaly charts and mismatched scheduled markers styling (#100272)
* [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>
2021-05-24 11:56:09 -05:00
Pete Hampton bb6c2ef3d0
Add remaining descriptions to security usage telemetry schema. (#100454) 2021-05-24 10:41:19 -06:00
Tiago Costa ebf77da99b
[dev_docs] How to build a kibana distributable tutorial (#99827)
* 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>
2021-05-24 16:02:08 +01:00
Mikhail Shustov 95e8eed7d1
security solution and lists to TS incremental builds (#100447)
* lists to ts incremental builds

* security_solution to ts incremental

* import ResizeObserver explicitly as it is not declared in dom types
2021-05-24 16:34:29 +02:00
ymao1 496999fbfc
[Alerting] Passing additional rule fields to rule executor (#99819)
* 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>
2021-05-24 10:25:52 -04:00
Paul Tavares 093044f10f
[Security Solution][Endpoint] Add host isolation action to the endpoint list (#100240)
* 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
2021-05-24 09:50:21 -04:00
Tiago Costa 21820e9aff
skip flaky suite (#91107) 2021-05-24 13:18:11 +01:00
Brian Seeders b1a95e4296 skip flaky suite (#100445) 2021-05-22 18:06:57 -04:00
Christiane (Tina) Heiligers 26272faaf7
SO migrations: Improves transformation error creation and testing (#100297) 2021-05-21 20:53:45 -04:00
spalger 3ad46bd1ae skip failing suite (#98352) 2021-05-21 09:40:10 -07:00
Tiago Costa 50616aa0f9
chore(NA): correctly setup dep order on js_library to fix windows build (#100420) 2021-05-21 00:03:54 +01:00
Lukas Olson f728b222e6
[data.search] Add Kibana request to search strategy dependencies (#98566)
* [data.search] Add Kibana request to search strategy dependencies

* Don't register internal strategy

* Update docs
2021-05-20 14:10:12 -07:00
Frank Hassanabad d7234e026a
Reduce the lists limits to the current max + 15kb (#100419)
## Summary

Reduces the lists limits to the current max + 15kb
2021-05-20 16:34:36 -04:00
Frank Hassanabad 192c8ba743
Adds two more packages and moves files into the packages (#100375)
## 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
2021-05-20 12:36:07 -06:00
Alison Goryachev 3523a937f6
[CCR] Replace EuiCodeEditor with EuiCodeBlock (#100122) 2021-05-20 14:05:42 -04:00
Stacey Gammon 044c725c71
Fix a bunch of bugs with APIDocs system (#99589)
* 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
2021-05-20 13:22:41 -04:00
Stratoula Kalafateli 3e5d9cf47d
[TSVB] Update TSVB sample viz with the default timerange mode (#100376) 2021-05-20 17:59:48 +03:00
Pete Hampton 97b6d1eca8
Add ML usage collector descriptions to the schema. (#100387)
* Add ML usage collector descriptions to the schema.

* Update the telemetry mappings file
2021-05-20 08:39:50 -06:00
Kaarina Tungseth 08884a6249
[DOCS] Fixes Discover link on runtime fields page (#100335) 2021-05-20 08:42:39 -05:00
Jen Huang 320c9e0198
Add back install button for integrations that aren't installed yet (#100370) 2021-05-20 06:04:41 -07:00
Pete Hampton 59adbb069e
Refactor away from expected error. Handle 404 as any other error. (#100383) 2021-05-20 14:02:05 +01:00
Ignacio Rivas e62887b9d7
[Ingest pipelines] fix default paramenter for ignore_missing in csv processor (#100316)
* fix: set ignoreMissingField to true by default
* Add missing serializer to trim fieldConfig

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-20 14:56:52 +02:00
Alison Goryachev f3f08ff1f6
Rename client integration test folders (#100119) 2021-05-20 08:54:47 -04:00
Michael Dokolin cb0c584c0b
[Reporting] Add logging of CPU usage and memory consumption by Chromium (#99109)
* 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
2021-05-20 11:51:16 +02:00
Larry Gregory 9bf8e47941
Remove PEG.js generator from the timelion runtime (#100327) 2021-05-20 05:44:59 -04:00
Pierre Gayvallet 8ee78d393e
remove ui settings client-side validation (#100311)
* remove ui settings client-side validation

* fix linter

* fix tests

* update generated doc
2021-05-20 11:40:57 +02:00
Pierre Gayvallet 8fc9115a6d
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
2021-05-20 10:55:59 +02:00
Dzmitry Lemechko bc3b9d694b
[QA] update code coverage to use its own script (#100199)
* do  run build script for code coverage

* fix notifyOnError call

* remove maxWorkers argument

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-20 10:34:44 +02:00
spalger be97fae12e skip flaky suite (#100372) (#96997) 2021-05-19 15:51:32 -07:00
Frank Hassanabad 9bf488e826
[Security Solutions] Re-arranges and adds more packages to remove copied code (#100310)
## Summary

* Creates a `securitysolution-list-utils` packaged and moves the first set of utilities into there
* Fixes a slight bug with `kbn-securitysolution-io-ts-list-types` where the wrong name was used
* Moves _all_ of the lists schemas and types into the package `kbn-securitysolution-io-ts-list-types`
* Removes copied code found in a few places

## Tech debt
* Some spots I have to use an `any` in the package as Kibana kbn packages don't have the types I need
* Some spots I copy constants until we can straighten out those pieces.
* I keep copied mock files until we figure out how to share mocks from these packages without adding weight or we create dedicated mock packages for all of this. 


### 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
2021-05-19 15:59:52 -06:00