Commit graph

36232 commits

Author SHA1 Message Date
Larry Gregory
2e34eb239f
Hide management sections based on cluster/index privileges (#67791)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 09:30:47 -04:00
Alison Goryachev
ebf877b91f
[Snapshot Restore] Disable steps when form is invalid (#76540) 2020-09-14 08:51:16 -04:00
Alison Goryachev
fde34b129a
[Mappings editor] Add support for positive_score_impact to rank_feature (#76824) 2020-09-14 08:43:51 -04:00
Søren Louv-Jansen
92164a3528
Update apm.ts (#77310) 2020-09-14 14:22:13 +02:00
Cauê Marcondes
4ec42d45d2
[OBS] Remove beta badge, change news feed size and add external icon to news feed link (#77164)
* removing beta badge

* change news feed size and adding external icon

* fixing i18n

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 14:19:26 +02:00
Matthias Wilhelm
aed9932579
[Discover] Convert legacy sort to be compatible with multi sort (#76986) 2020-09-14 13:59:14 +02:00
Dario Gieselaar
8a898feeef
[APM] API Snapshot Testing (#77229) 2020-09-14 13:51:13 +02:00
Robert Oskamp
4126ef603a
[ML] Functional tests - increase wait time for DFA start (#77307)
This PR stabilizes the DFA creation tests on cloud environments by increasing the timeout after DFA start.
2020-09-14 13:50:44 +02:00
Anton Dosov
0fd503edc6
[UiActions][Drilldowns] Fix actions sorting in context menu (#77162)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 13:01:20 +02:00
Anton Dosov
4a45dad51f
[Drilldowns] Wire up new links to new docs (#77154)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 12:58:22 +02:00
Søren Louv-Jansen
02e10a04f2
Fix APM issue template 2020-09-14 12:47:55 +02:00
Jean-Louis Leysens
97813b29dd
[Ingest Pipelines] Drop into an empty tree (#76885)
* add ability to drop processor into empty tree

* added a test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 12:46:12 +02:00
Jean-Louis Leysens
1ea61ec478
fix double hline under drop processor (#76929)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 12:45:08 +02:00
Daniil Suleiman
44f594ee7b
[Visualizations] Simplify visualization telemetry (#77145)
* Move visualizations telemetry into visualizations plugin

* Remove x-pack oss_telemetry plugin

* Add unit tests

* Update docs

* Revert not related changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 13:36:42 +03:00
Victor Martinez
98c9b189f6
[APM-UI][E2E] filter PRs from the apm-ui GH team (#76764) 2020-09-14 11:11:14 +01:00
Marta Bondyra
42e03aa14f
[Lens] fix performance on pie settings slider (#77181) 2020-09-14 11:46:43 +02:00
Joe Reuter
a49d8e8994
Separate url forwarding logic and legacy services (#76892) 2020-09-14 11:08:59 +02:00
Thomas Watson
d722ec611c
Bump yargs-parser to v13.1.2+ (#77009) 2020-09-14 10:49:15 +02:00
Nicolas Chaulet
61951a5770
[Ingest Manager] Shared Fleet agent policy action (#76013) 2020-09-13 21:09:33 -04:00
Lukas Olson
49a00352b5
[Search] Re-add support for aborting when a connection is closed (#76470)
* [Search] Re-add support for aborting when a connection is closed

* Fix types

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-13 14:08:39 -07:00
Lukas Olson
b99d8af623
[Search] Remove long-running query pop-up (#75385)
* [Search] Remove long-running query pop-up

* Don't timeout if requestTimeout isn't configured

* Remove unused kibanaUtils

* Remove unused kibanaReact

* Re-add reference to kibanaUtils

* Remove unused translations and update documentation

* Add new x-pack advanced setting searchTimeout and use it in the EnhancedSearchInterceptor

* docs

* Re-add toast when queries time out

* Fix types

* Update error message with capabilities

* Update docs

* Update docs

* Move search server routes into a directory.

* Add internal/_msearch route.

* Remove legacy search API, rewrite default search strategy to use internal route.

* Remove legacy es_client code.

* Handle msearch options on server.

* Remove elasticsearch-browser dependency.

* Update generated docs.

* Rely on server timeout in OSS (?)
Use UI setting in xpack.

* Rename function

* Add features to dependencies

* Undefined check

* doc

* Code review fixes

* code review

* doc

* loading count

* simplify code review and fix jest tets

* type check

* Remove esShard from client

* cleanup request parameters from FE

* doc

* doc

* Align request parameters on server,
Remove leftover parameters from client
Shim responses for search and msearch routes

* docs
Stop using toSnakeCase
Updates jest tests

* add management docs

* docs

* Remove import

* Break circular dep + fix msearch test

* Remove deleted type

* Fix jest

* Bring toSnakeCase back

* docs

* fix jest

* Add new x-pack advanced setting searchTimeout and use it in the EnhancedSearchInterceptor

* docs

* Rely on server timeout in OSS (?)
Use UI setting in xpack.

* Rename function

* doc

* Remove esShard from client

* cleanup request parameters from FE

* doc

* doc

* Align request parameters on server,
Remove leftover parameters from client
Shim responses for search and msearch routes

* docs
Stop using toSnakeCase
Updates jest tests

* add management docs

* docs

* Remove import

* Break circular dep + fix msearch test

* Remove deleted type

* Fix jest

* Bring toSnakeCase back

* docs

* fix jest

* Fix merge

* Fix types

* Allow timeout to be undefined

* Fix jest test

* Upldate docs

* Fix msearch jest

* Merge correction

* docs

* Fix rollup search merge

* Fix merge

* Use i18n

Co-authored-by: Liza K <liza.katz@elastic.co>
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-13 10:20:10 -07:00
Chris Roberson
d01598dc73
[Monitoring] Fix UI error when alerting is not available (#77179)
* Ensure we always pass this structure down to avoid any errors in the UI

* Fix tests and also fix inaccurate boolean states

* Fix fixture
2020-09-11 09:28:47 -04:00
Mikhail Shustov
4c23669611
do not log plugin id format warning in dist mode (#77134) 2020-09-11 12:05:42 +02:00
James Gowdy
ea8086b3f2
[ML] Improving client side error handling (#76743)
* [ML] Improving client side error handling

* adding stacktrace to request errors

* copying error parsing to transforms

* update snapshot

* fixing jest tests

* adding test and removing debug log output

* updating translations

* rewriting error extracting code

* fixing tests

* removing message bar service

* removing test code

* updating translations

* combining job creation error handling

* refactoring error files

* updating test

* fixing bug in DFA deletion

* improving mml warning

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-11 08:53:34 +01:00
Christos Nasikas
22b4e40ea0
[Alerting][Connectors] Refactor IBM Resilient: Generic Implementation (phase one) (#74357)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-11 10:24:46 +03:00
Peter Pisljar
177d67e8bc
[Docs] some basic searchsource api docs (#77038) 2020-09-11 08:59:56 +02:00
Pierre Gayvallet
1bdff6e3c7
add cGroupOverrides to the legacy config (#77180)
* add  cGroupOverrides to the legacy config

* update missing usages

* remove old cpu/cgroup schema
2020-09-11 08:05:19 +02:00
Joe Portner
52d044c74a
Change saved object bulkUpdate to work across multiple namespaces (#75478) 2020-09-10 22:09:24 -04:00
Brent Kimmel
fcead4ffde
[Security Solution][Resolver] Replace Selectable popover with badges (#76997)
* replace selectable/popover with badges

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-10 17:40:38 -04:00
Cauê Marcondes
e3c71a7b66
Removing ml-state index from archive (#77143)
* removing ml-state index from archive

* removing archiver

* removing archiver

* adding archiver with ml anomalies

* fixing test
2020-09-10 22:42:37 +02:00
Angela Chuang
046345d896
[Security Solution] Add unit tests for histograms (#77081)
* init tests

* add unit tests for histograms

* fix types

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-10 20:39:06 +01:00
Marta Bondyra
0c678ebada
[Lens] Filters aggregation (#75635) 2020-09-10 21:16:07 +02:00
Scotty Bollinger
65abdfffee
[Enterprise Search] Update WS Overview logic to use new config data (#77122)
* Update AppLogic to use new data structure

* Update components to use AppLogic

* Remove unused props from logic file

* Fix failing tests

* Add tests to get 100% converage

The test added for app_logic will never happen but hey, 100 is 100.

Also added test to recent_activity for 100% coverage

* Use non-null assertion operator in logic file

TIL this is a thing

* Remove test for undefined
2020-09-10 13:55:40 -05:00
Josh Dover
50ec790f71
Cleanup type output before building new types (#77211) 2020-09-10 12:39:32 -06:00
Jonathan Buttner
e7b02d06cc
[Security Solution] Use safe type in resolver backend (#76969)
* 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

* Removing todo and fixing test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-10 14:26:35 -04:00
Chris Roberson
eacd602612
Use proper lodash syntax (#77105)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-10 13:50:16 -04:00
Devon Thomson
5d12eda2d5
[Input Controls] Fix Resize Resetting Selections (#76573)
Fixed resizing controls visualization resetting selections
2020-09-10 13:33:27 -04:00
Candace Park
cd489e5f26
[Security Solution][Endpoint][Admin]Task/kql bar only (#75066) 2020-09-10 13:27:25 -04:00
John Schulz
f8bb478800
[Ingest Manager] getInstallType type improvements (#77053)
* Add overloads to getInstallType. Remove 2 ignores.

* Move tests inside `it` blocks

* Add ts-expect-error for InstallType invariants
2020-09-10 13:18:57 -04:00
Michael Hirsch
a55edc9937
[ML] Adds Metadata and Discovery Analysis Jobs to Security Integration (#76023)
* adds enhanced winlogbeat module

* adds enhanced auditbeat module

* splits discovery jobs

* fixes winlogbeat manifest

* adds process group

* adds custom urls

* adds by field as influencer

* use process.title as influencer

* updates custom url

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-10 13:10:20 -04:00
Davis Plumlee
c85a1b296e
[Security Solution] Updates rules table tooling (#76719) 2020-09-10 13:02:34 -04:00
Chris Roberson
0207f82e80
Prevent editing/creation of these in the alerts management UI (#77097) 2020-09-10 12:14:54 -04:00
Larry Gregory
52fba21e4b
Introduce telemetry for security features (#74530)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2020-09-10 11:44:53 -04:00
CJ Cenizal
e2cbd89e66
Rename useRequest's sendRequest return function to resendRequest and remove return value (#76795) 2020-09-10 08:23:13 -07:00
James Gowdy
ae9a9c2f71
[ML] Improve performance of job exists check (#77156)
* [ML] Improve performance of job exists check

* adding tests

* possible undefined error body
2020-09-10 16:06:39 +01:00
Thomas Watson
fd08782777
[CI] ensure tests for @elastic/safer-lodash-set only runs once (#77146) 2020-09-10 16:47:38 +02:00
Tim Roes
100afab308
Use new date_histogram intervals in timelion (#77160) 2020-09-10 16:06:41 +02:00
Alejandro Fernández Haro
8ad47846ca
[Telemetry] Only show Opt-In banner when user can change settings (#76883)
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-10 14:49:09 +01:00
Alejandro Fernández Haro
ad62fa0a6e
[Telemetry][API Integration tests] Ensure .kibana index exists (#76662)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-10 12:45:27 +01:00
Dario Gieselaar
0f249d7383
[APM] Always load esarchives from common (#77139) 2020-09-10 12:55:21 +02:00