Commit graph

42974 commits

Author SHA1 Message Date
Gloria Hornero
0b4c9573b7
[Security Solution][Detections] Completes alert details for Indicator Match Rules (#99671)
* adds 'Displays threat summary data on alerts details' test

* adds 'Displays threat indicator data on the threat indicator tab' test

* changes name of the test from 'threat indicator tab' to 'threat intel tab'

* adds an extra assertion
2021-05-12 10:57:05 +02:00
Jean-Louis Leysens
c22d9fd690
[Reporting] Relax save requirement for CSV reports (#99313)
* update requirement to save csv report in ui

* update expectation that CSV reporting is disabled for new discover searches

* update test expectations (again)

* refactor to using props-driven approach

* provide a fallback title

* refine title a bit more

* added component level test

* return ISO string with offset

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 10:32:51 +02:00
Jean-Louis Leysens
07ed7161ad
[Dashboard/Reporting] Fix print layout report (#99458)
* re-introduce dshAppContainer class name to fix generated report

* update the classname to dashboardViewport

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 10:24:34 +02:00
Marta Bondyra
1185aff209
[Lens] display pie chart properly for only falsy correct data (#99598)
* [Lens] display pie chart properly for only falsy correct data

* case for metric with no data
2021-05-12 08:03:20 +02:00
Nicolas Chaulet
ae08154205
[Fleet] Support dataset with multiple level like system.process.summary (#99852) 2021-05-11 21:24:32 -04:00
Zacqary Adam Xeper
c328ab0145
[Metrics UI] Increase groupBy pagination size on Metric Threshold alerts (#99683) 2021-05-11 17:29:07 -05:00
Stacey Gammon
548698bcc0
Syntax in styleguide.mdx is breaking docs build (#99840)
* Update STYLEGUIDE.mdx

* add space in title
2021-05-11 18:06:42 -04:00
Tiago Costa
ada3b42be0
chore(NA): moving @kbn/plugin-generator into bazel (#99646)
* chore(NA): moving @kbn/plugin-generator into bazel

* chore(NA): add templates to build file

* chore(NA): restore plugins empty file
2021-05-11 23:05:07 +01:00
John Dorlus
dc8329ed0d
Added CIT test for the fail processor. (#95261)
* Added CIT test for the fail processor.

* Fixed linter issues.

* Used new functions and helpers.

* Added common test to ensure that a processor type was selected before saving. Fixed some titles and nits from the PR feedback.

* Removed unused var.

* Merged in master and updated tests to remove repeat code.
2021-05-11 16:41:56 -04:00
Alejandro Fernández Gómez
37b7f6afb0
[Fleet] Correctly encode logs URL (#99782) 2021-05-11 22:27:50 +02:00
Liza Katz
6e8ccdbd09
[Bug] Fixes #9184 (#99099)
* code review

* test
2021-05-11 23:05:42 +03:00
Lukas Olson
7617642bba
Add partial results to search examples demo (#96366)
* Add partial results to search examples demo

* Add functional test

* Move types into separate file and separate custom strategies

* Review feedback

* Update test

* Try to fix test

* Attempt to fix test

* Try to fix observable error

* Sanity check

* Fix test

* Another attempt

* Remove rxjs from strategy
2021-05-11 12:41:21 -07:00
Constance
c28213b6c3
[App Search] Schema: Set up server routes, grand foray into shared/connected Kea logic (#99548)
* Set up server API routes

* Set up types

* Set up shared/base Schema logic file

- values & actions shared between both default source engine & meta engine pages

* Add default/indexed engine SchemaLogic

* Add MetaEnginesSchemaLogic

- significantly different actions (no updating) & API response from source engines, hence the separate files

+ fix typing issue - without Partial<>, all 4 enum types are expected instead of 1-4
- for some reason this causes an error in a separate a util file, not sure why (Typescript issue?)

* Update Schema & MetaEngineSchema views with loaders

* PR feedback: comment nit

* PR feedback: Remove unnecessary async/awaits

* PR feedback: Simplify loadSchema to be shared by base logic

Much clean, such simple

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-11 11:48:08 -07:00
John Dorlus
f058d27d16
Add Component Integration Test for Append Processor (#95001)
* Added first steps for append processor test and added data test subject for append processor input combo box.

* Added first steps for append processor test and added data test subject for append processor input combo box.

* Fixed assertion for processor.

* Merged in newer test functionality and used it in the append processor test.

* Fixed asssertion and form to use append box.

* Update snapshot.

* Fixed assertion for array.

* Made changes per notes in PR.

* Used common fields var in test.

* Fixed merge conflict.

* Fixed unused vars and added data test subject to helper file.

* Removed this snapshot that was erronously added to PR due to a merge conflict.

* Removed old common field var from uri tests.

* Fixed nits in PR in all tet files.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-11 14:26:52 -04:00
Melissa Alvarez
d5a16f438c
[ML] Data vizualizer: add choropleth map for index and file (#99434)
* wip: add choropleth map to dataviz

* add choropleth map to datavisualizer index and file based

* fix translation

* make function name more clear
2021-05-11 13:40:06 -04:00
Kaarina Tungseth
14f225fbd4
[DOCS] Adds dual mode to TSVB (#99493)
* [DOCS] Adds  to TSVB

* Fixes {es} typo

* Review comment
2021-05-11 12:34:55 -05:00
Jason Stoltzfus
56908e1739
Support prepopulated Search UI fields (#99793) 2021-05-11 13:11:32 -04:00
Jonathan Budzenski
087cb5275a
[packages] Fix import path in securitysolutions-io-ts-utils (#99797) 2021-05-11 12:46:18 -04:00
Lukas Olson
3f1fbe16c7
Fix bug with scripted number range filters (#99554) 2021-05-11 09:45:20 -07:00
Sandra Gonzales
82ab5c50a4
move useSavedView context changes to outer layout container (#99411)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-11 12:32:17 -04:00
Larry Gregory
9b640f3308
Don't retrieve the active space on anonymous pages (#99514)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-11 12:00:23 -04:00
Domenico Andreoli
c80713ea50
[docs] Remove extraneous backslash (#99802) 2021-05-11 08:56:16 -07:00
Nathan Reese
5dbc73f1b4
[Maps] use deep equals for mapbox filter expression equals check (#99673)
* [Maps] use deep equals for mapbox filter expression equals check

* cleanup
2021-05-11 09:38:40 -06:00
Matthias Wilhelm
126a83c056
[Discover][New table] Fix selected documents no longer in the sample of 500 documents (#99114)
* Don't count and make use of selected docs no longer in the given 500 sample of the result set

* When the underlying dataset changes, set selected docs filter to inactive if there are no filtered docs

* Add test
2021-05-11 17:01:00 +02:00
Tyler Smalley
9da9b8d4b9
[kbn-es] Allow overriding of Java heap (#99517)
* [kbn-es] Allow overriding of Java heap

Fixes #99494

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-05-11 07:36:20 -07:00
Domenico Andreoli
2d05d9f802
Add CCS integration test for security rules (#99042) 2021-05-11 16:19:32 +02:00
Jason Stoltzfus
eb52bd2318
[App Search] Added Search UI form (#99359) 2021-05-11 09:16:27 -04:00
Angela Chuang
051eec703d
[Security Solution] Get endpoint metadata (#99772)
* getHostEndpoint

* add endpointContext

* add deps

* get endpoint info

* clean up

* fix tests error

* fix types

* fix unit tests

* fix unit tests

* fix unit tests

* fix types error

* fix types

* fix api integration test

* fix api integration tests

* add comment

* review

* add getHostInfo

* rename getHostInfo into getHostMetaData

* fix unit test

* fix types
2021-05-11 14:14:55 +01:00
Anish Khanna
788c25b228
[Index management] Add selected index count (#99652) 2021-05-11 14:10:34 +01:00
Alison Goryachev
5959b606ec
[CCR] Unskip component integration tests (#99385) 2021-05-11 08:55:46 -04:00
Alison Goryachev
72c25ea10f
[Index Management] Unskip indices API integration test (#99379) 2021-05-11 08:53:16 -04:00
Josh Dover
d97f958127
Add @removeBy tag for legacy ES client types (#99616) 2021-05-11 14:30:22 +02:00
Paul Tavares
997e179f7a
[Security Solution][Endpoint] Additional Unit Tests for the Event Filters Page (#99463)
* event filters middleware tests for listpage
* additional tests for reducer of event filters
* use Async Resource builders in middleware
* Refactor listPage selectors to use `getLastLoadedResourceState()`
* New utility for mocking core.http apis that can be reused
* Add ability to set experimental featurers on `AppContextRender` mock utility
2021-05-11 08:21:46 -04:00
Anton Dosov
506b0284c4
Remove resize-observer from FilterBar (#99603) 2021-05-11 14:08:31 +02:00
Dmitry Shevchenko
ea8aa69db3
Fix deleted rule view (#99406) 2021-05-11 12:40:07 +02:00
Vadim Dalecky
dc5e28d79c
chore: 🤖 bump numeral-js dependency (#99609)
Fixes bing integer formatting bug.

 Closes: #59415
2021-05-11 12:26:01 +02:00
Mikhail Shustov
5fde16c2b3
Do not mutate config in place during deprecations (#99629)
* refactor config deprecations to avoid config mutations

* remove dynamic access keys in core deprecations.

* refactor custom config deprecations to match the new signature

* improve config deprecations fixtures for nested keys

* add a test for xpack.banner config deprecations

* key --> path, add a test for invalid command
2021-05-11 05:41:48 -04:00
Marius Dragomir
df752023a0
fix for move of transport page to network page (#99642)
* fix for move of transport page to network page

* Update src/core/public/doc_links/doc_links_service.ts

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-05-11 11:30:29 +02:00
Jean-Louis Leysens
e96e2d7775
[Data] Require non-empty object when editing query as dsl (#99366)
* require non-empty object when editing query as dsl

* added test for filter editor behaviour

* fix typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-11 10:07:38 +02:00
Mikhail Shustov
d1d741b479
remove joi usage from x-pack (#99401)
* remove unused helper

* remove joi usage from Security Solutions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-11 11:04:30 +03:00
Andrew Pease
4831826bae
Update Timeline Template README.md (#95814)
## Summary

`xpack.security_solution.signalsIndex` is listed to be added to `kibana.dev.yml`, however that generates:
```
FATAL  Error: Unknown configuration key(s): "xpack.security_solution.signalsIndex". \
Check for spelling errors and ensure that expected plugins are installed.
```
I think this should be `xpack.securitySolution.signalsIndex`

This is for the steps to create a timeline template.

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2021-05-10 22:38:20 -04:00
Justin Ibarra
45c6ca42d0
[Detection Rules] Add 7.13 rules (#99725) 2021-05-10 19:48:57 -04:00
Nathan Reese
b248472e82
[Maps] show empty tooltips with actions on click (#99337)
* [Maps] show tooltips with actions on click

* clean up

* call canShowTooltip in _getTooltipFeatures

* move view into action

* cleanup

* i18n

* add comment to clarify if statement

* tslint

* fix security tslint

* fix jest tests

* clean up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-10 17:46:33 -06:00
Zacqary Adam Xeper
b5380697cc
[Fleet] Add keep_enabled flag to preconfiguration to prevent disabling certain inputs (#99656)
* [Fleet] Add keep_enabled flag to prevent disabling inputs

* Remove console.log

* Fix missing key definition
2021-05-10 18:16:03 -05:00
Scotty Bollinger
0b5d323613
[Workplace Search] Fix bug with updating a role mapping (#99688)
`id` is not needed by the server as a body prop, as it’s inferred from the params.
2021-05-10 18:30:57 -04:00
Yuliia Naumenko
fcc2ac5799
Fixed alerting health check behavior when alerting cannot find its health task in Task Manager. (#99564)
* Fixed alerting health check behavior when alerting cannot find its health task in Task Manager.

* fixed test

* added unit tests
2021-05-10 15:24:42 -07:00
Brian Seeders
6d269c5062
Revert "[SecuritySolution] Get endpoint metadata (#99452)" (#99719)
This reverts commit 5893d67b4b.
2021-05-10 17:42:39 -04:00
Clint Andrew Hall
e0c57e08fd
[labs] Fix reset overreach; add method for testing project (#99672) 2021-05-10 16:27:35 -05:00
Christiane (Tina) Heiligers
59f42ec148
[Saved object migrations] Collect all documents that fail to transform before stopping the migration (#96986)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-10 17:12:24 -04:00
Brian Seeders
7262ac53c2
[CI] Don't do CI stats reporting/failures for feature branch PRs (#99668) 2021-05-10 16:38:32 -04:00