Commit graph

43018 commits

Author SHA1 Message Date
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
Kevin Logan 00479968a1
[Security Solution] Add linux malware config options and migration (#100166) 2021-05-19 17:37:43 -04:00
Aleh Zasypkin c6e8ee2268
Cleanup package.json resolutions. (#99456) 2021-05-19 16:39:52 -04:00
Devon Thomson 413e2ddf20
[Dashboard] Embeddable Migrations for By Value Panels (#99715)
* Implemented embeddable by value migrations
2021-05-19 16:19:15 -04:00
liza-mae c28b5496a6
Upgrade functional test fixes (#100306)
* Upgrade functional test fixes

* Fix lint issues
2021-05-19 13:08:41 -06:00
Scotty Bollinger 0ef6cb315f
[Enterprise Search] Upgrade Kea to 2.4.2 (#100299) 2021-05-19 15:05:51 -04:00
Joe Portner 1915592ecf
crypto-js 3.3.0 -> 4.0.0 (#100347) 2021-05-19 14:38:07 -04:00
spalger c0d81c985d skip failing suite (#98351) 2021-05-19 09:45:41 -07:00
spalger 4b0c01a732 skip flaky suite (#99581) 2021-05-19 09:34:14 -07:00
Kevin Logan 9da1a707d7
[Security Solution] Add supported field to ransomware (#100135) 2021-05-19 11:43:18 -04:00
Thomas Neirynck ef42620624
[Maps] Add grid-resolution telemetry (#99808) 2021-05-19 11:37:59 -04:00
Larry Gregory 4256c18230
Remove circular dependency between features and security (#100206)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-19 11:33:44 -04:00