Commit graph

32953 commits

Author SHA1 Message Date
Caroline Horn e5abec1922
[Doc-Table] Import styles into JS where possible (#65329)
Fixes styles and overflow table vis
2020-05-06 11:25:46 -04:00
spalger 3e9a12cf33 Revert "[SIEM] Eliminate Superfluous Untitled Timelines (#64341)"
This reverts commit a06c02f606.
2020-05-06 08:11:04 -07:00
Walter Rafelsberger eccdbdbf40
[ML] Data Frame Analytics: Skip job cloning functional tests. (#65465) 2020-05-06 06:48:06 -07:00
Robert Austin 4571536ba0
[Resolver] use just left and top, and remove transform, from process nodes. (#65108) 2020-05-06 09:41:40 -04:00
Aleh Zasypkin e86383037a
Add tests for the concurrent refresh token requests. (#62027) 2020-05-06 15:30:50 +02:00
Søren Louv-Jansen 313d80228a
Add version 7.8 to backport config (#65445) 2020-05-06 15:11:29 +02:00
Candace Park ce0d39bfdf
Task/policy response (#64838)
host details policy response
2020-05-06 09:02:48 -04:00
patrykkopycinski a06c02f606
[SIEM] Eliminate Superfluous Untitled Timelines (#64341) 2020-05-06 14:56:09 +02:00
Aleh Zasypkin 2a32f8f399
Sync Kerberos + Anonymous access tests with the latest security/_authenticate API (user roles now include roles of anonymous user). (#65421) 2020-05-06 13:17:42 +02:00
Dmitry Lemeshko ced64f43f7
add tsvb tests to Firefox suite (#65425) 2020-05-06 14:13:52 +03:00
Pierre Gayvallet c6b1f70ed8
Fix flaky ServerMetricsCollector integration test (#65420)
* fix flaky test

* add comment on supertest behavior
2020-05-06 12:53:43 +02:00
Cauê Marcondes 4e2b944576
[APM] Custom links section inside the Actions menu is showing outside of the menu (#65428) 2020-05-06 12:50:28 +02:00
Walter Rafelsberger 8a65950de4
[ML] Adds docs_per_second to transform edit form. (#65365)
Adds an option to edit the docs_per_second option for throttling for transforms.
2020-05-06 11:56:58 +02:00
Silvia Mitter 81ad646d22
update apm index pattern (#65424) 2020-05-06 11:53:01 +02:00
Mikhail Shustov da28df5b15
add direct build command (#65431) 2020-05-06 11:51:50 +02:00
James Gowdy 8944dbaac4
[ML] Adding daily_model_snapshot_retention_after_days to types and schemas (#65417) 2020-05-06 10:22:40 +01:00
Anton Dosov 6114ebabec
[chore] Improve request cancelation handling in vis embeddable (#65057) 2020-05-06 10:58:34 +02:00
Gidi Meir Morris 94127d803a
[Alerting] migrates acceptance and functional test fixtures to KP (#64888)
This PR migrates the vast majority of Alerting legacy code to the Kibana Platform.

This includes:

1. Removed legacy Task Manager
2. Migrates Fixture plugins in Alerting, Triggers UI and Task Manager Perf

This does not includes:

1. The PagerDuty simulator due to a lack of support for custom responses in the platform. issue opened. https://github.com/elastic/kibana/issues/65045
2. The Webhooks simulator due to a lack of support for custom authorisation. Requires investigation.
2020-05-06 09:57:26 +01:00
Pete Harverson 8483574d1e
[ML] Fixes reordering in view by selection when overall cell selected (#65290) 2020-05-06 09:26:58 +01:00
Ryan Keairns a108b23c27
Additional branding updates (#64712)
* branding updates

* update snapshots

* update loginPage snapshot

* removed unused EuiText imports

* update button label for exiting full screen

* remove unused translations

* update loading_news snapshot

* update functional baseline screenshots
2020-05-06 01:39:29 -05:00
Matthias Wilhelm 9dc5c7debe
Remove redundant formatting of percentage column (#64948)
* Remove redundant formatting of percentage column

* Fix functional test

* Fix browser test
2020-05-06 08:31:03 +02:00
Christos Nasikas 3ca63a6119
[SIEM][CASE] Configuration pages UI redesign (#65355) 2020-05-06 08:46:21 +03:00
Michail Yasonik 35e10273d3
New nav (#64018)
Notably, also removes aria-hidden from many visualizations
2020-05-05 23:14:14 -05:00
Alison Goryachev 9d88805a95
[Ingest pipelines] Address copy feedback (#65175) 2020-05-05 20:12:55 -07:00
Steph Milovic edc8cb532b
bug fixing (#65387) 2020-05-05 21:08:04 -06:00
spalger 42d2443338 skip whole suite blocking snapshots (#65377) 2020-05-05 18:55:43 -07:00
Brent Kimmel e977df40ad
add related event generation to ancestor nodes (fixes a bug) (#64950)
* add related event generation to ancestor nodes
* fix tests to account for alert at n-1
2020-05-05 21:48:04 -04:00
Corey Robertson b8bea5b8b2
[Canvas] move files from legacy/plugins to plugins (#65283)
* Moves the files

* Rename legacy/plugins/canvas paths

* Correct paths

* Fix shareable_runtime and storybook

* ESLint Fixes

* Fix jest test and paths
2020-05-05 20:52:56 -04:00
Angela Chuang a5fe3ce92a
[SIEM] template timeline UI (#64439)
* init template timeline's tab

* add template filter

* add routes for timelines tabs

* add tabs hook

* add filter type

* fix unit test

* add breadcrumbs

* fix types error

* fix flashing table

* fix types

* fix flashing table

* fix filter

* add comments for filters

* review X

* review x

* fix create note for template timeline

* rename timelineTypes to timelineType

* update unit test

* fix types

* update filter for timeline savedObject

* fix lint error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2020-05-05 20:05:12 -04:00
Sandra Gonzales daceebb329
[Ingest] check and create default indices during setup (#64809)
* check and create default indices during setup

* fix typos

* add kibana issue

* add date mapping

* add removeDocValues to each field to stop apps from creating a new index pattern

* update snapshot

* add property to test data
2020-05-05 19:36:47 -04:00
spalger a1f8ad039e skip flaky suite (#64812) (#64723) 2020-05-05 16:17:23 -07:00
Spencer dc647a6e4c
[pre-commit script] refactor for speed (#65202) 2020-05-05 16:13:48 -07:00
Tyler Smalley 65447ec62f [test] Skip ML test preventing promotion of ES snapshot
"machine learning anomaly detection single metric job cloning displays
the summary step"

https://github.com/elastic/kibana/issues/65377

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-05-05 16:04:11 -07:00
Spencer 65ab0c6b35
[interpreter] remove unused code (#65332) 2020-05-05 16:03:45 -07:00
John Schulz ee9c1a0ba1
[Ingest Manager] Use cloudId for ES & Kibana URLs if available. (#65366)
* Use cloudId for ES & Kibana URLs if available.

* Add tests and a missing return

* Use console.debug for consistency
2020-05-05 18:58:54 -04:00
Brandon Morelli f5e8f3d3c2
docs: update timeline (#65182) 2020-05-05 15:32:18 -07:00
Andrew Goldstein ecd16dcc71
Drag between ANDs in timeline queries / add to timeline (#65228)
## Summary

This enhancement: 

- Enables drag and drop between `AND`s in a timeline query to narrow or widen a search

![drag-between-ANDs](https://user-images.githubusercontent.com/4459398/81045705-f457cf00-8e73-11ea-9df0-231a30e1bbd9.gif)

- Introduces a new `Add to timeline investigation` context menu action that automatically drags and drops any draggable to the timeline

![add-to-timeline](https://user-images.githubusercontent.com/4459398/81045745-08033580-8e74-11ea-9f3e-0e173f925aea.gif)

- When dragging while the timeline is closed, the timeline drop target automatically opens (and closes), making it possible to directly add to an existing `AND` (in addition to the original behavior, which added an `OR`)

![drag-directly-to-group](https://user-images.githubusercontent.com/4459398/81045882-5e707400-8e74-11ea-8c18-91399546214c.gif)

### Desk testing

Desk tested in:
- Chrome `81.0.4044.129`
- Firefox `75.0`
- Safari `13.1`
2020-05-05 16:26:49 -06:00
Spencer ee270c7c3f
disallow external imports to src/core/utils (#64852) 2020-05-05 14:56:22 -07:00
Yuliia Naumenko 509ea6a91c
Updated README for alerting API (#65219)
* Updated README for alerting API

* Fixed due to comments
2020-05-05 14:43:15 -07:00
gchaps bf7ace3109
[DOCS] Fix indentation in code blocks in Timelion (#65343) 2020-05-05 14:39:09 -07:00
Devon Thomson 5bad855e4b
Return to dashboard after editing embeddable (#62865)
Changed the process for saving visualizations and lens visualizations when the user has been redirected there from another application.
2020-05-05 16:58:36 -04:00
Nathan Reese 932d6ad214
[Maps] do not show auto-clustering capabilities for a geo_shape source (#65306)
* [Maps] do not show auto-clustering capabilities for a geo_shape source

* add check in UpdateSourceEditor
2020-05-05 14:56:31 -06:00
IgorG 4302161112
New resolver (#64704)
* New commit

* New commit adding data-test-subj to controls

* Final commit for the resolver tests

* Final commit for the resolver tests

* Final commit for the resolver tests

* Final commit for the resolver tests

* Final commit for the resolver tests

* Removed sleep statements and added "WaitForTableToHaveData"

* Removed sleep statements and added "WaitForTableToHaveData"

* Fixed type check and modified style parsing

* Removed window resize

* Fixed style type errors

* Removed unnecessary sleeps and added verifications for Nodes location

* Removed unnecessary sleeps and added verifications for Nodes location

* Merge branch 'master' of https://github.com/elastic/kibana into new_resolver

* Merge branch 'master' of https://github.com/elastic/kibana into new_resolver

* Merge branch 'master' of https://github.com/elastic/kibana into new_resolver

* Added resize the window for PAss the test

* Added resize the window for PAss the test

* Added resize the window for PAss the test

* Added resize the window for PAss the test

* Added resize the window for PAss the test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-05 13:50:00 -07:00
Jen Huang ea19374a21
[Ingest] Enforce security required and superuser permissions (#65315)
* Add check permissions route and request hook

* Conditionally register routes

* Add security not enabled and permissions missing warning UIs

* Hide global settings when there is an error
2020-05-05 13:44:39 -07:00
Jen Huang e344adb572
Remove events.module from query, use dataset string or index name instead (#65328) 2020-05-05 13:42:21 -07:00
Wylie Conlon e5d7bb6e9a
[Lens] Pie and treemap charts (#55477)
* [Lens] Add pie and treemap visualizations

* Fix types

* Update to new platform

* Support 2-layer treemap and legends, dark mode

* Significant restructuring of code

* Upgrade to latest charts library

* Commit yarn.lock

* chore: update elastic-charts

* fix types after merge master

* Add settings panel and merge visualizations

* Fix tests

* build: upgrade @elastic/charts to 19.0.0

* refactor: onBrushEnd breaking changes

* fix: missing onBrushEnd argument changes

* More updates

* Fix XY rendering issue when all dates are empty

* Fix bugs and tests

* Use shared services location

* Fix bug in XY chart

* fix: update ech to 19.1.1

* fix: lens onBrushEnd breaking changes

* Change how pie/treemap settings work

* [Design] Fix up settings panel

* [Design] Update partition chart config styles

* fix eslint

* Fix legend issues in pie and XY, add some tests

* update to 19.1.2

* Fix text color for treemap

* Fix chart switch bug

* Fix suggestions

Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-05-05 15:59:32 -04:00
Ryland Herrick 7cd44e02b8
[SIEM][Detections] ML services refactor (#65187)
* Use generic type for our cluster call

Our callCluster function is currently an ML client being scoped by
alerting.

* Use the ML client in our anomaly query

This will allow us to refactor getAnomalies to use ML services.

* Use ml-provided services to query for anomalies

This gets us a free license check from ML. In the future, it will also
check user privileges.

* Add unit tests for our ML query function

This is going to be touched in the near future for lists.

* Retrieve job summary info as the alerting user

This will ensure the proper permissions checks when retrieving this
information.

* Remove TODO about ML error condition

If the service call fails on e.g. a license check, an error will be
thrown and it will be recorded as a rule failure.
2020-05-05 14:52:45 -05:00
James Gowdy 943f8b9df1
[ML] Fix packetbeat module query (#65241) 2020-05-05 20:44:52 +01:00
Walter Rafelsberger 2de9346ed1
[ML] Progress to include step. (#65305)
Changes the way progress is reported to include the steps and the progress for each step.
2020-05-05 21:30:26 +02:00
Walter Rafelsberger 32be411e1f
[ML] Transforms: Edit transform flyout. (#65033)
Adds an option to be able to edit certain attributes of transforms. This PR adds the ability to edit the description and frequency of the transform config. The PR is prepration to add support for editing throttling in a follow up.
2020-05-05 21:27:16 +02:00