Commit graph

32317 commits

Author SHA1 Message Date
Matthew Kime 69ed664dd9
Index Pattern Field class - factor out copy_field code for future typescripting (#63083)
* Index Pattern Field class - factor out copy_field code for future typescripting
2020-04-14 06:58:56 -05:00
Sandra Gonzales 1a6398b983
[EPM] add/remove package in package settings page (#63389)
* fix bug where assets were not being returned, use archive info for assets

* add settings page, add install/remove button and text

* check existence of datasources associated with this package

* add package title variable to text

* update modal text and rename to uninstall
2020-04-14 07:56:24 -04:00
Larry Gregory 040e7b464e
Adjust API authorization logging (#63350) 2020-04-14 07:33:14 -04:00
Dmitry Lemeshko 637a9e11a2
Revert FTR: add chromium-based Edge browser support (#61684) (#63448) 2020-04-14 13:25:26 +02:00
Gidi Meir Morris 1f732ad29a
[Event Log] Adds namespace into save objects (#62974)
Adds a namespace attribute to the saved object object within the Event Log so that each Saved Object can have its own. This change also removes the existing kibana.namespace field.

As Event Log is not yet in use, this does not include a migration.
2020-04-14 10:57:46 +01:00
Mikhail Shustov f44d951300
document code splitting for client code (#62593)
* add lazy loading section for client bundles

* add Pierres suggestion
2020-04-14 09:11:03 +02:00
Jean-Louis Leysens f4abaabaee
Escape single quotes surrounded by double quotes (#63229)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-14 08:47:23 +02:00
kqualters-elastic 5d7c651cd7
[Endpoint] Update cli mapping to match endpoint package (#63372)
* Update cli mapping to match endpoint package
2020-04-14 02:05:06 -04:00
Gil Raphaelli 5bc539c6db
update in-app links to metricbeat configuration docs (#63295) 2020-04-13 22:06:09 -04:00
The SpaceCake Project b54388746d
investigation notes field (documentation / metadata) (#63386)
* notes field

added text to the "investigation notes" field in md which the field supports.

* Revert "notes field"

This reverts commit dae6ffc683.

* Revert "Revert "notes field""

This reverts commit f9de4bfc92.

* Update linux_anomalous_network_activity.json

* text change

change to "Signals from this rule indicate"
2020-04-13 18:42:10 -04:00
Nathan Reese 3623875175
[Maps] fix bug where toggling Scaling type does not re-fetch data (#63326)
* [Maps] fix bug where toggling Scaling type does not re-fetch data

* reset to empty array instead of deleting

* move setting of layer type to action creator instead of side effect of UPDATE_SOURCE_PROP

* review feedback
2020-04-13 15:53:07 -06:00
Patrick Mueller 500b069efd
[Alerting] set correct parameter for unauthented email action (#63086)
PR https://github.com/elastic/kibana/pull/60839 added support for
unauthenticated emails, but didn't actually do enough to make it work.

This PR completes that support, and adds some tests.

You can do manual testing now with [maildev](http://maildev.github.io/maildev/).
2020-04-13 17:41:22 -04:00
Ahmad Bamieh 5bc233f3c7
[Telemetry] force staging urls in tests (#63356)
* specify telemetry url configs

* opt out by default except where we are testing telemetry
2020-04-13 23:45:13 +03:00
Aaron Caldwell 6f46e6b827
Migrate legacy maps service to NP & update refs (#60942)
* Get legacy maps into basic NP plugin form. Swap out legacy services for NP

* Pull service settings from injected vars. Return new instance of service settings from setup

* Use NP service settings in vega maps. Clean up legacy shim

* Use NP maps service in region maps. Clean up shim. Add exports to NP service

* Pull zoom precision out to separate module since it's dependent on config

* Update paths to point to NP resources

* More path updates, clean up, use IServiceSettings

* Remove dependency on legacy service settings. Add tile_map dependency ng-sanitize

* More path cleanup. Use zoomPrecision provided through plugin inteface

* Move getPrecision into contract-provided function since it depends on config

* Move tests to new service location, remove vis dir

* Update test paths. Move origin const declaration into public

* Clean up, fixes

* Fix type errors. General cleaning

* Inject toast service into map when needed

* Fix typo in regionmap config

* i18n fixes

* Update jest test path

* Fix karma tests

* i18n fixes

* Type updates. Add mapsLegacy to np karma mock

* Remove html sanitizer

* Fix vega test that depends on serviceSettings

* Revise xpack license handling to use NP serviceSettings. Remove angular bindings

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 14:32:32 -06:00
Mike Côté 0666dbd35f
Fix task manager query to return tasks to retry (#63360)
* Fix task manager query to also return tasks to retry

* Fix failing jest tests
2020-04-13 16:29:48 -04:00
Paul Tavares 48fd5c0255
[Endpoint] Policy list support for URL pagination state (#63291)
* store changes to support pagination via url

* Fix storing location when pagination happens

* Initial set of tests

* Redux spy middleware and async utility

* Add better types to `waitForAction`

* Add more docs

* fix urlSearchParams selector to account for array of values

* full set of tests for policy list store concerns

* More efficient redux spy middleware (no more sleep())

* Set spy middleware `dispatch` to a `jest.fn` and expose `mock` info.

* Fix url param selector to return first param value when it is defined multiple times

* Removed PageId and associated hook

* clean up TODO items

* Fixes post-merge frm `master`

* Address code review comments
2020-04-13 16:26:45 -04:00
Corey Robertson 25cedbe60c
[Canvas] Migrate saved object mappings and migrations to Kibana Platform (#58891)
* Move saved object mappings and migratins to kibana platform

* Remove ts-ignore

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 16:26:00 -04:00
Melori Arellano 9b25fe1ebd
[DOCS] Add ILM tutorial (#59502)
* Add tutorial for ILM with filebeat

* Change screenshots and add additional steps

* Update screenshots, add numbered steps, and other minor edits

* Incorporate feedback: update links, formatting, and minor edits

* Move tip inline with list

* Apply suggestions from code review

Co-Authored-By: James Rodewig <james.rodewig@elastic.co>

* Move TIP inline . . . again

* Put TIP inline

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2020-04-13 13:57:50 -06:00
Thomas Neirynck a6ecd4c278
[Maps] Add SOURCE_TYPES enumeration (#62975) 2020-04-13 15:33:43 -04:00
Nathan Reese 301b795db6
[Maps] update geospatial filters to use geo_shape query for geo_point fields (#62966)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 13:30:18 -06:00
Corey Robertson e27526fd92
Move away from npStart for embeddables in canvas (#62680)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 15:29:24 -04:00
Corey Robertson 19fcc6111a
Use MapInput type from Maps plugin (#61539) 2020-04-13 14:21:02 -04:00
Maggie Ghamry 1084b1c7b9
Update to pagination for workpad and templates (#62050)
Added logic to hide pagination if no Canvas workpads exists, and disable the previous/next arrows if there is only one page, for both workapds and templates
2020-04-13 13:41:12 -04:00
patrykkopycinski a58cc5da12
[SIEM] Fix AlertsTable id (#63368) 2020-04-13 19:40:48 +02:00
Ryland Herrick 5559b09dcc
Consistent terminology around cypress test data (#63279)
* Uses "data" or "test data" when referring to the general idea
* Uses "archive" when referring to the specific data/implementation
* Adds a few grammar/spelling tweaks
2020-04-13 12:24:09 -05:00
Nathan Reese 69b436e820
[Maps] turn on blended layer for geojson upload (#63200)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 11:22:11 -06:00
Yuliia Naumenko 0c09a7756f
Added connectors loading spinner to show the actions forms only when connectors is loaded (#63211)
* Added connectors loading spinner to show the actions forms only when connectors is loaded

* Added warning message for actions with removed connectors

* Fixed loading connectors spinner
2020-04-13 09:47:03 -07:00
Brandon Kobel 52747c9c17
Only fetching TaskManager's available tasks once per call to fillPool (#61991)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 09:02:48 -07:00
Alexey Antonov 7ea3f12e31
Index pattern management UI -> TypeScript (scripted_fields_table) (#63247)
* Index pattern management UI -> TypeScript (scripted_fields_table)
2020-04-13 11:02:22 -05:00
Alexey Antonov d5fc944b4b
Index pattern management UI -> TypeScript (source_filters_table) (#62925)
* [WIP] Index pattern management UI -> TypeScript (source_filters_table)
2020-04-13 10:59:48 -05:00
Robert Austin d00c90510d
Endpoint: Move files, add README, replace implicit any with stricter types. Reorganize types. (#63262)
* Removed `FIXME` comments and references to private repos. Please use Github issues to track work
* Added a README describing the modules in `applications/endpoint`
* Removed dead code
* Moved `AppRoot` component to its own module
* Moved `applications/endpoint/services` under `store`
* Moved some exported types to `applications/endpoint/types`
* Moved all React code to `view`
* Added types in some places that were implicitly `any`
* Moved `PageId` type from common directory (where it could be shared with the server) to the public directory
2020-04-13 11:33:14 -04:00
Nicolas Chaulet 8cef9457c1
[Ingest] Update Create datasource UI to fit in one page (#62858) 2020-04-13 10:39:40 -04:00
Nathan Reese c604eb9e63
[Maps] fix regression in loading left join fields (#63325)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 08:00:15 -06:00
MadameSheema e74d360adb
fixes test flakiness (#63331) 2020-04-13 15:38:32 +02:00
Thomas Neirynck bbd501ea51
[Maps] Cleanup sources (#63175)
- Introduces additional TS typing for sources
- Organizes sources in sub-directories by type
- migrates XYZTMSSource to TS
2020-04-13 09:24:16 -04:00
Dario Gieselaar 36b4ad9888
[APM] Separate count/retainment telemetry requests (#63225)
Separate count/retainment telemetry requests to make them less prone to timing out.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 14:06:20 +02:00
Shahzad c7f61f956a
[Uptime] Update Ml functional test (#62562)
* update test

* added test

* updated type

* updated test

* updated test

* update test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 13:49:46 +02:00
Shahzad 61271c0652
[Uptime] Simplify monitor param usage (#63121)
* add useMonitorId hook

* update url param hook

* update type

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-13 13:44:10 +02:00
Pierre Gayvallet 358d13919b
Migrate SO management section to NP (#61700)
* move libs to new plugin

* adapt libs to use NP apis

* add required plugins

* add get_allowed_types route

* move object_view components

* add service registry

* migrate table header component

* migrate table component

* migrate saved_objects_table component

* remove migrated legacy files

* fix re-export from legacy management + section label

* migrate services registration

* adapt management section mock

* fix imports

* migrate flyout component

* migrate relationships component

* migrate saved_objects_table tests

* migrate breadcrumb

* add redirect if unauthorized check

* migrate translations to new savedObjectsManagement prefix

* remove obsolete translations

* convert action registry to service pattern

* wire extra actions

* remove importAndExportableTypes from injected vars

* handle newIndexPatternUrl

* remove duplicate dashboard dependency

* remove old TODO

* remove old TODO

* properly mock lodash in tests

* add async management section loading

* expose createSavedSearchesLoader from discover plugin contract

* address most review comments

* fix merge conflicts
2020-04-13 13:28:09 +02:00
Anton Dosov 1199c8c8b0
Bugfix dashboard unpins filters (#62301)
Fixes following cases:

Saving dashboard with pinned filter unpins it. Do not save pinned filters with dashboard see #62301 (comment)
When navigating with global filter to dashboard with same saved filter, filter becomes unpinned
When navigating from listing to dashboard with saved filter, back button didn't work

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-12 17:06:03 +02:00
Cauê Marcondes 2be6b7fdce
fixing custom link popover size and hiding scroll (#63240) 2020-04-11 11:06:39 +02:00
Pierre Gayvallet bd159c7d59
fix ScopedHistory.createHref to prepend location with scoped history basePath (#62407)
* fix createHref to prepend with scoped history basePath + add option to exclude it.

* fix prependBasePath behavior

* fix test plugins urls

* add pathname to endpoint url builder methods

* Revert "add pathname to endpoint url builder methods"

This reverts commit 7604932b

* adapt createHref instead of prependBasePath

* use object options for createHref

* update generated doc
2020-04-11 09:27:45 +02:00
Yuliia Naumenko 53ee20b306
Changed alerting wrong param name for help xpack.encrypted_saved_objects.encryptionKey to xpack.encryptedSavedObjects.encryptionKey (#63307) 2020-04-10 19:18:19 -07:00
Brandon Kobel cc85573c8a
TaskManager tasks scheduled without attempting to run (#62078)
* TaskManager tasks scheduled without attempting to run

* Removing unused import

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-10 16:01:30 -07:00
Yuliia Naumenko fbd15ec867
Added UI for pre-configured connectors. (#63074)
* Added UI for pre-configured connectors.

* fixed due to comments

* Fixed jest tests

* Fixed due to comments and added some functional tests

* test fix

* Fixed failed checks

* Fixed functional tests failing
2020-04-10 14:55:03 -07:00
The SpaceCake Project 39fbc5e103
bc6 rule import april 9 (#63152)
* bc6 rule import april 9

Increased the lookback of the ML rules

* re-import

with LF chars

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-10 17:50:23 -04:00
Candace Park 6393e08ce3
task/mac-eventing-form (#62999)
adds mac events form for endpoint policy details
Co-authored-by: oatkiller <robert.austin@elastic.co>
2020-04-10 17:20:40 -04:00
Dmitry Lemeshko eb3fe8eb50
update chromedriver dependency to 81.0.0 (#63266) 2020-04-10 23:05:20 +03:00
Ahmad Bamieh ed5dd0a325
[Telemetry] use prod keys (#63263) 2020-04-10 22:18:11 +03:00
CJ Cenizal 8a283de3c5
Correctly type ILM's optional dependencies as optional (#63255)
And guard against their absence.
2020-04-10 12:05:20 -07:00