Commit graph

36215 commits

Author SHA1 Message Date
CJ Cenizal
2eb8dac99c
URI encode the index names we fetch in the fetchIndices lib function. (#76584)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 07:01:22 -07:00
Jonathan Buttner
ae093e5a7a
[Security Solution] Resolver retrieve entity id of documents without field mapped (#76562)
* More comments

* Adding tests for mapping without entity_id

* Removing unnecessary comments

* Fixing type errors

* Removing unnecessary import

* Fixups and style

* change 'data' state shape, nesting the tree fetcher data
* rename 'TreeFetcherParameters' from 'DatabaseParameters' to make it
more specific to the API it works on
* fix bug in 'equal' method of 'TreeFetcherParameters'`
* use mockTreeFetcherParameters method in tests that need to specify a
TreeFetcherParameters but when the value isn't relevant to the test
* Hide Resolver if there is no databaseDocumentID
* add doc comments

* Fixing test name and adding comments

* Pulling in roberts test name changes

* [Resolver] Only render resolver once we have a signals index

Co-authored-by: oatkiller <robert.austin@elastic.co>
2020-09-04 09:24:24 -04:00
Nicolas Chaulet
f7ad02d452
[Ingest Manager] validate agent route using AJV instead kbn-config-schema (#76546) 2020-09-04 09:13:22 -04:00
Joe Portner
ab24ed66a6
Updated non-dev usages of node-forge (#76699) 2020-09-04 08:29:19 -04:00
Jean-Louis Leysens
2326f3ffad
[Ingest Pipelines] Processor forms for processors K-S (#75638)
* added kv processor form

* added lowercase processor form

* Added pipeline processor form

* added remove processor form

* added rename processor form

* Add script processor form

Also:

- Also refactored name of defaultBoolToUndef to undefinedIfValue
  to make it more broadly applicable for deserializing when
  default values have been provided
- Refactor to pass in original processor options value so that
  a form can initialize based on those values

* Updated the existing set processor form

- also fixed a bug that would render a horizontal line even if
  the form has no fields of its own (like the drop processor form)

* Added set_security_user form

* Added split processor form

- also added comments to set_security_user processor

* added sort processor form

* fix: duplicate i18n identifier

* added field to kv processor form for trim value

* replaced all editor heights with a clearer indication of the source of common heights

* remove unused translations

* remove unused translation

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 14:11:17 +02:00
Shahzad
33d366a5e9
[RUM Dashboard] Rum usability improvement (#76024)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 14:05:20 +02:00
Angela Chuang
95a0b55a36
[Security Solution] Refactor Host uncommon processes to use Search Strategy (#76539)
* add search strategy of uncommon processes

* fixup

* fix host.name

* remove comment

* review

* revert path for libs

* fix path

* revert

* remove additional lines

* remove comment
2020-09-04 12:53:05 +01:00
Anton Dosov
e7d80e7e70
[Drilldowns] URL drilldown MVP (#75450) 2020-09-04 13:52:41 +02:00
Yulia Čech
70b4b89270
[ILM] TS conversion of Index Management plugin extension (#76517)
* [ILM] TS conversion of Index Management plugin extension

* [ILM] Implement review suggestions

* [ILM] Fix jest test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 13:47:16 +02:00
Stratoula Kalafateli
6e339d319d
[Functional] Unskip chained controls tests (#76610) 2020-09-04 14:43:27 +03:00
Stratoula Kalafateli
9ea61fc4b4
[Functional] Unskip TSVB metric tests (#76596) 2020-09-04 14:43:13 +03:00
John Schulz
fc22c7d9fb
[Ingest Manager] Create default Error handler. Use on /setup & EPM routes (#74409)
* Add default Error handler. Try on /*setup & /epm/*

* Add return type. Rename interface

* Export error handler type & add comments

* use default error handler in installPackageHandler

* (re)-add comment
2020-09-04 07:33:58 -04:00
Matthias Wilhelm
1eec83d7b9
[Discover] Fix time zone switch functional test in cloud env (#76396) 2020-09-04 13:22:35 +02:00
MadameSheema
89bf20ef6a
[SECURITY SOLUTION] Upgrades cypress to v5 (#76002)
* upgrades cypress to v5

* fix failing test

* removes unnecessary line

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 11:30:32 +02:00
Mikhail Shustov
74499c48ec
Remove LP deprecations (#76536)
* inline deprecations in kbn-test

* remove LP deprecations

* remove test

* inline log call

* remove unnecessary deprecations for the test config
2020-09-04 11:12:16 +02:00
Mikhail Shustov
c547a81cbc
Remove legacy ui-apps-mixin (#76604)
* remove ui_nav_links

* remove remove-ui-apps-mixin

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 08:20:45 +02:00
Mikhail Shustov
c402e51b52
remove unused test_utils (#76528)
* remove unused utils

* remove unnecessary aliases
2020-09-04 08:11:07 +02:00
Robert Oskamp
6275e72ef6
[ML] Functional tests - add UI permission tests (#76368)
This PR adds automated tests for ML UI permissions with both permission models (ES based and spaces based).
2020-09-04 07:34:12 +02:00
Søren Louv-Jansen
e0f4775b78
[APM] @ts-error -> @ts-expect-error (#76492)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 06:52:16 +02:00
Søren Louv-Jansen
fae1e02e0f
[APM] Avoid negative offset for error marker on timeline (#76638)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 06:51:30 +02:00
Tim Sullivan
e4464a189f
[Reporting] rename interfaces to align with task manager integration (#76716)
* [Reporting] rename interfaces for schedule task

* move screenshot types to their local

* organize imports

* remove schedule terminology

* revert comment

* fix ts

* add newline
2020-09-03 21:20:00 -07:00
Yuliia Naumenko
ef533721ed
Revert back ESO migration for alerting, added try/catch logic to avoid failing Kibana on start (#76220)
* Revert back ESO migration for alerting, added try/catch logic to avoid failing Kibana on start

* Revert back ESO migration for alerting, added try/catch logic to avoid failing Kibana on start

* fixed due to comments

* removed unused logger

* fixed type checks

* did renaming from 7.9 to 7.10

* Added migration failure unit test
2020-09-03 17:13:17 -07:00
Spencer
5b853b2326
Test reverting "Add plugin status API (#75819)" (#76707)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-03 15:21:59 -07:00
Garrett Spong
fb304b2dbe
[Security Solution][Detections] Removes ML Job Settings SIEM copy and fixes link to ML app for creating custom jobs (#76595)
## Summary

Resolves https://github.com/elastic/security-team/issues/199

Removes remaining SIEM copy and fixes link to ML app for creating custom jobs

<p align="center">
  <img width="500" src="https://user-images.githubusercontent.com/2946766/92073438-e017d600-ed70-11ea-9827-7b5c9ffab7b1.gif" />
</p>



### Checklist

Delete any items that are not applicable to this PR.

- [X] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
- [X] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2020-09-03 16:16:08 -06:00
Nathan Reese
1be6d6957e
[Maps] remove region/coordinate-maps visualizations from sample data (#76399)
* [Maps] remove region/coordinate-maps visualizations from sample data

* add color scale to logs vega map

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-03 15:50:16 -06:00
Kaarina Tungseth
c84532aade
[DOCS] Dashboard-first docs refresh (#76194)
* [DOCS] Dashboard-first refresh

* Fixes broken links and partinto error

* Fixes images in panel table

* Fixes broken links

* Fixes broken drilldowns link

* Fixes images and table

* Removed un needed files and added edit content

* Update docs/getting-started/tutorial-visualizing.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Review comments

* Review comments

* Removed blocks

* Typo fix

* Update docs/getting-started/tutorial-sample-data.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-discovering.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-sample-data.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-visualizing.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/edit-dashboards.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/aggregation-reference.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Review comments

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-09-03 16:34:25 -05:00
Yuliia Naumenko
60986d4f82
Updated ServiceNow description in docs and actions management UI to contains correct info (#76344)
* Updated ServiceNow description in documentation and Actions management create UI to contains correct info that ServiceNow

* fixed due to comments
2020-09-03 13:07:23 -07:00
gchaps
038a11e7dd
[DOCS] Identifies cloud settings in reporting (#76691) 2020-09-03 13:06:45 -07:00
Patryk Kopyciński
cfcd10cea8
[Security Solution] Refactor timeline details to use search strategy (#75591) 2020-09-03 21:05:39 +02:00
Dario Gieselaar
53c74143db
es-archiver: Drop invalid index settings, support --query flag (#76522)
* ESArchiver: Drop invalid index settings, support --query flag for saving archive

* Describe query flag
2020-09-03 20:27:25 +02:00
gchaps
9fe4f2d8aa
[DOCS] Identifies graph settings available on cloud (#76661) 2020-09-03 11:10:51 -07:00
Michail Yasonik
97669696c1
Add more info about a11y tests (#76045)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-09-03 13:09:00 -05:00
Luke Elmers
d494f1e7b6
[data.search.SearchSource] Remove legacy ES client APIs. (#75943) 2020-09-03 11:24:23 -06:00
Spencer
c80a733e4c
[release notes] automatically retry on Github API 5xx errors (#76447)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-03 10:01:34 -07:00
Sébastien Loix
8b085b9eac
[es_ui_shared] Fix eslint exhaustive deps rule (#76392)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-03 18:45:32 +02:00
Ahmad Bamieh
df44fea50c
[i18n] Integrate 7.9.1 Translations (#76391)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-03 19:33:13 +03:00
Wylie Conlon
26d16dd093
[APM] Update aggregations to support script sources (#76429)
* [APM] Update aggregations to support script sources

* Fix whitespace

* Fix checks

* Explicitly require field in projection

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2020-09-03 12:23:29 -04:00
Patryk Kopyciński
e2f283b1a4
[Security Solution] Refactor Network Top Countries to use Search Strategy (#76244) 2020-09-03 18:06:31 +02:00
Larry Gregory
2872dc9956
Document security settings available on ESS (#76513) 2020-09-03 11:44:36 -04:00
Nicolas Chaulet
da8ccd7f4a
[Ingest Manager] Add input revision to the config send to the agent (#76327) 2020-09-03 11:21:41 -04:00
gchaps
2de9f44431
[DOCS] Identifies cloud settings for Monitoring (#76579) 2020-09-03 08:17:55 -07:00
gchaps
1f3ede8058
[DOCS] Identifies Cloud settings in Dev Tools (#76583) 2020-09-03 08:15:23 -07:00
Nicolas Chaulet
3d911573b2
[Ingest Manager] Better default value for fleet long polling timeout (#76393) 2020-09-03 11:05:59 -04:00
Luke Elmers
64b772613b
[data.indexPatterns] Fix broken rollup index pattern creation (#76593) 2020-09-03 08:13:33 -06:00
John Schulz
2db789598b
[Ingest Manager] Split Registry errors into Connection & Response (#76558)
* Split Registry errors into Connection & Response

* Ensure a url in ResponseError message. Add tests
2020-09-03 09:12:43 -04:00
Xavier Mouligneau
299c3f5a54
[Security Solution] add an excess validation instead of the exact match (#76472)
* add an excess validation instead of the exact match

* fix readble type + unit test

* review I

* remove buildRouteValidation to use buildRouteValidationWithExcess
2020-09-03 09:10:32 -04:00
Mikhail Shustov
e9e0ca3782
Introduce TS incremental builds & move src/test_utils to TS project (#76082)
* move test_helpers to the core

* create base tsconfig

* all tsconfigs use the base one

* use test_helpers exposed from the src/core

* move getFieldFormatsRegistry to data plugin

* add test_utils project

* compile types after checkout

* add a stub for platform tsconfig.json

* fix broken import

* fix broken path to the base config

* set tsBuildInfoFile for project without outDir

* do not commit tsbuildinfo file

* do not check output d.ts files

* fix type error

* use separate config to build types

* rollback changes to include paths

* mute import zone error

* rename files to avoid references to tsd

* do not use tsd for type tests

* include all ts files in project

* run buildRefs before type check to ensure the latest version

* store tsbuildinfo locally

* update paths to base config

* comment out core/tsconfig.json

* remove ui path

* fix wrong tsbuildinfo path
2020-09-03 14:20:04 +02:00
Liza Katz
4c5e75e437
fix bad merge (#76629)
Merged to fix master
2020-09-03 15:17:23 +03:00
Alejandro Fernández Haro
e32c282bc5
[Newsfeed] Ensure the version format when calling the API (#76381)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-03 12:06:49 +01:00
Mikhail Shustov
2a547914b7
remove server_extensions mixin (#76606) 2020-09-03 13:02:23 +02:00