Commit graph

34815 commits

Author SHA1 Message Date
Anton Dosov
1ac56d7bfc
[uiActions] Support emitting nested triggers and actions (#70602)
* Introduce automatically executed actions
* Introduce batching of emitted triggers to be execute on the macro task
2020-07-15 16:44:11 +02:00
Lee Drengenberg
0173ef3528
add short sleep before clicking Remove on sample data (#71104)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-15 09:35:37 -05:00
Bohdan Tsymbala
6711d0d9e0
Fixed the beta badge layout. (#71835) 2020-07-15 15:55:55 +02:00
Tyler Smalley
f0b4986099
Restores task for downloading Chromium builds (#71749)
This was removed in https://github.com/elastic/kibana/pull/69165 without
realizing it was used by the packer cache. I renamed it to be more
inline with what it actually does.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-15 06:53:40 -07:00
Jonathan Budzenski
8bcecc0fb0
[logging] Format new platform json logging to ECS (#71138)
* [logging] Format new platform json logging to ECS

* update integration tests

* merge instead of assign

* add @timestamp override test

* add partial merge test against log object

* add object level override test

* fix type error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-15 08:45:20 -05:00
Michael Olorunnisola
ed387dd15f
add policy details and update SO limit requests (#71789) 2020-07-15 09:36:48 -04:00
Ashik Meerankutty
5f6389af60
Convert vis_type_vega to Typescript (#68915) 2020-07-15 15:23:03 +02:00
Dima Arnautov
4c654c4731
[ML] Fix UI Actions context menu positioning for the Anomaly Swim Lane (#71839)
* [ML] fix swim lane embeddable rerenders

* [ML] fix TS
2020-07-15 15:07:52 +02:00
Nathan L Smith
f69edbd89b
[APM] Add error rates to Service Map popovers (#69520)
Make the `getErrorRate` function used in the error rate charts additionally take `service.environment` as a filter and have it return the `average` of the values.

Call that function in the API for the service map metrics.

Fixes #68160.

Co-authored-by: cauemarcondes <caue.marcondes@elastic.co>
2020-07-15 07:17:54 -05:00
Yara Tercero
3c9fa99d68
[Security Solution][Detection Engine] - Update exceptions logic (#71512)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Yara Tercero <yara.tercero@elastic.co>
2020-07-15 14:26:24 +03:00
Andrew Goldstein
0c0aaf0e6a
[Security Solution] Full screen timeline, Collapse event (#71786)
## Full screen Timeline & Timeline-based views

- Adds a _Full screen_ mode to Timeline, and all Timeline-based views, including:
  - Detections
  - Detections > Rule details
  - Hosts > Events
  - Hosts > External alerts
  - Network > External alerts
  - Timeline
- Enter full screen from any Resolver
- Adds a `Collapse event` action for quickly collapsing an expanded Timeline event
- Hides the `Add to case action` in timeline-based Resolver views, so those actions are only enabled in Timeline (a `TODO`  from https://github.com/elastic/kibana/pull/70111)

### Full screen detections
![full-screen-detections](https://user-images.githubusercontent.com/4459398/87493332-d348f280-c609-11ea-9399-126d2259daa2.gif)

### Enter full screen from any Resolver
![full-screen-resolver](https://user-images.githubusercontent.com/4459398/87493348-de038780-c609-11ea-86a3-52ab24055e38.gif)

### Full screen Timeline
![full-screen-timeline](https://user-images.githubusercontent.com/4459398/87493394-f4114800-c609-11ea-8d62-4add291d937a.gif)

### Collapse event
![collapse-event](https://user-images.githubusercontent.com/4459398/87493408-fa9fbf80-c609-11ea-88c8-fa87d82d1eb1.gif)

### Sort tooltip
![sort-tooltip](https://user-images.githubusercontent.com/4459398/87493417-012e3700-c60a-11ea-9905-44e3b7cfe60f.gif)
2020-07-15 04:12:34 -06:00
Pedro Jaramillo
e4f7acb90f
[Security Solution][Exception Modal] Create endpoint exception list if it doesn't already exist (#71807)
* use createEndpointList api

* fix lint

* update list id constant

* add schema test

* add api test
2020-07-15 10:35:08 +01:00
Ross Wolf
a282af7ca3
[Detection Rules] Add 7.9 rules (#71808)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-15 09:53:02 +01:00
Lukas Olson
25d143fdf7
[Search] Add telemetry for data plugin search service (#70677)
* [search] Refactor the way search strategies are registered/retrieved on the server

* Fix types and tests and update docs

* Fix failing test

* Fix build of example plugin

* Fix functional test

* Make server strategies sync

* Move strategy name into options

* docs

* Remove FE strategies

* TypeScript of hell
delete search explorer

* Fix search interceptor OSS tests

* typos

* test cleanup

* Update search interceptor tests and abort utils

* [Search] Add telemetry for data plugin search service

* Add tracking of average query time

* Add tests and rename to collectors

* Fix TS

* Fixed interceptor jest tests

* Add to kibana json

* docs

* Properly use observables rather than only during setup

* Update or create

* Swallow version conflict errors

Co-authored-by: Liza K <liza.katz@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-15 11:49:34 +03:00
Thomas Watson
fc5bc6b6a2
Add @elastic/safer-lodash-set as an alternative to lodash.set (#67452) 2020-07-15 10:29:57 +02:00
Tyler Smalley
42c3efdcab [tests] Temporarily skipped to promote snapshot
Will be re-enabled in #71727

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-15 01:26:58 -07:00
Bohdan Tsymbala
4e6f0c60e2
Fixed the spacing of child accordion items for policy response dialog. (#71677) 2020-07-15 10:16:27 +02:00
Xavier Mouligneau
75582eb4ae
[SECURITY] Timeline bug 7.9 (#71748)
* remove delay of rendering row

* Fix flyout timeline to behave as we wanted

* Fix tabs on timeline page

* disable sensor visibility when you have less than 100 events in timeline

* Fix container to fit content and not take all the place that it wants

* do not update timeline time when switching top nav

* fix timeline url in case

* review I

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-15 08:51:31 +01:00
Mikhail Shustov
667b72f9e8
use fixed isChromeVisible method (#71813) 2020-07-15 09:35:24 +02:00
Frank Hassanabad
21156d6f18
[SIEM][Detection Engine][Lists] Adds specific endpoint_list REST API and API for abilities to auto-create the endpoint_list if it gets deleted (#71792)
* Adds specific endpoint_list REST API and API for abilities to autocreate the endpoint_list if it gets deleted

* Added the check against prepackaged list

* Updated to use LIST names

* Removed the namespace where it does not belong

* Updates per code review an extra space that was added

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-15 02:55:48 -04:00
Tyler Smalley
ced455e077 [test] Skips flaky Saved Objects Management test
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-14 23:49:27 -07:00
Søren Louv-Jansen
f760d8513b
[APM] Remove watcher integration (#71655) 2020-07-15 08:42:17 +02:00
Søren Louv-Jansen
51a862988c
[APM] Increase xpack.apm.ui.transactionGroupBucketSize (#71661) 2020-07-15 08:41:57 +02:00
Tyler Smalley
6868ece766 [test] Skips Ingest Manager test preventing ES promotion
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-14 23:40:35 -07:00
Tyler Smalley
ddbfe53e22 [test] Skips flaky detection engine tests
https://github.com/elastic/kibana/issues/71814

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-14 23:36:05 -07:00
Tyler Smalley
3c8a66e2b3 Revert "re-fix navigate path for master add SAML login to login_page (#71337)"
This reverts commit 1f340969ee.
2020-07-14 21:01:19 -07:00
Tyler Smalley
3984ffa135 [tests] Temporarily skipped Fleet tests
Most fleet tests are colliding with the change to timestamp_field ES
change

https://github.com/elastic/kibana/pull/71727

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-14 19:54:32 -07:00
Tyler Smalley
a8513256a0 [test] Skipped monitoring test
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-14 19:43:44 -07:00
Ryland Herrick
cbe8f00795
[Security Solution][Detections] Associate Endpoint Exceptions List to Rule during rule creation/update (#71794)
* Add checkbox to associate rule with global endpoint exception list

This works on creation, now we need edit.

* Fix DomNesting error on ML Card Description

EuiText generates a div, but this is inside of an EuiCard which is a
paragraph. Defines a span with equivalent styles, instead.

* Change default stack of alerts histogram to signal.rule.name
2020-07-14 21:27:57 -05:00
Marshall Main
c5e39a24cd
Add endpoint exception creation API validation (#71791) 2020-07-14 22:25:10 -04:00
Ryland Herrick
73f5dec3db
Skip jest tests that timeout waiting for react (#71801) 2020-07-14 19:20:19 -07:00
Davis Plumlee
8a9988093e
[Security Solution][Exceptions] - Adds filtering to endpoint index patterns by exceptional fields (#71757) 2020-07-14 22:04:59 -04:00
Tim Sullivan
0d1c166a46
[Reporting] Re-delete a file (#71730)
...that was accidentally recovered due to incorrect manual merge
2020-07-14 19:01:31 -07:00
Devin W. Hurley
56de45d156
[Security Solution] [Detections] Fixes bug for determining when we hit max signals after filtering with lists (#71768)
update signal counter with filtered results, not with direct search results.
2020-07-14 21:27:44 -04:00
Nicolas Chaulet
a885f8ac1e
[Ingest Manager] Better display of Fleet requirements (#71686) 2020-07-14 21:09:05 -04:00
Tyler Smalley
18dcd24fe9 [tests] Temporarily skipped to promote snapshot
Will be re-enabled in #71727

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-14 17:59:00 -07:00
Pete Harverson
e010ed3d09
[ML] Edits labelling of SIEM module and jobs from SIEM to Security (#71696)
## Summary

Edits all references to 'SIEM' in the ML SIEM modules to 'Security'. The following parts of the configurations were edited:
- Module titles
- Module descriptions
- Job descriptions
- `siem` job group changed to `security`

The `siem#/` portion of the custom URLs was also edited to `security/`.

Also removes the 'beta' label from module and job descriptions.

![image](https://user-images.githubusercontent.com/7405507/87452224-dbe4fd00-c5f8-11ea-887b-89c47e3467d2.png)

![image (26)](https://user-images.githubusercontent.com/7405507/87452265-edc6a000-c5f8-11ea-94a8-e101126666fa.png)


Part of #69319
2020-07-14 18:36:06 -06:00
Spencer
a0f7dced13
[kbn/optimizer] report sizes of assets produced by optimizer (#71319)
* Revert "Report page load asset size (#66224)"

This reverts commit 6f57fa0b2d.

* [kbn/optimizer] report sizes of assets produced by optimizer

* coalese the fast-glob versions we're using to prevent additional installs

* update kbn/pm dist

* Revert "update kbn/pm dist"

This reverts commit 68e24f0fad.

* Revert "coalese the fast-glob versions we're using to prevent additional installs"

This reverts commit 4201fb60b6.

* remove fast-glob, just recursivly call readdirSync()

* update integration tests to use new chunk filename

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-14 17:23:14 -07:00
Wylie Conlon
58b4127b68
Unskip functional tests for feature controls (#71173)
* Unskip functional tests for feature controls

* Update Maps test

* Update test title

* Fix hidden case-sensitive issue in saved queries

* Fix test separation issues

* Improve saved query retry logic

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-14 20:13:44 -04:00
Thomas Neirynck
de4d65cc75
[Maps] Remove .mvt feature flag (#71779)
The layer wizard to add 3rd party .mvt tiles now shows by default.
2020-07-14 19:41:13 -04:00
Tyler Smalley
86733f60ff [tests] Temporarily skipped to promote snapshot
Will be re-enabled in #71727

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-14 16:02:49 -07:00
Brent Kimmel
654d4da904
[Security_Solution][Bug] Handle non-ecs categories in events (#71714)
* Make resolver related event categories permissive
2020-07-14 18:51:59 -04:00
Lee Drengenberg
1f340969ee
re-fix navigate path for master add SAML login to login_page (#71337) 2020-07-14 17:28:03 -05:00
spalger
e318ea76dc fix triggered job name 2020-07-14 15:10:01 -07:00
spalger
b1433e6317 remove unnecessary context reference from trigger job
(cherry picked from commit 817fdf9b439e85c3ddfda126b3efb4e45c36006b)
2020-07-14 15:08:29 -07:00
Devin W. Hurley
e42630d1c5
[Security Solution] [DETECTIONS] Set rule status to failure only on large gaps (#71549)
* only display gap error when a gap is too large for the gap mitigation code to cover, general code cleanup, adds some tests for separate function

* removes throwing of errors and log error and return null for maxCatchup, ratio, and gapDiffInUnits properties

* forgot to delete commented out code

* remove math.abs since we fixed this bug by switching around logic when calculating gapDiffInUnits in getGapMaxCatchupRatio fn

* updates tests for when a gap error should be written to rule status

* fix typo
2020-07-14 18:08:20 -04:00
Nathan Reese
0e7c3c7ff0
[Maps] increase DEFAULT_MAX_BUCKETS_LIMIT to 65535 (#70313)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-14 16:07:22 -06:00
spalger
a81d8b55ab rename visual_baseline -> baseline_capture 2020-07-14 15:01:39 -07:00
Brian Seeders
a5c9c4ec43 [CI] Add baseline trigger job 2020-07-14 15:01:32 -07:00
Luke Elmers
8ecbb25ab5
[expressions] AST Builder (#64395) 2020-07-14 15:57:22 -06:00