Commit graph

36362 commits

Author SHA1 Message Date
Robert Oskamp
5f19be557a
Functional tests - add supertest for test_user (#77584)
This PR adds a supertest instance that runs with test_user permissions to the security service.
2020-09-17 10:42:40 +02:00
James Gowdy
ae55391035
[ML] Adding option to create AD jobs without starting the datafeed (#77484)
* [ML] Adding option to create AD jobs without starting the datafeed

* changing translation id

* i just need some space

* adding missed spelling change

* disabling switch when running

* improving logic

* further test improvements

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 09:00:49 +01:00
Thomas Watson
06e8c54751
Bump node-fetch to 2.6.1 (#77445) 2020-09-17 08:48:06 +02:00
Thomas Watson
d548b92479
Bump sharkdown from v0.1.0 to v0.1.1 (#77607) 2020-09-17 08:47:01 +02:00
Cauê Marcondes
94a4fc9350
[APM]fixing y axis on transaction error rate to 100% (#77609)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 08:35:33 +02:00
Matthias Wilhelm
0dc0f1f34c
[Discover] Migrate discover.html Angular template to React (#75784)
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
2020-09-17 07:51:31 +02:00
Tyler Smalley
dd8db10253 skip flaky suite (#77701) 2020-09-16 21:22:19 -07:00
nnamdifrankie
8bfdefe4e0
EMT-179: implement metadata query versioning based on ingest manager installed ES assets (#77252)
* EMT-179: initial refactor for versioning

* EMT-179: move things before pulling from master

* EMT-179: fix build

* EMT-179: clean up

* EMT-179: add ingest hook, and improve all tests

* EMT-179: fix build

* EMT-179: clean up

* EMT-179: fix build

* EMT-179: fix build

* EMT-179: clean up

* EMT-179: more clean up

* EMT-179: clean up

* EMT-179: fix build

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 21:27:06 -04:00
nnamdifrankie
3e3f9c7ee9
[Ingest] fix transform path to work with external ES/cloud (#77640)
[Ingest] fix transform path to work with external ES/cloud
2020-09-16 21:25:38 -04:00
Constance
9d1ba4d711
[Enterprise Search] Add nested sub navigation to SideNavLinks (#77685)
* Add subNav prop to SideNavLinks

- for nested navigation

* [Probably extra] Tweak CSS to allow for recursive subnesting

- while attempting to expand the hitbox area of nested links as much as possible

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 17:50:28 -07:00
Scotty Bollinger
bd6b38915b
[Enterprise Search] Add helpers for flash messages (#77677)
* [Enterprise Search] Add a helper for success messages

* Move method to separate file

* Update test names

* D R Y

* I really need to slow down  🤦🏼‍♂️

* PR feedback

* Typo
2020-09-16 18:06:34 -05:00
Josh Dover
66830263a9
Make sure getOpsMetrics$ only replays lastest value (#77673) 2020-09-16 16:55:35 -06:00
spalger
333b200c9d update invalid snapshot 2020-09-16 15:28:28 -07:00
Josh Dover
b3aabe98aa
Migrate /api/settings to KP (#77554) 2020-09-16 14:24:11 -06:00
Paul Tavares
c178c8abff
[SECURITY_SOLUTION][ENDPOINT] Create Trusted Apps UI Flow (#77076)
* Add UI for creating a new Trusted App entry
2020-09-16 16:21:31 -04:00
IgorG
4f0edbd160
Functional Test for Resolver fix (#77116)
* Final I hope check in for Resolver fix

* Fix click

* Fix click

* Fix click

* revert to select the first event

* Gzip Data file

* removed not zipped file

* striped Data file and gziped

* removed commented out delete indices

* Added query bar to select correct events

* removed commented out delete indices

* removed commented out delete indices

* removed commented out delete indices

* removed commented out delete indices

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 13:16:20 -07:00
Charlie Pichette
37527f94f3
Validate href for reassign policy link (#77534) 2020-09-16 14:10:59 -06:00
Jonathan Buttner
17fec25e3c
[Security Solution] Refactor resolver children _source (#77343)
* Moving generator to safe type version

* Finished generator and alert

* Gzipping again

* Finishing type conversions for backend

* Trying to cast front end tests back to unsafe type for now

* Working reducer tests

* Adding more comments and fixing alert type

* Restoring resolver test data

* Updating snapshot with timestamp info

* Getting the models figured out

* Event models type fixes

* Adding more comments

* Fixing more comments

* Adding comments
2020-09-16 15:28:30 -04:00
Shahzad
3688df286a
[RUM Dashboard] Handle invalid service name param (#77163)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 21:20:45 +02:00
Alejandro Fernández Haro
fd1aad0711
[Application Usage] Daily rollups to overcome the find >10k SO limitation (#77610)
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2020-09-16 20:08:06 +01:00
Kevin Qualters
e733d42d84
[Security Solution] [Resolver] Resolver query string state (#76602)
Co-authored-by: Robert Austin <robert.austin@elastic.co>
Co-authored-by: oatkiller <robert.austin@elastic.co>
2020-09-16 14:43:35 -04:00
Patryk Kopyciński
ea76209271
[Security Solution] Refactor Timeline Events to use Search Strategy (#77205) 2020-09-16 20:25:10 +02:00
Greg Thompson
e5b302eeee
Upgrade EUI to v28.4.0 (#77098)
* eui to 28.4.0

* euiselectableoption fixes

* src snapshot updates

* x-pack snapshot updates

* htmlidgenerator mock

* merge resolution

* clean up

* snapshot update

* prevent api changes
2020-09-16 12:10:10 -06:00
Scotty Bollinger
e61120b038
[Enterprise Search] Update layout for white bg (#77555)
* [Enterprise Search] Update layout for white bg

This PR updates the Enterprise Search layout to have a white background.

Includes:
- Updating the header hights to account for search bar (renamed from kibana to console for future proofing)
- Add height to extend to bottom of page
- Change bg to white

* D R Y

* Update x-pack/plugins/enterprise_search/public/applications/shared/layout/layout.scss

Thanks!

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 13:08:28 -05:00
Pierre Gayvallet
33f6025add
add category related meta to application results (#77618) 2020-09-16 20:01:19 +02:00
Rashmi Kulkarni
04a5a4c0ca
using test_user with minimum privileges for lens functional ui tests (#76673)
* lens modified privs

* lens reporting test

* new role added -global_dashboard_all

* remove unwanted file

* added the reverted file

* precommit hook fix

* moved the navigateToApp to the before method

* moving the navigateToApp to before method

* closing the alert window if open in the test_user method

* adding the false param

* addressed review comments

* added common PageObjects

* removed common

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 10:57:22 -07:00
James Rodewig
37465f5c8c
[Ingest Pipelines] Add descriptions for ingest processors T-U (#77497) 2020-09-16 13:36:56 -04:00
Luke Elmers
ba53369170
[index_pattern_management]: Replace calls to /elasticsearch/_msearch with internal route. (#77564) 2020-09-16 11:29:32 -06:00
Lee Drengenberg
23a0dcebe2
scroll to top of #kibana-body before trying to click createIndexButton (#77550)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 12:21:19 -05:00
Dario Gieselaar
8169ed173b
[APM] Metrics-powered UI (#73953)
* [APM] Optimize service overview queries

* Review feedback

* Use correct indices/filters for service overview metrics

* [APM] Optimize traces overview

* Separate queries into separate file

* Support union types for aggregations

* [APM] Don't fetch dynamic index pattern in setupRequest

We don't need a dynamic index pattern for parsing the filters from the query bar. Additionally, instead of fetching uiIndices in `getParamsForSearchRequest`, we can use `indices` that we already fetched in `setupRequest`.

* use join utility function to merge requests

* Correct path for UI_SETTINGS import

* Query transaction indices in getEnvironments()

* [APM] Introduce apm.types

Instead of using a combination of index + terms filters on processor.event, add a top-level setting that allows you to define a type, which can be a processor event type, agent configuration or custom link. This allows us to more easily compose queries.

* Set size of terms agg on error rate aggregation

* Metrics

* Use separate clients for apm events and other uses

* Separate function for calculating relative impact

* use UIProcessorEvent type in IURLParams type

* Remove unused import

* Split out strategy in helper functions

* Use cloneDeep in apmEventClient.search

* Consistent usage of getUseAggregatedTransactions

* Update traces functional test

* Update API tests

* Update responses for functional tests

* Review feedback

* Fix type for filter/filters aggregation

* Review feedback

* Rename useAggregatedTransactions > searchAggregatedTransactions

* Use correct route name for transaction redirect page

* Closes #67744.

* Review feedback; offer other strategies than 'auto'

* Fix functional tests

* [APM] Always load esarchives from common

Instead of requiring every test suite to store its archives under {suite}/fixtures/es_archiver, always load them from common/fixtures/es_archiver.

* Update script

* Make sure tests pass

* Update snapshots for API tests

* Filter for transaction.root when fetching top traces

* Make sure must_not clause is formatted correctly

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 19:20:08 +02:00
spalger
d352edb79e skip flaky suite (#77401) 2020-09-16 10:16:56 -07:00
Thomas Watson
ba474ce226
Update Node.js to version 10.22.1 (#77619) 2020-09-16 18:51:50 +02:00
Lisa Cawley
9079aca5b7
[DOCS] Update ML note in Kibana role management (#77538) 2020-09-16 09:30:43 -07:00
Lisa Cawley
80107b41e5
[DOCS] Remove list of privileges from ML overview (#77541) 2020-09-16 09:25:55 -07:00
Constance
c84c3473c0
[Enterprise Search] Minor flashAPIMessages update (#77570)
* Fix missing export 🤦‍♀️

* Add fallback for http errors without an errors array

- all http error messages should still be expected to contain a message key, so should be a reliable fallback
2020-09-16 08:30:46 -07:00
Aleh Zasypkin
5f34d74cd4
Schedule session index cleanup task only once. (#75661) 2020-09-16 17:30:05 +02:00
Sushrut Kasture
0a58d510be
Display useful error when role creation fails (#77600)
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 11:16:09 -04:00
Josh Dover
9b6edc5cd5
Allow legacy imports size respect savedObjects.maxImportPayloadBytes config (#77409) 2020-09-16 08:52:42 -06:00
Dario Gieselaar
78774e4925
[APM] Disable incremental builds for APM-only type check (#77581) 2020-09-16 16:50:45 +02:00
Matthew Kime
5511f0f977
IndexPatternService - remove getFields function (#77571)
* remove getFields fn
2020-09-16 09:23:59 -05:00
Shahzad
10b192b5b0
[RUM Dashboard] User experience metrics (#77384)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 15:34:28 +02:00
Cauê Marcondes
6c5258a8c3
Fixing service maps API test (#77586)
* fixing api tests

* fixing api tests
2020-09-16 13:39:32 +02:00
Jean-Louis Leysens
f70aacec87
[Grok] Fix missing error message in error toasts (#77499) 2020-09-16 12:59:46 +02:00
Gidi Meir Morris
efe76121c7
[Alerting] Exempt Alerts pre 7.10 from RBAC on their Action execution until updated (#75563)
Marks all Alerts with a `versionApiKeyLastmodified ` field that tracks what version the alert's Api Key was last updated in. We then use this field to exempt legacy alerts (created pre `7.10.0`) in order to use a _dialed down_ version of RBAC which should allow old alerts to continue to function after the upgrade, until they are updates (at which point they will no longer be **Legacy**).

More details here: https://github.com/elastic/kibana/issues/74858#issuecomment-688324039
2020-09-16 11:47:37 +01:00
Dima Arnautov
599d55a1b2
[ML] fix type in apply_influencer_filters_action (#77495) 2020-09-16 12:38:55 +02:00
Marta Bondyra
ab38cd5f20
[Lens] create reusable component for filters and range aggregation (#77453) 2020-09-16 12:06:00 +02:00
spalger
53a217540b fix eslint violations 2020-09-16 03:00:03 -07:00
Alejandro Fernández Gómez
3c555e2ca2
Collapse alert chart previews by default (#77479) 2020-09-16 11:30:51 +02:00
James Gowdy
b162cca68d
[ML] Fixing field caps wrapper endpoint (#77546) 2020-09-16 09:47:02 +01:00
Cauê Marcondes
89af7e676d
showing service maps when filte by environment not defined (#77483) 2020-09-16 10:40:58 +02:00