Commit graph

33698 commits

Author SHA1 Message Date
Alex Wild 38b9a8db8a
Add embed mode options in the Share UI (#58435) 2020-06-08 14:12:03 +02:00
Cauê Marcondes 00cff3cd7e
Adding key to avoid react warning (#68491) 2020-06-08 13:03:05 +02:00
Tim Roes 09eaa1c57a
Add app arch team as owner of datemath package (#66880)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 11:37:44 +02:00
Cauê Marcondes 07e3c9cb41
[Observability] Landing page for Observability (#67467)
* creating overview page and menu

* styling the home page

* adjusting breadcrumb

* renaming isnt working

* renaming isnt working

* renaming isnt working

* fixing import

* fixing scroll when resize window

* fixing eslint errors

* prepending links

* adding target option

* refactoring

* adding dark mode support

* fixing prettier format

* fixing i18n

* reverting some unnecessary changes

* addressing PR comments

* fixing functional tests

* ordering observability menu

* fixing tests

* addressing PR comments

* fixing test

* fixing scroll

* addressing pr comments

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 09:07:35 +02:00
patrykkopycinski 48ef260e11
[SIEM] Fix timeline buildGlobalQuery (#68320) 2020-06-06 11:25:12 +02:00
Rudolf Meijering 2559dbe3ba
Optimize saved objects getScopedClient and HTTP API (#68221)
* Create a single repository to be shared by all calls to getScopedClient

* Cache migrator.getActiveMappings to improve createRepository

* Use typeregistry.getAllTypes instead of getRootPropertiesObjects(mappings)

* Don't validate plugin's config every time it's read

* Fix saved_objects_mixin
2020-06-06 01:05:02 +02:00
Thomas Neirynck 77c8aee3cd
[Maps] Fix mb-style interpolate style rule (#68413) 2020-06-05 17:33:38 -04:00
Dmitry Lemeshko 1f99144ef6
update script to always download node (#68421)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 23:28:49 +02:00
Xavier Mouligneau e3d88a4f09
[SECURITY SOLEIL] Fix selection of event type when no siem index signal created (#68291)
* fix selection of event type when no siem index signal created

* including the term signal for the old timeline

* fix import path

* Add a specific msg in the inspect modal if we do not have the alert index created

* fix import if eventType is siganl to match it to alert

* forget to update test

* fix signal view

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 15:29:16 -04:00
gchaps eaca7ee008
[DOCS] Adds note about configuring File Data Visualizer (#68407) 2020-06-05 11:10:52 -07:00
gchaps 66138a8e71
[DOCS] Adds link from remote clusters to index patterns (#68406) 2020-06-05 11:09:45 -07:00
Tre 5bfd704dd8
[QA] slack notify on failure (#68126) 2020-06-05 10:49:06 -06:00
Robert Austin c98cfda890
upgrade eslint-plugin-react-hooks from 2.3.0 to 4.0.4 (#68295)
* updates `eslint-plugin-react-hooks` from `v2.3.0` to `v4.0.4`. 
* Disable rules on failing lines
2020-06-05 12:43:55 -04:00
Xavier Mouligneau bc7655a80f
moving to jira to a gold license (#67178)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 12:34:18 -04:00
gchaps 891e3c585c
[DOCS] Revises doc on adding data (#68038)
* [DOCS] Revises doc on adding data

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* [DOCS] Minor edits to add data doc

* [DOCS] Incorporated review comments

* [DOCS] Incorporates review comments

* [DOCS] Removes link to advanced settings

Co-authored-by: debadair <debadair@elastic.co>
2020-06-05 09:06:12 -07:00
Søren Louv-Jansen c7353b0b0e
[APM] Add ThemeProvider to support dark mode (#68242) 2020-06-05 17:39:33 +02:00
Robert Oskamp fd1ad4c293
Make welcome screen disabling first action in loginIfPrompted (#68238)
This PR moves the welcome screen disabling in loginIfPrompted to the first position.
2020-06-05 17:39:03 +02:00
Dmitry Lemeshko 5064ae4a4c
[QA] Code coverage: unskip tests, collect tests results, exclude bundles from report (#64477)
* custom nyc configs, run all tests

* copy tests results back to original folder
2020-06-05 09:34:25 -06:00
Robert Oskamp 28a7540f22 [ML] Functional tests - disable flaky regression and classification creation test 2020-06-05 17:32:42 +02:00
Patrick Mueller e57f92549b
[Alerting] change eventLog ILM requests to absolute URLs (#68331)
resolves https://github.com/elastic/kibana/issues/68265

This changes the ILM requests made by the eventLog from relative to absolute
URLs.  These requests test the existence of and create ILM policies, and are
made with a cluster client using `transport.request`.  Relative URLs work fine
locally and in CI, however do not work on the cloud.
2020-06-05 11:04:03 -04:00
Dmitry Lemeshko 6f57fa0b2d
Report page load asset size (#66224)
* performance_tests: draft version

* update cli runner and script

* ingest metrics

* save asset type for plugins

* Update src/dev/performance/ingest_metrics.ts

Co-authored-by: Spencer <email@spalger.com>

* follow review comments

* fix size calc, add FTR config, move src to kbn/test

* fix import, remove unused interface

* Update packages/kbn-test/src/page_load_metrics/capture_page_load_metrics.ts

Co-authored-by: Spencer <email@spalger.com>

* start chromium with no-sandbox

* add logging

* check page contains expected element, cut apps to 5

* fix locator & typo

* Update packages/kbn-test/src/page_load_metrics/navigation.ts

Co-authored-by: Spencer <email@spalger.com>

* Update navigation.ts

* Update navigation.ts

* bump puppeteer version

* fix typo

* update navigation script

* update config file

* update yarn.lock

* fix

* take screenshot on failure

* update screenshot title

* fix screenshot saving and error

* invalid locator

* Revert "invalid locator"

This reverts commit 3007539a69.

* run script in a loop 10 times

* Revert "run script in a loop 10 times"

This reverts commit 6cfa219140.

* path config value directly

* fix screenshots directory setup

* update maps locator, common for landing and new map

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2020-06-05 16:42:55 +02:00
Christos Nasikas ade2f03916
[SIEM][CASE] Change SIEM to Security (#68365) 2020-06-05 16:27:15 +03:00
Maja Grubic 45107bc480
[Dashboard] Improve duplicate panel positioning (#67461)
* [Dashboard] Clone panel position

* Fixing inconsistencies in previous commit; removing readonly property of a grid

* Change sorting algorithm so that it sorts by the ending coordinates

* Always place panel to the bottom

* Fixing declaration error

* Add more comments

* Make GridData readonly
2020-06-05 14:21:17 +01:00
Shahzad 20b804e1c3
[Uptime]update cert flaky tests (#67167)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 15:00:37 +02:00
Vadim Dalecky 7ea8ef1fba
Discover URL generator (#67937)
* feat: 🎸 stub discover_enhanced plugin

* feat: 🎸 add Discover URL generator

* chore: 🤖 remove x-pack plugin

* fix: 🐛 fix types in URL generator

* test: 💍 setup test file for Discover URL generator

* feat: 🎸 expose Discover URL generator in start life-cycle

* feat: 🎸 add ability to specify saved search ID in URL generator

* docs: ✏️ add JSDoc for Discover URL generator

* fix: 🐛 set correctly global filters in Discover URL generator

* docs: ✏️ remove wrong comment in JsDoc

* style: 💄 format single arg arrow function with parens

* chore: 🤖 disable toggles in Dicover sample drilldown

* feat: 🎸 use Discover URL generator in example plugin

* test: 💍 add urlGenerator mock

* test: 💍 add .registerUrlGenerator() test mock

* test: 💍 correct Karma mock for "share" plugin URL generator
2020-06-05 14:52:05 +02:00
Matthias Wilhelm a6e9caefe4
[Discover] Unskip context size tests (#68213) 2020-06-05 14:45:59 +02:00
Vadim Dalecky 99a6435daf
advanced_ui_actions 👉 ui_actions_enhanced (#68258)
* chore: 🤖 rename advanced_ui_actions to ui_actions_enhanced

* chore: 🤖 rename exported interface to "enhanced"
2020-06-05 13:14:01 +02:00
Uladzislau Lasitsa b87eefc753
[uiSettings]: Migrate items owned by app arch to new platform (#66040)
* Migrated uiSettings items to new platform

* API changes

* Fixed translations

* Fixed comment and i18n

* Fixed tests

* Fixed internalization

* Fix karma tests

* made code more explicit

* Fixed plugin

* Added consts for ui settings ids.

* Added id for another settings

* Fixed tests.

* Improved imports

* Fix imports to public which were happening from the server.

* Fixed paths

* Moved styles to plugin.ts

* Moved styles

* Fixed docs

* Fix ci

* Fix ci

* fix documentation

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2020-06-05 10:55:42 +03:00
Ashik Meerankutty 7027d5bad9
Add whitespace before add actions (#67835)
* Added empty string filter

* Changed operator in empty string filter

* Add space before add condition

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 03:06:12 -04:00
Thomas Watson b01a8f8e08
Update Node.js to version 10.21.0 (#68059) 2020-06-05 08:31:59 +02:00
Aleh Zasypkin c6e2fed1c6
Register privileges in Kibana Platform Security plugin and remove legacy getUser API. (#65472) 2020-06-05 08:11:58 +02:00
igoristic 6ef2a2c07e
Fixed access denied page (#68046)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 02:06:20 -04:00
Alison Goryachev 2abf9d5946
[ILM] Add missing time unit labels (#68205)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 21:18:44 -04:00
Paul Tavares cdb6b4dd33
[Endpoint] Move the Endpoint Host page over to the Management Endpoints sub-tab (#68002)
* move code dir. to management/pages
* Make hosts appear on endpoints tab
* Add support for `className` to `<FormattedDate>` component
* add FormattedDate to Host list to display last seen date
2020-06-04 21:09:00 -04:00
Paul Tavares c3269fa117
Fix typo in policy response action name (#68307) 2020-06-04 21:04:05 -04:00
spalger 6f5a0c3b41 remove and ignore legacy/plugins/reporting directory 2020-06-04 17:10:07 -07:00
Tiago Costa 7201e9c9cc
chore(NA): move bin scripts into build (#67568)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 00:37:04 +01:00
Chris Cowan 4fde7a69d4
[Metrics UI] Handle event.target properly for Legend Controls (#68029)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 16:26:45 -07:00
Phillip Burch a4549a71ed
[Metrics UI] Add back context variables with descriptions (#67487)
* Add context variables for metric, value and threshold with descriptions

* Remove timestamp from this PR

* sentences are hard

* Fix lint rules

* Add more usage examples

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 15:56:54 -05:00
Devon Thomson 97a72b33c5
[Chore] Simplify Embeddable Panel usage (#68006)
Replaced usages of the EmbeddablePanel component with a shortcut panel API
2020-06-04 16:55:11 -04:00
Sébastien Loix c77e9bf8f8
[Composable templates] Table to list templates (#67282)
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 22:34:04 +02:00
Nicolas Chaulet f7739b5db6
[Ingest Manager] Fix agent stream to support optionnal yaml root values (#68272)
* [Ingest Manager] Fix agent stream to support optionnal yaml root values

* Update x-pack/plugins/ingest_manager/server/services/epm/agent/agent.test.ts

Co-authored-by: Jen Huang <its.jenetic@gmail.com>

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2020-06-04 16:10:59 -04:00
Jonathan Buttner 8fe1eb1f78
Adding related event category stats for resolver nodes (#67909)
* Allowing the categories to be specified for related events

* Adding checks in the api tests for the stats

* Adding more comments

* Allow array or number of cateogires generation and fix up comment

* Fixing type error

* Renaming to byCategory

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 16:10:42 -04:00
Mike Côté c8e6855281
Hide action types in action form that don't have actionParamsFields set (#68171)
* Hide action types in alert flyout that don't have actionParamsFields set

* Fix jest tests
2020-06-04 15:58:48 -04:00
Pierre Gayvallet 3602f0f9aa
implements extends to ObjectSchema (#68067)
* implements `extends` to `ObjectSchema`

* add unit tests

* use expectType for types assertions

* allow to extends options

* add comment about deep extend
2020-06-04 20:55:03 +02:00
Ryland Herrick 5fd6416861
Prevent removal of actions via the UI from breaking rule AAD (#68184)
This fixes #64870 _for real_.

The issue ended up being caused by a
conditional form field that mapped to a nested field on the rule's
params: when a rule is created with an action, it has a
meta.kibana_siem_app_url field. When the rule's actions were removed via
the UI, that field was _also_ removed, which broke AAD and thus rule
execution.

This fixes the issue by making that field unconditional, and also
removes the previous workaround.
2020-06-04 13:38:27 -05:00
Tim Sullivan 094b34c065
[Reporting] Adds the enabled key to schema (#68288) 2020-06-04 11:37:12 -07:00
Angela Chuang e488e831b5
[SIEM] Update links for add-data button (#68240)
* update links for add-data button

* update links

* rename SIEM with security

* add back missing key

* fixup

* fixup
2020-06-04 18:55:06 +01:00
Liza Katz 537d2f2de1
[FIX] Allow filters without index (#68225)
* Allow filters without index

* Explicitly return true from isFilterApplicable id no index patterns were provided

* Adjust test result
2020-06-04 20:42:52 +03:00
Melissa Alvarez edc4d58e12
[ML] DF Analytics: Creation wizard part 1 (#67564)
* create newJob route and start of wizard

* wip: create configStep component

* finish configStep form and details

* wip: create andvanced step components

* create details step component

* createStep component

* ensure advanced options are correct for each job type

* add validation to each step

* use custom table for excludes

* move customSelectionTable to shared components

* form validation for advanced fields

* wip: source index selection modal

* add source index preview

* update details

* ensure advanced parameters added to config on creation

* can create job from savedSearch. can set source query in ui

* validate source object has supported fields

* eslint updates

* update tests. comment out clone action for now

* add create button to advanced editor

* remove deprecated test helper functions

* fix translation errors

* update help text. read only once job created.

* fix functional tests

* add nextStepNav to df service for tests

* fix excludes table page jump and hyperParameter not showing in details

* fix checkbox width for custom table
2020-06-04 13:39:43 -04:00