Commit graph

36388 commits

Author SHA1 Message Date
Brandon Morelli 12cd179e12
docs: fix temp link (#77005) 2020-09-17 10:45:39 -07:00
Frank Hassanabad 9497d62d4a
[Security Solution][Detection Engine] Fixes degraded state when signals detected are between 0 and 100 (#77658)
## Summary

Fixes: https://github.com/elastic/kibana/issues/77342

No easy way to unit test/end to end test this as it was operating correctly before and passed all of our tests, it was just running in a slow state if you had between 0 and 100 signals. The best bet is that you hand run the tests from 77342 or use a large look back time to ensure de-duplicate does not run as outlined in 77342.


Also this PR removes a TODO block, a complexity linter issue we had, a few await that were there by accident, and pushes down arrays to make things to be cleaner.
2020-09-17 11:41:57 -06:00
Quynh Nguyen d88b3a6dde
[ML] Migrate internal urls to non-hash paths (#76735)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 12:09:08 -05:00
Alison Goryachev 11f100b1ac
[Mappings editor] Add support for histogram field type (#76671) 2020-09-17 12:41:21 -04:00
Robert Austin 53c8fad233
[Resolver] Fixup assets file (#77766)
* Fix useUiSetting import

* remove unused exports
2020-09-17 12:30:07 -04:00
Cauê Marcondes 9c90c14b25
[APM] Show accurate metrics for containerized applications (#76768)
* adding cgroup fields

* calculate the memory based on the cgroup fields otherwise use the system fields

* updating script

* adding api tests

* using cgroup fields on service map

* addressing PR comment

* fixing unit test

* fixing test

* changing api tests to use snapshot

* removing inactive_files from calculation

* fixing test

* refactoring painless script

* addressing PR comment

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 18:13:06 +02:00
Pierre Gayvallet 161a74f732
remove legacy security plugin (#75648)
* remove legacy security plugin

* remove legacy plugin check

* adapt mocha tests

* update CODEOWNERS
2020-09-17 18:00:04 +02:00
Constance 03e3c85228
[Enterprise Search] Add read-only mode interceptor and error handler (#77569)
* Add readOnlyMode prop + callout to Layout component

* Update HttpLogic to initialize readOnlyMode from config_data

+ update App Search & Workplace Search layout to pass readOnlyMode state
- update passed props test to not refer to readOnlyMode, so as not to confuse distinction between props.readOnlyMode (passed on init, can grow stale) and HttpLogic.values.readOnlyMode (will update on every http call)

- DRY out HttpLogic initializeHttp type defs

* Update enterpriseSearchRequestHandler to pass read-only mode header

+ add a custom 503 API response for read-only mode errors that come back from API endpoints (e.g. when attempting to create/edit a document) - this is so we correctly display a flash message error instead of the generic "Error Connecting" state

+ note that we still need to send back read only mode on ALL headers, not just on handleReadOnlyModeError however - this is so that the read-only mode state can updates dynamically on all API polls (e.g. on a 200 GET)

* Add HttpLogic read-only mode interceptor

- which should now dynamically listen / update state every time an Enterprise Search API call is made

+ DRY out isEnterpriseSearchApi helper and making wrapping/branching clearer

* PR feedback: Copy
2020-09-17 08:43:40 -07:00
Stratoula Kalafateli 3cf41674f5
Aligns the y axis settings on horizontal mode (#77585) 2020-09-17 18:38:43 +03:00
Michail Yasonik 4bf0932500
Adding meta data and highlighting to nav search (#77662) 2020-09-17 10:11:04 -05:00
Michail Yasonik 102be1ba39
Fix memory leak in query_string_input (#77649) 2020-09-17 10:05:47 -05:00
Larry Gregory fc97a3741c
Add telemetry as an automatic privilege grant (#77390)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 10:48:08 -04:00
Christos Nasikas e616c1501a
[Security Solutions][Cases] Cases Redesign (#73247)
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 17:39:35 +03:00
Uladzislau Lasitsa 75a14594f2
Use Search API in TSVB (#76274)
* Use Search API for TSVB

* Fixed ci

* Fixed ci

* Use constants

* Fixed tests

* Fixed ci

* Fixed ci

* Back old rollup search

* Fixed test

* Fixed tests

* Fixed issue with series data

* Fixed comments

* Fixed comments

* Fixed unit test

* Deleted unused import

* Fixed comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 17:22:41 +03:00
Alison Goryachev 9ac2fdfe26
[Mappings editor] Add support for constant_keyword field type (#76564) 2020-09-17 09:39:00 -04:00
Michael Hirsch 6d12c6893a
[ML] Adds ML modules for Metrics UI Integration (#76460)
* adds metrics ml integration

* renames jobs, updates datafeeds

* adds allow_no_indices: true for datafeeds

* updates module ids in manifest

* adds custom urls

* adds module and individual job descriptions

* removes model plots

* updates terms agg sizes

* updates chunking config

* removes query and default index pattern from manifest, updates descriptions

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 09:02:28 -04:00
Anton Dosov 0cde5fd456
[Drilldowns] {{event.points}} in URL drilldown for VALUE_CLICK_TRIGGER (#76771)
{{event.points}} in URL drilldown for VALUE_CLICK_TRIGGER

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 14:29:03 +02:00
Josh Dover cbf2844d64
Migrate status & stats APIs to KP + remove legacy status lib (#76054)
* Complete migration of legacy status API

* PR comments

* Remove optional auth on stats endpoint

* Regen docs

* PR comments

* PR nits

* Set ReplaySubject buffer to 1

* Fix exclude_usage logic

Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
2020-09-17 14:05:59 +02:00
Pierre Gayvallet e3f3d5fbf9
use App updater API instead of deprecated chrome.navLinks.update (#77708) 2020-09-17 13:36:58 +02:00
Shahzad 5be36b799d
[CSM Dashboard] Remove points from line chart (#77617)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 13:02:20 +02:00
Cauê Marcondes d1a6e89b46
[APM] Trace timeline: Replace multi-fold function icons with new EuiIcon glyphs (#77470) 2020-09-17 11:46:22 +02:00
Casper Hübertz 58aa101d07
[Observability] Overview: Alerts section style improvements (#77670)
* Adding margin for the alert item
* Make the link text smaller
2020-09-17 11:32:18 +02:00
Thomas Watson 79c26e3591
Bump the Node.js version used by Docker in CI (#77714)
This change was left out of #77619 because the new Docker images wasn't
published at the time.
2020-09-17 11:19:12 +02:00
Thomas Watson f81901e6f6
Upgrade all minimist (sub)dependencies to version ^1.2.5 (#60284)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2020-09-17 11:14:42 +02:00
Thomas Watson b73337538f
Remove unneeded forced package resolutions (#77467)
The removed resolutions are no longer needed because the packages that
originally depended on the incompatible versions have either been
removed or upgraded.
2020-09-17 10:58:47 +02:00
Pete Harverson 5419eebb6f
[ML] Add metrics app to check made for internal custom URLs (#77627) 2020-09-17 09:56:48 +01:00
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