Commit graph

15166 commits

Author SHA1 Message Date
spalger aa81dc52f6 skip flaky suite (#96000) 2021-03-31 15:13:06 -07:00
Spencer 16a176af98
never run webpack with --progress on CI (#95967)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-31 14:04:42 -07:00
Phillip Burch 96ccd31477
Add anomaly detection telemetry (#95802)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 15:55:46 -05:00
Tim Sullivan 0fce2427e5
[Reporting] CSV Export: fix and unskip failing test (#95824)
* [Reporting] CSV Export: fix and unskip failing test

* fix snapshot extra records

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 13:12:19 -07:00
spalger 2a3edb0adb skip flaky suite (#95591) 2021-03-31 13:06:04 -07:00
Nicolas Chaulet b13181a539
[Fleet] Fleet server invalidate api keys for agent < 7.13 (#95789) 2021-03-31 15:53:28 -04:00
Kevin Qualters 03b104cc61
[Security Solution][RAC][Timeline] Timeline plugin skeleton and test plugin harness (#95683)
* [RAC][Security Solution] Initial timeline and test plugin harness

* Change plugin name from timeline to timelines
2021-03-31 15:33:19 -04:00
Devon Thomson fe17879ae3
[Time to Visualize] Allow By Value Flow Without Visualize Save Permissions (#95951)
* Made sure users can use by value workflow without visualize save permissions
2021-03-31 15:30:50 -04:00
CJ Cenizal b531d28364
Add "Include aliases" toggle to the Restore Snapshot Wizard (#95882)
* Add support for includeAliases to restore API endpoint, with unit tests.
* Remove unused deserializeRestoreSettings function.
* Add 'Include aliases' option to the UI, with default value of true.
* Add client integration test.
2021-03-31 12:29:07 -07:00
Zacqary Adam Xeper f7caf44876
[Fleet] Match telemetry key names to UI agent states (#95567) 2021-03-31 15:10:46 -04:00
Thomas Neirynck d2e2209cf2
[Maps] Make bundle smaller (#95881) 2021-03-31 14:43:24 -04:00
Aleksandr Maus 524ce98805
Add user to .fleet-actions mapping (#95935)
* Add user to .fleet-actions mapping

* Leave only user.id, remove the rest of added fields

* Flatten to user_id
2021-03-31 14:04:41 -04:00
Ece Özalp 178c2de5fd
[Security Solution] Populates threat.indicator.event with _source.event (#951) (#95697)
* [Security Solution] Add event data to threat.indicator (elastic/security_team/#951)

* fixes mappings, updates tests

* refactor mappings
2021-03-31 11:37:24 -04:00
Nicolas Chaulet 9e55b8b6c8
[Fleet] Create Fleet server indices with auto_expand_replicas (#95924) 2021-03-31 11:25:18 -04:00
Nathan Reese 5f487292fb
[Maps] convert ToolbarOverlay to TS (#95368)
* [Maps] convert ToolbarOverlay to TS

* remove getDerivedStateFromProps

* remove unused function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 08:50:40 -06:00
spalger 73109fb3ab Revert "[Time to Visualize] Allow By Value Flow Without Visualize Save Permissions (#93846)"
This reverts commit cfe5f9c016.
2021-03-31 07:25:57 -07:00
Joe Reuter 53584c694d
[Lens] Introduce single percentile and make it filterable in Lens (#95439) 2021-03-31 16:19:31 +02:00
Joe Reuter 50d21dad8c
[Lens] Fix runtime field test flakiness (#95650) 2021-03-31 15:59:41 +02:00
Devon Thomson cfe5f9c016
[Time to Visualize] Allow By Value Flow Without Visualize Save Permissions (#93846)
* Made sure users can use by value workflow without visualize save permissions
2021-03-31 09:44:56 -04:00
Marco Liberati 004a9a14c8
[Lens] Unskip a11y test in Lens (#95904) 2021-03-31 15:31:29 +02:00
Ryan Keairns b301d416b7
Update Cloud plugin to handle new config in kibana.yml (#95569)
* Handle cloud urls from kibana.yml

* Add types to utils params

* Update utils

* address nits

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 07:49:50 -05:00
ymao1 7ef8be6031
Fixes Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list·ts - Actions and Triggers app alerts list should unmute single alert (#95808)
* Unskipping test

* Adding retries

* Adding retries

* Adding retries
2021-03-31 07:43:48 -04:00
Jean-Louis Leysens 44a46358c2
[Snapshot Restore] Migrate to new ES client (#95499)
* wip, migrated routes and plugins

* refactored all ES error handling to use handleEsError and new isEsError detection

* - fixed Jest tests for new es client
- updated routes in light of new responses

* remove unused import

* remove unecessary isEsError check in rest api route handlers

* mute all incorrect types from client lib using @ts-expect-error

* reordered and clean up imports, removed legacy client code

* update legacy test runner

* updated use of legacyES

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 11:55:41 +02:00
Joe Reuter a9d0b6f478
Simplify date histogram meta and apply interval scaling to all levels (#95206) 2021-03-31 11:31:48 +02:00
Pierre Gayvallet ddac0e9501
add per space configuration to custom header banner (#94449)
* restore the banners ui settings

* fix banner init logic

* fix unit tests

* update telemetry schema

* add basic server-side plugin tests

* add FTR tests for banners plugin

* use keyword for sensitive setting

* update snapshots

* setting name consistency with configuration properties

* fix setting names in telemetry files

* open banner links in new tab

* add config.disableSpaceBanners property

* fix types

* add descriptions to banner settings

* change label and value header->top

* finishing header->top replacement

* doc nits

* add banners section to advanced options doc

* feedback on advanced options doc

* adapt deprecation to new format
2021-03-31 10:57:06 +02:00
Yulia Čech ae1014bdd8
[ILM] Integer validator for timing and rollover fields (#95438)
* Added decimals validation for phase timing field and rollover age and docs number fields

* Refactored min age field validator

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 10:45:15 +02:00
István Zoltán Szabó e5e68ecff1
[ML] Clarifies label vs class terminology in DFA UI text. (#95770) 2021-03-31 10:17:35 +02:00
Bryan Clement e365396810
[Asset Management] Osquery agent picker (#94541)
* first pass of osquery host picker

* passes type checking and linting

* reworked everything

* fixed the policy query and pill colors

* fix i18n test failures

* refactor server side logic

* more clean up

* address pr comments

* fix types, await the parsed agents on the server side

* primitive is spelled with an i

* agents come in as list rather than agents

* added more helpers tests, added some edge case guarding

* unwrap agents off response in useAllAgents

* used proper types for aggregations

* translations for more ui text

* fix linting errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 04:13:19 -04:00
Jean-Louis Leysens 97c96104b9
[Ingest pipelines] Prepare processors editor for EUI v8 (Amsterdam theme) (#95310)
* remove shadows from eui panel at all levels

* added "hasBorder" to support nested panels

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 10:06:19 +02:00
Tiago Costa 50313f75f6
chore(NA): enable preserve symlinks for ts without breaking packages development (#95433)
* chore(NA): move elastic-datemath into a ts package

* chore(NA): finish elastic-datemath

* chore(NA): finish elastic-datemath

* chore(NA): source folder for elastic-datemath

* chore(NA): add source-maps ace, analytics, apm-config-loader and apm-utils packages

* chore(NA): add sourcemaps to packages on typescript

* chore(NA): move test fixtures within source

* chore(NA): correct exclusions on packages

* chore(NA): correct package.json on all packages

* chore(NA): correct package.json on all packages

* chore(NA): complete kbn pm

* chore(NA): default export on elastic-datemath

* chore(NA): include logs on kbn-logging

* chore(NA): update bundle ref module to last code used in the webpack upstream

* chore(NA): update bundle ref module to last code used in the webpack upstream - refactored

* chore(NA): remove override method for exportsArgument

* fix(NA): typechecking problems by use @internal at javascript import sources on kbn-test package

* fix(NA): typescript projects check

* fix(NA): run optimizer integration tests from source

* chore(NA): fix usage from target for kbn optimizer

* chore(NA): path on tsconfig

* chore(NA): move tsignore into ts-expect-error

* chore(NA): include souce maps on kbn cli dev

* chore(NA): include souce maps on kbn-crypto, kbn-server-http-tools and kbn-telemetry-tools

* chore(NA): add issue links into the ts-expect-error comments
2021-03-31 00:02:22 +01:00
Quynh Nguyen cd4483f391
[ML] Fix runtime type import from data/common (#95841) 2021-03-30 16:58:31 -05:00
Jason Stoltzfus 80a19a86d7
[App Search] Result settings form (#95462) 2021-03-30 17:07:16 -04:00
Quynh Nguyen a1bc9a57bd
[ML] Fix Anomaly Detection wizard full time range chart blank with saved search containing runtime fields (#95700)
* [ML] Fix AD wizard full time range chart broken with saved search

* [ML] Update runtimeMappingsSchema to be its own thing for better reuse

* [ML] Remove undefined check
2021-03-30 14:35:23 -05:00
Bryan Clement d6370f4e51
updated osquery autocomplete to v4.7.0 schema (#95741)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 12:09:23 -07:00
Kevin Logan 9c21f41da9
add linux and mac diagnostics switches (#95819)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 14:52:02 -04:00
Constance 53d4fa7052
[App Search] API logs: Server route + ApiLogsLogic + useEffects (#95732)
* Set up API route

* Set up API types

* Set up date util needed by filters dates

* Add ApiLogsLogic

* Update ApiLogs and EngineOverview views with polling behavior

* Add API type notes - maybe serves as a TODO to clean up our API data some day
2021-03-30 14:35:54 -04:00
Angela Chuang f21417660a
[SecuritySolution] Reorganize files for timeline / notes / pinnedEvents (#94358)
* re-organize files

* fix unit tests

* fix unit test

* fix types

* fix types

* fix unit test

* reorganize files

* update dependency

* fix unit test

* rename filders

* unit test

* update prepackaged timelines path

* fix integration tests

* check if lastSeen is an array

* rename Note to Notes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 14:20:46 -04:00
Diana Derevyankina 78b16fd5d3
[TSVB] Show an indicator when using Last Value mode (#91977)
* [TSVB] Show an indicator when using Last Value mode

* Extended some TSVB types, remove unused translations and do some refactoring

* Fix some functional tests and label displaying for Last value

* Fix some functional tests and label displaying for Last value

* Refactor data_time_range_mode_label and change some types

* fix CI

* Refactor timeseries_visualization seriesData

* Remove unused re export

* Replace "href" prop with "onClick" in EuiLink and refactor tooltip content

* Change link to text and add pointer style to it

* FIx import in kibana_framework_adapter

* Remove label for entire time range mode and add an icon for last value mode label

* Add action to show last value label for TSVB embeddables

* Fix TimeseriesVisParams import

* Revert "Add action to show last value label for TSVB embeddables"

This reverts commit 15f16d6f72.

* Put the "Last value" badge on the top of visualization and add an option to hide it

* Fix failing _tsvb_markdown test and refactor timeseries_visualization

* Move I18nProvider frim timeseries_visualization to timeseries_vis_renderer

* Add condition to hide gear button when entire time range mode is enabled, fix gauge scroll issue

* Change text in the popover, add condition to indicator if series data is empty, create migration script to hide last value label for previously created visualizations and a test for that

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-03-30 19:41:52 +03:00
Ahmad Bamieh a67aa97989
[Core] create deprecations service (#94845)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 19:20:23 +03:00
Joe Reuter ceb4c9a160
do not re-render embeddable so often (#95653) 2021-03-30 18:01:41 +02:00
Shahzad a154d92d6f
update mock and types (#95771) 2021-03-30 17:51:52 +02:00
Paul Tavares c8bc57257b
[FLEET][Artifacts] Use artifact information to generate a unique ID when creating a new Artifact (#95705)
* Change id generation for artifact create
2021-03-30 11:50:54 -04:00
Aleksandr Maus 1bfa719d29
Disable indexing for .fleet-agents action_seq_no field (#95584)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 11:40:07 -04:00
renovate[bot] 47761eed5d
Update vega related modules (master) (#92651)
* Update vega and vega-lite

* Update specs for vega-lite

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2021-03-30 17:27:33 +03:00
David Sánchez 1f033f3786
[Security Solution] User can filter Trusted Applications by Hash, Path, Signer, or Trusted App name (#95532)
* Allows filter param. Empty by default

* Uses KQL for filter from Ui

* Adds search bar to dispatch trusted apps search. Fixes some type errors. Added filter into the list View state

* Fix tests and added a new one. Also split query on array to improve readability

* Decouple query parser to be used outside the middleware

* Reuse code using a map

* Filter by term using wildcards. Updates test

* Adds useCallback to memoize function
2021-03-30 16:09:34 +02:00
Nathan Reese 81b46931f8
[file_upload] add has_import_permission route (#95190)
* [file_upload] add has_import_permission route

* remove ml hasImportPermissions

* fix tsconfig path

* tslint

* review feedback

* make pipeline check optional since geojson upload does not use pipeline

* ts cleanup

* make geojson permission failure message actionable

* revert privilege change in functional test

* add global_index_pattern_management_all permission to functional test

* rename hasPipeline to checkHasManagePipeline

* add api integration test

* tslint

* revert change to es_search_source

* simpilify error message when users can't create index pattern

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 07:48:07 -06:00
Shahzad 9d8a2f183e
[Lens] Expose events from lens for lens embeddable (#94670)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 15:19:35 +02:00
Scotty Bollinger c6b37dec70
[Workplace Search] Add download diagnostics button to source settings (#95726)
* Add routes

* Add button to UI
2021-03-30 10:07:58 -03:00
Tiago Costa 01bf004193
skip flaky suite (#95707) 2021-03-30 14:01:07 +01:00
Mike Côté 3abb79a179
Create new alerting HTTP APIs that use the new terminology (#93977)
* Move current alert HTTP APIs to legacy folder (#93943)

* Move current HTTP APIs to legacy folder

* Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH

* Fix failing tests and extra files

* Create new rule HTTP APIs (#93980)

* Move current HTTP APIs to legacy folder

* Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH

* Fix failing tests and extra files

* Move current alert HTTP APIs to legacy folder (#93943)

* Move current HTTP APIs to legacy folder

* Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH

* Fix failing tests and extra files

* Add necessary files

* Create rule route

* Get rule API

* Update rule API

* Delete rule route

* Aggregate rules API

* Disable rule API

* Enable rule API

* Find rules API

* Fix Update API

* Get rule alert summary API

* Get rule state API

* Health API

* Rule types API

* Mute all API

* Mute alert API

* Unmute all API

* Unmute alert route

* Update API key API

* corrected tpye by making it much more complicated

* removed unneeded cocde

* Fixes

* Add back health route

* mutedInstanceIds -> mutedAlertIds

* lastRun -> last_run

* alert_type_state -> rule_type_state & alert_instances -> alerts

Co-authored-by: Gidi Meir Morris <github@gidi.io>

* Create docs for new rule HTTP APIs, deprecate old docs (#94745)

* Create docs for new APIs, deprecate old docs

* Remove connector_type_id

* Update docs

* Add link to legacy APIs from rules API docs

* Remove connector_type_id references

* [DOCS] Add legacy APIs to index.asciidoc

* Fix camel case

Co-authored-by: lcawl <lcawley@elastic.co>

* Make alerting tests use new rules APIs (#95159)

* Make API integration tests use new HTTP APIs

* Fix end to end tests

* Fix test failures

* Fix more test failures

* Rename some files

* Add tests for legacy APIs (#95333)

* Initial commit (#95457)

* Move some new alerting APIs to /internal (#95461)

* Initial commit

* Update README.md

* Use internal API

* Merge deprecated warning w/ alternative solution

* Update API docs

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
2021-03-30 08:27:28 -04:00
Liza Katz b58dd3efe8
[Sessions] Extract search abort controllers logic into a separate class (#95688)
* simplify abort controller logic and extract it into a class

* docs

* delete unused tests

* code review

* code review

* code review
2021-03-30 15:24:30 +03:00
Byron Hulcher e91d0d4a76
[App Search] Add a Sample Engine CTA panel to the engines table when empty (#94647)
* Added new onboarding complete route for App Search

* Allow responses without JSON bodies in Enterprise Search

* New SampleEngineCreationCtaLogic

* New SampleEngineCreationCta component

* Add SampleEngineCreationCTA to engines EmptyState

* Improve SampleEngineCreationCta

* Fix spelling error in Enterprise Search request handler test

* Improve SampleEngineCreationCtaLogic

* Fix types

* Fix tests after origin/master merge

* Turns out I 'fixed' my tests by removing this test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 06:49:02 -04:00
Mikhail Shustov 5b6927863a
Better error serialization for error provided to HTTP response factory (#95671)
* pass error reason for ES responses provided in HTTP response body

* add a test

* ML: update functional tests when index does not exist

* transform: fix integration test for error message
2021-03-30 12:46:17 +02:00
Angela Chuang 643760dfec
[SecuritySolution] Unskip uncommon_processes·ts (#95343)
* wrap with retry

* wrap with retry

* wrap tests with retry

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 11:20:52 +01:00
David Sánchez 41e247f29f
Fix unit test. Get rid of snapshots and use query element instead (#95656) 2021-03-30 12:12:33 +02:00
Alejandro Fernández Gómez 9931b8bc1d
[Fleet] Expose permissions as part of the agent policy (#94591) 2021-03-30 11:46:41 +02:00
Robert Oskamp 3e4af77d5a
[ML] Functional tests - stabilize anomaly explorer tests for slow network (#95628)
This PR stabilizes the ML anomaly explorer functional tests for slow network environments.
2021-03-30 10:51:00 +02:00
James Rucker 4c89da2b45
[Workplace Search] Send kibana_host when calling /reauth_prepare (#95529)
* WIP almost there?

* Fix server route validation

* fix account route

* Fix test expectations

Co-authored-by: scottybollinger <scotty.bollinger@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 21:49:16 -04:00
Zacqary Adam Xeper 28410539b5
[Fleet] Configure Fleet packages and integrations through endpoint (#94509) 2021-03-29 21:41:27 -04:00
Scotty Bollinger 73f60e132d
[Enterprise Search] Fix bug in indexing status (#95719)
* Add interface

The component was already passing the props the logic file needed, they just aren’t listed in the interface

* Pass props to logic file

Also destructures from props to prevent collision with the local logic values that are repopulated when data is fetched.

* Update logic file to use props for default values

* Fix test and use spy

* Remove resetContext

No longer needed!
2021-03-29 20:59:21 -04:00
igoristic caec3d4749
[DOC] Updated documentation for newly added monitoring alerts (#91272)
* Documentation for recently added alerts

* [DOCS] Fixes broken link

* Addressed review feedback

Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 18:26:09 -04:00
Søren Louv-Jansen 0defebd649
[APM] Improve api tests (#95636)
* [APM] Improve api tests

* Fix typo
2021-03-30 00:12:46 +02:00
Pierre Gayvallet 683d140229
fix globalSearchBar jest env (#95640) 2021-03-29 22:23:29 +02:00
Paul Tavares c5e24f65b4
[Security Solution][Endpoint] Migration of user generated Artifacts to Fleet (#95481)
* Migration of artifacts from SO to fleet index
* Better errors out of fleet server setup
* Expose `fleetSetupComplete()` out of FleetStartContract
* Ensure that ManifestTask only runs after `.start()` is called
2021-03-29 14:19:51 -04:00
Constance 35d0ac8d1c
[App Search] Remove API logs/Analytics-specific unavailable logic (#95601)
* EngineOverview: Remove apiLogsUnavailable logic & UnavailablePrompt

* Analytics: Remove analyticsUnavailable logic & AnalyticsUnavailable

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 14:00:32 -04:00
Larry Gregory f35e291e8d
Increase timeout for user management tests (#95661) 2021-03-29 13:57:48 -04:00
Constance 04340d3ad1
[Enterprise Search] DRY out various repeated action button copy (#95114)
* DRY out repeated button/table/modal actions copy to a shared file

* DRY out 'Edit' copy

* DRY out 'Delete' copy

* DRY out 'Save' copy

* DRY out 'Cancel' copy

* DRY out 'Continue' copy

* DRY out 'Close' copy

* DRY out 'Manage' copy

* DRY out 'Update' copy

* [WS] DRY repeated 'Update'/'Save'/'Cancel' copy

* [AS] DRY out 'Restore defaults' button

- used on 2 pages so far, and will also be used on result settings

* PR feedback: Add _BUTTON_LABEL specificity
2021-03-29 13:57:25 -04:00
Chandler Prall f667aa2d29
Upgrade EUI to v31.10.0 (#93796)
* Upgraded eui version, updated jest snaapshots

* Upgrade EUI to v31.10.0 & update tests

* increase expected histogram brush size result

* revert dev_server snap

* update baseline dashboard reporting png

* avoid multiple acton menu openings when verified that the action exists and is enabled

* update dashboard table expand button

* update dashboard tsvb baseline

* Adjust 2 cypress tests

* snapshot update

Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 11:20:30 -06:00
Quynh Nguyen 587f83a859
[ML] Add search time runtime support for index based Data Visualizer (#95252)
* [ML] Add runtime support from index pattern for data viz

* [ML] move runtime mappings outside of aggregatableFields loop

* [ML] Change arg name to runtimeMappings

* [ML] Fix dv full time range broken

* [ML] Fix dv broken with time range

* [ML] Add better error handling/transparency

* [ML] Update to using estypes.RuntimeField

* [ML] Update to use some shared common functions between ml and transform

* Revert "[ML] Update to use some shared common functions between ml and transform"

This reverts commit ce813f01

* [ML] Disable context menu if no charts
2021-03-29 12:10:08 -05:00
Jason Stoltzfus 3f86bab334
[App Search] Refactor Result Settings logic (#95531) 2021-03-29 12:54:20 -04:00
Wylie Conlon fe66162ef2
[Lens] Fully unmount React when flyout closes (#95359)
* [Lens] Fully unmount React when flyout closes

* Fix bug with editor frame unmounting

* Fix type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 12:33:05 -04:00
igoristic f9ca6dca65
[Monitoring] Removed timefilter refresh override (#94648)
* Removed refresh override

* Changed default behavior

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 12:21:15 -04:00
Anton Dosov 92af812c82
[Search Sessions] Display time labels in search session popover (#95082) 2021-03-29 17:45:08 +02:00
Adam Locke f92381eca9
Update link for enabling security (#95519)
* Update link for enabling security

This change updates the `elasticsearchEnableSecurity` link to the new page for [Configuring security for the Elastic Stack](https://www.elastic.co/guide/en/elasticsearch/reference/master/configuring-stack-security.html).

Closes #84337

* Updating test to use expected doc link.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 11:34:04 -04:00
James Gowdy 478ad3bad5
[Fleet] Adding ML module asset type (#94950)
* [Fleet] Adding ML module asset type

* adding test

* guessing asset ids

* better guess at IDs

* renaming asset ids

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 16:21:49 +01:00
Uladzislau Lasitsa 0e40b94348
[TSVB] Change the default mode from last value to entire timerange (#93608)
* Make 'enter time range' value as default and add telemetry for 'last value' mode

* Fix telemetry schema

* Fix test

* Add possibility count timeseries created from dashboard

* Fix remark

* Fix remark

* Fix problem with time_range_mode

* Fix tests

* Fix tests

* Fix tests for markdown and table

* exclude TSVB which have type as timeseries

* Add description for field in schema in telemetry

* Fix telemetry schema

* Fix some remarks

* Added check for hits

* fix CI

* fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-03-29 17:31:01 +03:00
Georgii Gorbachev d16101f377
[Event Log] Extend ECS event schema with fields needed for Detection Engine (#95067)
**Related to:** https://github.com/elastic/kibana/pull/94143

## Summary

This PR adds new fields to the schema (`EventSchema`, `IEvent`):

- standard ECS fields: `error.*`, `event.*`, `log.level`, `log.logger`, `rule.*`
- custom field set `kibana.detection_engine`

We need these fields on the Detections side to implement detection rule execution log. See the related proposal (https://github.com/elastic/kibana/pull/94143) for more details.

Also, this PR bumps ECS used in Event Log from `1.6.0` to the current `1.8.0` version. They are 100% same in terms of fields used in Event Log, so no changes in the schema were caused by this version increment.
2021-03-29 14:59:36 +02:00
Marta Bondyra a1748cb3a7
[Lens] remove warnings when running tests (#95637) 2021-03-29 14:25:08 +02:00
Tiago Costa cf8ebe619b
skip flaky suite (#92358) 2021-03-29 13:11:33 +01:00
Marta Bondyra 755c186c28
[Lens] Multiple drop targets (#93616) 2021-03-29 14:07:39 +02:00
Tiago Costa a10e3d4f2b
skip flaky suite (#91450) 2021-03-29 13:05:33 +01:00
Alexey Antonov 4342f26eaf
[TSVB] Enable dual mode, support index patterns and strings (#92812)
* [TSVB] Enable `dual mode`, support index patterns and strings

* modify UI

* add migration script

* refactoring

* fix CI

* prefill the index pattern name

* modify UI

* modify UI

* update UI

* fix functional test

* some work

* remove callouts

* fix rollup test

* update UI

* fix typo

* add some unit tests

* add functional test

* fix CI

* correct labels

* fix ci group 12

* cleanup interface

* fix CI

* cleanup API

* fix some of PR comments

* move index patterns into so references

* remove wrong logic

* fix JEST

* fix some ui issues

* update sample data

* indexPatternObject -> indexPatternValue

* fix comments

* I have a dashboard with two TSVB viz. One with the default (haven't applied it to the combobox) and one with the logs. The filter contains fields only from the logs index pattern

* When I am on the string mode and try to write my index, sometimes some of the chars are not added or they are deleted while typing, something with the denounce maybe?

* fix merge conflicts

* Does this PR also supports runtime fields? I created one from the editor and I see that I can select it

* fix UI issue

* If I create a viz with the string mode and a wildcard e.g. kibana_sample*, the index patterns are not communicated correctly to the dashboard.

* fix import/export refs for dashboard

* remove MigrationPopover

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 04:32:01 -04:00
Søren Louv-Jansen 84adfe551b
[APM] Add elasticsearch queries to api response (#95146) 2021-03-29 07:50:27 +02:00
Yara Tercero 17d3907730
[Security Solution][Exceptions] - Moves ExceptionItem component to lists plugin (#95246)
## Summary

Moves part of the exceptions UI out of the security solution plugin and into the lists plugin. In order to keep PRs (relatively) small, I am moving single components at a time. This should also then help more easily pinpoint the source of any issues that come up along the way.

The next couple PRs will focus on the exception builder. This one in particular is focused on moving over the `BuilderExceptionItem` which deals with rendering the individual exception items.
2021-03-26 20:59:49 -07:00
Yuliia Naumenko 80fdcde813
[Alerts][Actions] Added missing telemetry mapping for a new alert and action types: geo-containment, es-query, teams (#95464)
* [Alerts][Actions] Added missing telemtry mapping for a new alert and action types: geo-containment, es-query, teams

* fixed mappings

* fixed ML alert type telemetry mappings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 19:45:24 -07:00
Marshall Main 533a7bb56f
[Security Solution] Split rule executor by rule type and validate type specific rule params (#94857)
* Split rule executors into different files

* Pass type-specific rule SOs to rule executor functions

* Genericize function to narrow ruleSO type

* Remove undefined return type from getExceptions

* Remove unintentional change to SIGNALS_TEMPLATE_VERSION

* Remove extra validation now covered by schemas

* Remove extra validation from ML rule executor

* Fix types

* syncs schemas

* Revert "syncs schemas"

This reverts commit b1dd59e3f0.

* Fix api test and move threshold executor test

* kinda adds eql test

* Refactor and fix unit tests

* fixes marshalls mistake

Co-authored-by: Davis Plumlee <davis.plumlee@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 19:44:46 -07:00
Brian Seeders b94e2338d1 skip failing suite (#95596) 2021-03-26 20:36:06 -04:00
John Dorlus 10713fcc52
Add Component Integration Test For Byte Processor (#95130)
* Addded test for Bytes processor.

* Broke out processor not selected section of tests to its own test and made edits per feedback in PR.

* Broke out processor data fetching to a separate reusable helper function.

* Broke out processor data fetching to a separate reusable helper function.

* Added functionality for toggling the ignore missing switch.

* ES lint fix.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 19:09:19 -04:00
liza-mae b7d8ada65a
Fix reporting test (#95586) 2021-03-26 16:33:29 -06:00
Brian Seeders b95e5a996a skip failing suite blocking ES promotion (#95594) 2021-03-26 17:46:20 -04:00
Brian Seeders 1362561a03 skip flaky suite (#95592) 2021-03-26 17:40:01 -04:00
John Schulz 7f15931725
[Fleet] /bulk_unenroll response matches other bulk action APIs (#95571)
## Summary
`/agents/bulk_unenroll` should return a response with a result for each agent given; including invalid or missing ids. It currently returns an empty object. https://github.com/elastic/kibana/issues/90437


[TS type diff for response](dd34e4c5ef/x-pack/plugins/fleet/common/types/rest_spec/agent.ts (L124-L130))

```diff
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
- export interface PostBulkAgentUnenrollResponse {}
+ export type PostBulkAgentUnenrollResponse = Record<
+   Agent['id'],
+   {
+     success: boolean;
+     error?: string;
+   }
+ >;
```

### Checklist

- [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
2021-03-26 17:36:39 -04:00
Brian Seeders 173731b342 skip flaky suite (#95590) 2021-03-26 17:23:12 -04:00
Oliver Gupte 86d4054930
[APM] Fix for correlations inconsistent loading errors in Errors tab (#93443) (#95437) 2021-03-26 13:22:32 -07:00
Candace Park 4ff9bfd113
[Security Solution][Endpoint][Admin] Match endpoint list host status with fleet agent status (#95243) 2021-03-26 16:17:12 -04:00
Yara Tercero 2aae753c54
[Security Solution][Exceptions][Builder] -Move exception builder entry item exceptions ui over to lists (#94515)
## Summary

Beginning to move the exceptions UI out of the security solution plugin and into the lists plugin. In order to keep PRs (relatively) small, I plan to move single components at a time. This should also then help more easily pinpoint the source of any issues that come up along the way.

The next couple PRs will focus on the exception builder. This one in particular is focused on moving over the `BuilderEntryItem` which deals with rendering the individual exception item entries. An entry can be of type `match`, `match_any`, `list`, `exists`, or `nested`. The component makes use of the autocomplete fields which use the index patterns to display possible fields and field values. 

One of the decisions made in this PR was to have consumers of the `BuilderEntryItem` pass through the autocomplete service as opposed to the `lists` plugin adding it as a dependency. The reason being that it is likely that plugins using the lists plugin will already be consuming either the data plugin or if alerting takes exceptions in, then they'll be consuming alerting. In an effort to avoid some possible icky circular dependency issues, though it best to make the service passed in, as we had already been doing with the hooks in the `lists` plugin.
2021-03-26 13:05:27 -07:00
Larry Gregory 31ea160fc7
Move production dependencies out of devDependencies (#93997)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 15:23:45 -04:00
Aleksandr Maus 5518b04eed
Add policy_output_permissions_hash field to .fleet-agents mapping (#95410) 2021-03-26 15:09:58 -04:00
John Barrier Wilson 593b03fc60
[Workplace Search] Design polish: overview page (#95363)
* Rework panels to subdued style

* Fix button when source has been onboarded

* Update content_section test for EuiSpacer

* Update content_section test for EuiSpacer Length

* Lint fix for onboarding_card

* Remove spacer size due to default

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>

* Remove test line for Spacer now that size=default

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 14:09:45 -05:00
Nicolas Chaulet db7da2238e
[Fleet] add support for fleet server urls (#94364) 2021-03-26 14:53:35 -04:00
Aaron Caldwell d89ede9834
[Maps] Add drawing index data endpoint (#94728) 2021-03-26 14:29:16 -04:00
Lisa Cawley 68722313f2
Use documentation link service for runtime fields (#95256) 2021-03-26 11:28:42 -07:00
Constance 6b59fe3d01
[App Search] Refactor EuiPageHeader components to use new props instead of children (#95454)
* Update EuiPageHeaders with basic titles

* Update engine creation views

- meta engine - move to description
+ misc fix - non-heading EuiTitles that do not match the standalone UI

* Update EuiPageHeaders with simpler actions

* Update Documents page header

+ test reorg - move DocumentCreationButton tests to its own test block

* Update EnginesOverviewHeader (+ refactors)

- Switch from FormattedMessage to i18n to match rest of repo
- Switch to eslint-disbable instead of doing a buttonProps workaround (this will get deleted anyway post-migration)

* whoops
2021-03-26 14:17:00 -04:00
Quynh Nguyen 95e308a473
[ML] Add Anomaly Explorer charts embeddable (#94396) 2021-03-26 13:10:19 -05:00
Aleh Zasypkin 796f679e92
Migrate away from legacyEs service in tests. (#95402) 2021-03-26 18:49:19 +01:00
Yuliia Naumenko e31ef5235e
[Task Manager] Fixed the behavior of the claiming tasks function failing, when inline scripts are disabled. (#94870)
* [Task Manager] Fixed the behavior of the claiming tasks funtion failing, when inline scripts are disabled.

* added docs

* fixed test

* added tests

* fixed due to comments

* Fixed docs due to comments

* extended TM configuration changes message with the possible errors description
2021-03-26 10:46:33 -07:00
Yuliia Naumenko 8101419cb9
[Alerts UI] Fixed significant delay during disabling/enabling alerts (#95373)
* [Alerts UI] Fixed significant delay during disabling/enabling alerts

* fixed test
2021-03-26 10:44:44 -07:00
Anton Dosov ce6641bac1
[Search Sessions] Rename search sessions functional tests. Remove wip mention (#95330) 2021-03-26 18:08:46 +01:00
Scotty Bollinger 21192222fd
Add button on non-MVP pages to link to personal dashboard (#95441) 2021-03-26 11:46:01 -05:00
Anton Dosov d305e2769a
[Data] Unify autocomplete plugin (#95405)
Move KQL suggestions to data plugin
2021-03-26 17:45:43 +01:00
John Schulz ab33df898a
[Fleet] Bulk upgrade api response change (#95236)
## Summary
`/agents/bulk_upgrade` should return a response with a result for each agent given; including invalid or missing ids. It currently returns an empty object.

This PR includes commits from open PR https://github.com/elastic/kibana/pull/95024. The additions from this PR are https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb

[TS type diff for response](https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb#diff-7006a6c170a608c8c7211fc218c0a6f4bc8ff642c170ea264db4b1b5545fb728)

```diff
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
- export interface PostBulkAgentUpgradeResponse {}

+ export type PostBulkAgentUpgradeResponse = Record<
+   Agent['id'],
+   {
+     success: boolean;
+     error?: string;
+   }
+ >;
```

### Checklist

- [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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 11:40:38 -05:00
Joe Reuter b7d84ab440
change layout of top values function (#95412) 2021-03-26 17:15:33 +01:00
Felix Barnsteiner 9ebb38974c
Add error.stack_trace to the default log formatter (#94906) 2021-03-26 12:09:34 -04:00
Dima Arnautov 924724cf0b
[ML] Replace legacy es client in Transform API service for functional tests 2021-03-26 12:09:11 -04:00
Shahzad a395fd86a8
[Uptime] Update query for ping histogram (#95495) 2021-03-26 16:50:15 +01:00
renovate[bot] 33e213cb2b
Update dependency @elastic/charts to v26 (master) (#95184)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-03-26 16:30:10 +01:00
Quynh Nguyen f061303282
[ML] Fix Transform runtime mappings retain original definition when cloning (#95436)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 10:25:39 -05:00
Shahzad b1525f0af7
[Lens] Allow modifying curve type for line/area series charts (#94675) 2021-03-26 16:23:41 +01:00
Scotty Bollinger c5fb8ab8c2
[Workplace Search] Update global state when org nane changes (#95448)
Currently we instantiate the Workplace Search app with server props passed in from the server on initial page load. This data includes the organization name. In our settings section, we poll the server to get update information, but once the data is change, the global state does not get updated on a route change. This is only a problem in the case where a user has changed their org name and returns to the overview page before reloading the page. When this happens, the onboarding step asking the user to change thier org name is still visible.
2021-03-26 10:19:36 -05:00
Marco Liberati 3f58b185d5
[Lens] Prepare Lens for jest-environment-jsdom migration (#95327)
* 🐛 Fix activeElement issue with Jest

* 🏷️ Fix type issue

* 👌 Removed expect-errors directives

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 15:59:12 +01:00
Larry Gregory dbd4b2bac8
Unskip flaky spaces tests (#95207)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 15:08:56 +01:00
Matthew Kime ae4dae46d9
Index pattern field editor - Add warning and type 'confirm' on delete or save (#95237)
* add runtime field change/delete confirm dialog
2021-03-26 09:03:13 -05:00
Shahzad b9f5d0c2e1
[Observability] Update plugin start/setup types naming (#95301) 2021-03-26 14:48:08 +01:00
Cauê Marcondes 33b81b115c
[APM] Split All instances API adding a new API to return comparison statistics (#94767)
* adding comparison to instances table

* fixing tests

* adding api tests

* removing unnecessary files

* fixing ts issue

* fixing ts issue

* refactoring

* refactoring

* refactoring

* refactoring

* refactoring

* addressing PR comments

* addressing PR comments
2021-03-26 09:14:03 -04:00
Thomas Neirynck f99d93d506
[Maps] Remove invisible layers from querybar (#94943) 2021-03-26 09:11:47 -04:00
Jonathan Buttner f4526ad88c
[Cases] Fix _find API total bug (#95235)
* Cherry-picking 7.12 find total fix

* Starting fix for total bug in master with new field

* Adding feature flag for sub cases

* Disabling case as a connector in security solution

* Adding additional tests for pagination

* Removing other api integration tests

* Fixing up problems from merge

* Fixing sub case tests and type errors

* Renaming comment tag for case connector
2021-03-26 08:46:07 -04:00
Marco Liberati 243a7f9b2b
[Lens] Rename operations to map exposed names for Formula (#94710)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 11:54:42 +01:00
David Sánchez 2af094a63d
[Security Solution] Put Artifacts by Policy feature behind a feature flag (#95284)
* Added sync_master file for tracking/triggering PRs for merging master into feature branch

* removed unnecessary (temporary) markdown file

* Trusted apps by policy api (#88025)

* Initial version of API for trusted apps per policy.

* Fixed compilation errors because of missing new property.

* Mapping from tags to policies and back. (No testing)

* Fixed compilation error after pulling in main.

* Fixed failing tests.

* Separated out the prefix in tag for policy reference into constant.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* [SECURITY_SOLUTION][ENDPOINT] Ability to create a Trusted App as either Global or Policy Specific (#88707)

* Create form supports selecting policies or making Trusted app global
* New component `EffectedPolicySelect` - for selecting policies
* Enhanced `waitForAction()` test utility to provide a `validate()` option

* [SECURITY SOLUTION][ENDPOINT] UI for editing Trusted Application items (#89479)

* Add Edit button to TA card UI
* Support additional url params (`show`, `id`)
* Refactor TrustedAppForm to support Editing of an existing entry

* [SECURITY SOLUTION][ENDPOINT] API (`PUT`) for Trusted Apps Edit flow (#90333)

* New API route for Update (`PUT`)
* Connect UI to Update (PUT) API
* Add `version` to TrustedApp type and return it on the API responses
* Refactor - moved some public/server shared modules to top-level `common/*`

* [SECURITY SOLUTION][ENDPOINT] Trusted Apps API to retrieve a single Trusted App item (#90842)

* Get One Trusted App API - route, service, handler
* Adjust UI to call GET api to retrieve trusted app for edit
* Deleted ununsed trusted app types file
* Add UI handling of non-existing TA for edit or when id is missing in url

* [Security Solution][Endpoint] Multiple misc. updates/fixes for Edit Trusted Apps (#91656)

* correct trusted app schema to ensure `version` is not exposed on TS type for POST
* Added updated_by, updated_on properties to TrustedApp
* Refactored TA List view to fix bug where card was not updated on a successful edit
* Test cases for card interaction from the TA List view
* Change title of policy selection to `Assignment`
* Selectable Policy CSS adjustments based on UX feedback

* Fix failing server tests

* [Security Solution][Endpoint] Trusted Apps list API KQL filtering support (#92611)

* Fix bad merge from master
* Fix trusted apps generator
* Add `kuery` to the GET (list) Trusted Apps api

* Refactor schema with Put method after merging changes with master

* WIP: allow effectScope only when feature flag is enabled

* Fixes errors with non declared logger

* Uses experimental features module to allow or not effectScope on create/update trusted app schema

* Set default value for effectScope when feature flag is disabled

* Adds experimentals into redux store. Also creates hook to retrieve a feature flag value from state

* Hides effectPolicy when feature flag is not enabled

* Fixes unit test mocking hook and adds new test case

* Changes file extension for custom hook

* Adds new unit test for custom hook

* Hides horizontal bar with feature flag

* Compress text area depending on feature flag

* Fixes failing test because feature flag

* Fixes wrong import and unit test

* Thwrows error if invalid feature flag check

* Adds snapshoot checks with feature flag enabled/disabled

* Test snapshots

* Changes type name

* Add experimentalFeatures in app context

* Fixes type checks due AppContext changes

* Fixes test due changes on custom hook

Co-authored-by: Paul Tavares <paul.tavares@elastic.co>
Co-authored-by: Bohdan Tsymbala <bohdan.tsymbala@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2021-03-26 11:32:46 +01:00
Nathan Reese ba029aa95e
[Maps] split out DrawFilterControl and DrawControl (#95255)
* [Maps] split out DrawFilterControl and DrawControl

* clean up

* update i18n id

* give 'global_index_pattern_management_all' permission to functional test because new check blocks access without it

* revert last change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-25 16:22:02 -06:00
Søren Louv-Jansen bd3f5d4863
Update APM readme (#95383)
* Update APM readme

* Update readme.md

* Update x-pack/plugins/apm/readme.md

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2021-03-25 21:19:48 +01:00
Jonathan Budzenski 724e21e007 skip flaky test. #95345 2021-03-25 15:11:40 -05:00
Lukas Olson a10c4188b7
Re-enable skipped test (discover with async scripted fields) (#94653)
* Re-enable skipped test

* remove comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-25 12:24:36 -07:00
Ece Özalp d70d02ee83
Add a11y test coverage to Rule Creation Flow for Detections tab (#94377)
[Security Solution] Add a11y test coverage to Detections rule creation flow (#80060)
2021-03-25 15:05:23 -04:00
Nathan Reese c5e3e78de8
[Maps] do not track total hits for elasticsearch search requests (#91754)
* [Maps] do not track total hits for elasticsearch search requests

* set track_total_hits for es_search_source tooltip fetch

* tslint

* searchSource doc updates, set track_total_hits in MVT requests

* revert changes made to searchsourcefields docs

* tslint

* review feedback

* tslint

* remove Hits (Total) from functional tests

* remove sleep in functional test

* tslint

* fix method name

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-25 13:00:16 -06:00
Kerry Gallagher 6b6404954e
[Logs / Metrics UI] Separate logs / metrics source configuration awareness (#95334)
* Remove metrics awareness of logs fields
2021-03-25 18:59:18 +00:00
Alison Goryachev 43e3d558fd
[Snapshot + Restore] Add callout when restoring snapshot (#95104) 2021-03-25 14:41:58 -04:00
MadameSheema 6a571486fc
[Security Solution][Detections] Improves indicator match Cypress tests (#94913)
* updates the data used in the test

* adds matches test

* adds enrichment test

* improves speed and adds missing files

* fixes type check issue

* adds 'data-test-subj' for the json view tab

* refactor

* fixes typecheck issue

* updates tests with latest master changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-25 19:25:49 +01:00
Jonathan Budzenski 02fce98254 skip flaky test. #89389 2021-03-25 12:51:05 -05:00
Jonathan Buttner 07f32d03b3
[Cases] Adding feature flag for sub cases (#95122)
* Adding feature flag for sub cases

* Disabling case as a connector in security solution

* Fix connector test

* Switching feature flag to global variable

* Removing this.config use

* Fixing circular import and renaming flag
2021-03-25 13:36:25 -04:00
Constance b9ef084130
[App Search] API Logs - set up basic view & routing (#95369)
* Add basic API Logs view

* Update engine router + nav link
2021-03-25 09:19:39 -07:00
Scotty Bollinger 50d7cea812
[Workplace Search] Add UI logic for GitHub Configure Step (#95254)
* Fix typo

This was mis-copied from ent-search

* No longer store preContentSourceId in query param

In ent-search, we had the Rails server redirect with this param. Now, it is contained in the server response as JSON and is persisted in the logic file

* Pass query params to SourceAdded component

The entire state is stored in query params now and must be passed when doing a manual redirect

* Redirect to config view if config needed

* Don’t redirect if the config has already been completed

This was really tricky and could use a refactor in the future, perhaps. The issue is that the persisted query params will contain the `preContentSourceId` even after the config has been completed. This caused the UI to attempt to navigate back to the config screen after it had been completed. This sets a prop once that has been completed and bypasses the redirect.

* Use correct key to determine if config needed

* Update tests
2021-03-25 11:12:53 -05:00
Nathan Reese 373a108cfe
[Maps] upgrade server to use new elasticsearch-js client (#95314)
* [Maps] upgrade server to use new elasticsearch-js client

* update functional test expect
2021-03-25 10:06:56 -06:00
Dima Arnautov a8b04d7c54
[ML] Extract job selection resolver (#95394) 2021-03-25 11:21:10 -04:00
Shahzad e0534e42ae
Expose xy chart types component (#95275) 2021-03-25 15:27:30 +01:00
Casper Hübertz e894ee973f
[Observability] Change icon ref (#95367) 2021-03-25 14:29:51 +01:00
Nicolas Chaulet 00c53c56b8
[Fleet] Replace INTERNAL_POLICY_REASSIGN by POLICY_REASSIGN (#94116) 2021-03-25 09:15:59 -04:00
igoristic 80e53d5fe6
[Monitoring] Remove license check for alerting (#94874)
* Removed license check for alerting

* Fixed tests and CR feedback

* Fixed test
2021-03-25 09:02:51 -04:00
Tomas Della Vedova 238791b942
ES client : use the new type definitions (#83808)
* Use client from branch

* Get type checking working in core

* Fix types in other plugins

* Update client types + remove type errors from core

* migrate Task Manager Elasticsearch typing from legacy library to client library

* use SortOrder instead o string in alerts

* Update client types + fix core type issues

* fix maps ts errors

* Update Lens types

* Convert Search Profiler body from a string to an object to conform to SearchRequest type.

* Fix SOT types

* Fix/mute Security/Spaces plugins type errors.

* Fix bootstrap types

* Fix painless_lab

* corrected es typing in Event Log

* Use new types from client for inferred search responses

* Latest type defs

* Integrate latest type defs for APM/UX

* fix core errors

* fix telemetry errors

* fix canvas errors

* fix data_enhanced errors

* fix event_log errors

* mute lens errors

* fix or mute maps errors

* fix reporting errors

* fix security errors

* mute errors in task_manager

* fix errors in telemetry_collection_xpack

* fix errors in data plugins

* fix errors in alerts

* mute errors in index_management

* fix task_manager errors

* mute or fix lens errors

* fix upgrade_assistant errors

* fix or mute errors in index_lifecycle_management

* fix discover errors

* fix core tests

* ML changes

* fix core type errors

* mute error in kbn-es-archiver

* fix error in data plugin

* fix error in telemetry plugin

* fix error in discover

* fix discover errors

* fix errors in task_manager

* fix security errors

* fix wrong conflict resolution

* address errors with upstream code

* update deps to the last commit

* remove outdated comments

* fix core errors

* fix errors after update

* adding more expect errors to ML

* pull the lastest changes

* fix core errors

* fix errors in infra plugin

* fix errors in uptime plugin

* fix errors in ml

* fix errors in xpack telemetry

* fix or mute errors in transform

* fix errors in upgrade assistant

* fix or mute fleet errors

* start fixing apm errors

* fix errors in osquery

* fix telemetry tests

* core cleanup

* fix asMutableArray imports

* cleanup

* data_enhanced cleanup

* cleanup events_log

* cleaup

* fix error in kbn-es-archiver

* fix errors in kbn-es-archiver

* fix errors in kbn-es-archiver

* fix ES typings for Hit

* fix SO

* fix actions plugin

* fix fleet

* fix maps

* fix stack_alerts

* fix eslint problems

* fix event_log unit tests

* fix failures in data_enhanced tests

* fix test failure in kbn-es-archiver

* fix test failures in index_pattern_management

* fixing ML test

* remove outdated comment in kbn-es-archiver

* fix error type in ml

* fix eslint errors in osquery plugin

* fix runtime error in infra plugin

* revert changes to event_log cluser exist check

* fix eslint error in osquery

* fixing ML endpoint argument types

* fx types

* Update api-extractor docs

* attempt fix for ese test

* Fix lint error

* Fix types for ts refs

* Fix data_enhanced unit test

* fix lens types

* generate docs

* Fix a number of type issues in monitoring and ml

* fix triggers_actions_ui

* Fix ILM functional test

* Put search.d.ts typings back

* fix data plugin

* Update typings in typings/elasticsearch

* Update snapshots

* mute errors in task_manager

* mute fleet errors

* lens. remove unnecessary ts-expect-errors

* fix errors in stack_alerts

* mute errors in osquery

* fix errors in security_solution

* fix errors in lists

* fix errors in cases

* mute errors in search_examples

* use KibanaClient to enforce promise-based API

* fix errors in test/ folder

* update comment

* fix errors in x-pack/test folder

* fix errors in ml plugin

* fix optional fields in ml api_integartoon tests

* fix another casting problem in ml tests

* fix another ml test failure

* fix fleet problem after conflict resolution

* rollback changes in security_solution. trying to fix test

* Update type for discover rows

* uncomment runtime_mappings as its outdated

* address comments from Wylie

* remove eslint error due to any

* mute error due to incompatibility

* Apply suggestions from code review

Co-authored-by: John Schulz <github.com@jfsiii.org>

* fix type error in lens tests

* Update x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>

* Update x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>

* update deps

* fix errors in core types

* fix errors for the new elastic/elasticsearch version

* remove unused type

* remove unnecessary manual type cast and put optional chaining back

* ML: mute Datafeed is missing indices_options

* Apply suggestions from code review

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* use canary pacakge instead of git commit

Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: CJ Cenizal <cj@cenizal.com>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Co-authored-by: restrry <restrry@gmail.com>
Co-authored-by: James Gowdy <jgowdy@elastic.co>
Co-authored-by: John Schulz <github.com@jfsiii.org>
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2021-03-25 04:47:16 -04:00
Shahzad 9724051f92
[Observability] add loading state in use fetcher (#95292) 2021-03-25 09:06:58 +01:00
Shahzad b88f02ffb4
[Uptime] unskip overview test (#95290) 2021-03-25 09:05:26 +01:00
Shahzad 69bb5979ce
[Uptime] Support agent data streams (#91469)
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-25 09:04:40 +01:00
Luke Elmers 49078c82bc
[core.savedObjects] Add helper for using find with pit and search_after. (#92981) 2021-03-24 19:59:13 -04:00
Liza Katz 7f740831cb
Revert "use index patterns and search services for autocomplete (#92861)" (#95335)
This reverts commit 2ef7f3bd0c.
2021-03-24 22:16:38 +02:00
Nathan Reese c7aba55f7b
[Maps] do not call MapEmbeddable updateInput after embeddable is destroyed (#95337) 2021-03-24 14:02:31 -06:00
Constance 983c3a0139
[App Search] Log retention role fix (#95227)
* LogRetentionCallout - add ability check to API call

- on non-admin users, we're otherwise getting a forbidden error

- remove now-unnecessary canManageLogSettings wrapping check around the link CTA, since the entire callout is now essentially gated behind the check

* LogRententionTooltip - add ability check to API call

- on non-admin users, we're otherwise getting a forbidden error

- tests now require a ...values spread for myRole

* [MISC] Refactor previous isLogRetentionUpdating check in favor of a Kea breakpoint

- both dedupe calls for the commented use case, but breakpoint feels simpler & more Kea-y

* PR feedback: Increase breakpoint speed
2021-03-24 15:37:02 -04:00
Matthias Wilhelm 2da269fe93
[Discover][EuiDataGrid] Fix generating reports (#93748) 2021-03-24 20:09:11 +01:00
Quynh Nguyen 07a041ab3a
[ML] Fix Transform runtime mapping editor so mappings can be removed (#95108)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-24 13:28:31 -05:00
Constance ec3926433c
[App Search] Various engines fixes (#95127)
* [Misc] Update trash icon color

- should be danger/red to match other tables in Kibana

* Engine table - fix incorrect conditional around when users can delete engines

- The check for that should be around Dev/Editor/Analyst roles, not around whether the account has a platinum license

- Tests - DRY out reset mock
- ideally would be in a beforeEach, but mount/beforeAll perf makes that difficult

* Create engine button - wrap with canManageEngines check

- prevents Dev/Editor/Analyst roles from hitting a 404 page

- test cleanup - use describe blocks to convey conditional branching, combine 2 tests into 1

* Empty engines prompt - add canManageEngines check

+ switch from FormattedMessage to i18n (this view was created a long time ago before we settled on generally preferring i18n)

+ provide a more helpful body text when the user cannot create engines

* Update x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.test.tsx

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-03-24 13:23:07 -04:00
Alison Goryachev d0c09463d0
[Upgrade Assistant] Reorganize folder structure (#94843) 2021-03-24 12:39:39 -04:00
Sonja Krause-Harder 2e5b5debb5
[Fleet] Add force option to DELETE package endpoint. (#95051)
* Add force option to DELETE package endpoint.

* Add integration test.

* Adjust openapi spec.

* Run EPM tests before fleet setup tests.

* Run package delete tests first in EPM tests
2021-03-24 17:04:49 +01:00
Spencer 0551472cd9
[jest] switch to jest-environment-jsdom (#95125)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-24 08:47:10 -07:00
Nathan L Smith de3a7d6f0d
Use es instead of legacyEs in APM API integration test (#95303)
References #83910.
2021-03-24 10:45:51 -05:00
John Schulz 3639aa4422
[Fleet] Bulk reassign response should include all given ids (#95024)
## Summary
`/agents/bulk_reassign` should return a response with a result for each agent given; including invalid or missing ids. It currently filters out missing or invalid before updating. This PR leaves them in and includes their error results in the response. 

[Added/updated tests](https://github.com/elastic/kibana/pull/95024/files#diff-7ec94bee3e2bae79e5d98b8c17c17b26fad14736143ffa144f3e035773d4cad1R113-R128) to confirm

### Checklist
- [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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-24 11:44:22 -04:00
Constance 759a52c74d
[App Search] Add describe('listeners') blocks to older logic tests (#95215)
* Add describe('listener') blocks to older logic tests

* [Misc] LogRetentionLogic - move 2 it() blocks not within a describe() to its parent listener
2021-03-24 08:36:23 -07:00
Anton Dosov 1527ab510b
[Search Sessions] Improve search session name edit test (#95152) 2021-03-24 16:01:52 +01:00
Felix Stürmer cf33d72442
[Logs UI] Tolerate log entries for which fields retrieval fails (#94972) 2021-03-24 15:52:41 +01:00
Dima Arnautov edaa64f150
[ML] Functional tests for Anomaly swim lane (#94723)
* [ML] update @elastic/charts

* [ML] swim lane service, axes tests

* [ML] check single cell selection and current URL

* [ML] clear selection

* [ML] assert anomaly explorer charts

* [ML] fix unit test

* [ML] assert anomalies table and top influencers list

* [ML] update apiDoc version

* [ML] exclude host from the URL assertion

* [ML] clicks view by swim lane

* [ML] fix method for cell selection

* [ML] brush action tests

* [ML] use debug state flag

* [ML] declare window interface

* [ML] pagination tests

* [ML] enable test

* [ML] scroll into view for swim lane actions

* [ML] rename URL assertion method

* [ML] fix assertion for charts count

* [ML] extend assertion

* [ML] refactor test subjects selection

* [ML] fix assertSelection

* [ML] reduce timeout for charts assertion
2021-03-24 10:38:58 -04:00
ymao1 d5883beb25
Adding ES query rule type to stack alerts feature privilege (#95225) 2021-03-24 10:19:35 -04:00
Tiago Costa 017a2b8413
skip flaky suite (#94535) 2021-03-24 13:46:38 +00:00
Joe Reuter 6295ae71b5
[Lens] Cache avilable operations meta data (#95034) 2021-03-24 14:04:19 +01:00
Ester Martí Vilaseca 326abc2a94
Add filters to query total groupings (#94792)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-24 13:51:20 +01:00
Ester Martí Vilaseca ad1004519a
[Metrics UI] Fix preview charts for inventory alerts when using a filter (#94561)
* Pass filterQuery instead of filterQueryText to invertory alerts preview chart

* Add test to verify that filterQuery is sent to the expression chart

* Improve test description

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-24 13:45:56 +01:00
Joe Reuter e6f4770213
[Lens] Add telemetry for popovers (#94903) 2021-03-24 13:24:31 +01:00
Joe Reuter c218ce292a
[Lens] Add ability to remove runtime field (#94949) 2021-03-24 11:47:56 +01:00
Joe Reuter f07b1722cb
[Lens] Implement filtered metric (#92589) 2021-03-24 11:44:23 +01:00
James Gowdy fdda564a84
[ML] Adding additional runtime mapping checks (#94760)
* [ML] Adding additional runtime mapping checks

* adding functional test for datafeed preview

* renaming findFieldsInAgg

* updating query check

* always use runtime mappings if present in agg field exists check

* changes based on review

* updating tests based on review

* fixing permission check on endpoint and test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-24 10:29:46 +00:00
Aleh Zasypkin 3f3cc8ee35
Expose session invalidation API. (#92376) 2021-03-24 09:54:08 +01:00
Scotty Bollinger 80b05b914a
[Workplace Search] Add missing tests to get 100% coverage (#95240) 2021-03-23 18:39:57 -04:00
Scotty Bollinger 3ff76fd022
[Workplace Search] Fix redirect and state for personal oAuth plugin (#95238)
* Move source added route to top-level index component

* Use state passed back from oAuth app to determine context

The previous tests weren’t actually using this state so they have been updated with actual state data for proper testing
2021-03-23 18:02:36 -04:00
Larry Gregory ba21c315c9
Document spaces telemetry fields (#95087) 2021-03-23 15:47:14 -04:00
Paul Tavares 8933037bd0
[Fleet] Add fleetServerEnabled config setting and use it in SO migration for Endpoint Policies (#95204)
* Add `agents.fleetServerEnabled` to plugin configuration
* Use feature flag in Endpoint package policy SO migration
2021-03-23 15:24:24 -04:00
Candace Park 3998a83871
[Security Solution][Endpoint][Admin] Refactor policy details protections (#94970) 2021-03-23 15:23:58 -04:00
Alejandro Fernández Haro 55e513364a
isClusterOptedIn should fallback to true when not found (#94980)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 15:23:23 -04:00
Scotty Bollinger 29ee309dd8
[App Search] Role mappings migration part 3 (#94763)
* Remove validaition of ID property in route body

The ID is inferred from the param in the URL. This was fixed in the logic file but the server route was never updated

* Add RoleMappings component

- ROLE_MAPPINGS_TITLE was moved to a shared constant in an earlier PR
- Also removing redundant exports of interface

* Add RoleMapping component

- Also removing redundant export of interface from AppLogic

* Add RoleMappingsRouter

ROLE_MAPPINGS_TITLE was moved to a shared constant in an earlier PR

# Conflicts:
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/index.ts

* Add route and update link in navigation

* Remove unused translations

* Change casing

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Change casing

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Change casing

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Add ability test

* Refactor conditional constants

* Refactor role type constants

* Remove EuiPageContent

* Refactor action mocks

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 15:18:11 -04:00
Jen Huang d886979e3b
[Fleet] Remove upgradePackage and consolidate it with installPackage, optimize calls to create index patterns (#94490)
* Add data plugin to server app context

* First attempt at switching to indexPatternService for EPM index pattern creation & deletion, instead of interacting directly with index pattern SOs

* Simplify bulk install package, remove upgradePackage() method in favor of consolidating with installPackage(), use installPackage() for bulk install instead

* Update tests

* Change cache logging of objects to trace level

* Install index patterns as a post-package installation operation, for bulk package installation, install index pattern only if one or more packages are actually new installs, add debug logging

* Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true

* Allow `getFieldsForWildcard` to return fields saved on index pattern when allowNoIndices is true

* Bring back passing custom ID for index pattern SO

* Fix tests

* Revert "Merge branch 'index-pattern/allow-no-index' into epm/missing-index-patterns"

This reverts commit 8e712e9c00, reversing
changes made to af0fb0eaa8.

* Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true

(cherry picked from commit 69b93da180)

* Update API docs

* Run post-install ops for install by upload too

* Remove allowedInstallTypes param

* Adjust force install conditions

* Revert "Update API docs"

This reverts commit b9770fdc56.

* Revert "Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true"

This reverts commit afc91ce32f.

* Go back to using SO client for index patterns :(

* Stringify attributes again for SO client saving

* Fix condition for reinstall same pkg version

* Remove unused type

* Adjust comment

* Update snapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 11:34:20 -07:00
Phillip Burch dc1f7d51d4
[Metrics UI] Add anomalies table to flyout (#90305)
* Add anomalies table to flyout

* Fix type

* Update i18n

* use anomalyThreshold from configuration

* use EuiBasicTable and format date

* add actions menu

* update text

* change host/k8s toggle to EuiComboBox

* add open in inventory to actions

* add search functionality back

* debounce api call

* loading messaging

* change types, cleanup

* query with partition field instead of influencers to prevent long query ES server errors

* show text when no jobs enabled

* adjust date

* close flyout after clicking show in inventory

* fix callout

Co-authored-by: neptunian <sandra.gonzales@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 14:14:05 -04:00
Jason Stoltzfus 97a03479e3
[App Search] Fix Relevance Tuning bugs (#95069) 2021-03-23 13:37:17 -04:00
Xavier Mouligneau 8a42049acb
[SECURITY SOLUTIONS] Bug top-n alerts (#94920)
* Associate timeline filter/query/dataprovider to top-n for alerts events

* fix pinned view when opening details panel

* fix top-n to bring the right raw/all indices

* review + do not add filter/query/dataprovider on Correlation/Pinned tab for topN

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 13:36:46 -04:00
Cauê Marcondes 134959d224
[APM] The Observability Getting Started page infinitely redirects, breaking browser's back button (#95083)
* fixing browser back button

* fixing test
2021-03-23 12:42:36 -04:00
Joe Reuter b2433cdcd9
[Lens] Telemetry: Add missing operations (#95040) 2021-03-23 17:33:06 +01:00
Larry Gregory a158f9d771
Remove duplicative RBAC tests (#95162) 2021-03-23 12:00:21 -04:00
Nicolas Chaulet 76b55207f7
[Fleet] Fix agent status count (#95099) 2021-03-23 11:24:25 -04:00
John Schulz c0c5fba4b0
[Fleet] Support force flag in bulk upgrade agents API (#94952)
## Summary

0cbbb41da2 is just a rearrangement of the tests.  5cad301e87 has the real changes: 
* Bug fix: `force: true` should bypass any restrictions re: managed policies
* Refactoring towards new response shape coming as part of https://github.com/elastic/kibana/issues/90437
* Added test to confirm new behavior


### Checklist
- [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
2021-03-23 11:22:03 -04:00
James Rucker f3b71bce2a
Change the type of content source errorReason to match ent-search (#95098)
A recent refactor of content source jobs models unintentionally
changed this API. This change restores the functionality of the
re-authentication "Fix" link.
2021-03-23 08:04:22 -07:00
Larry Gregory 61db3f3cac
Only check required fields for the default space (#95147) 2021-03-23 10:45:59 -04:00
Byron Hulcher 4dec429fc9
Use string values for EngineTypes instead of int (#94823)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 10:09:11 -04:00
Nathan L Smith 5e31f91614
Alerts and cases page components for observability plugin (#93365)
Create components for the alerts and cases pages. This only contains basic empty components and stories for them.
2021-03-23 07:57:56 -05:00
Alejandro Fernández Haro 1e6a024c4d
[Monitoring] Bulk Uploader uses new ES client (#94908)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 08:31:02 -04:00
Nathan Reese 71466b2dd0
[Maps] fix tooltips with timestamp appear as epoch (#95106)
* [Maps] fix tooltips with timestamp appear as epoch

* request dates as strict_date_optional_time for tooltips
2021-03-23 06:27:41 -06:00
Dario Gieselaar bfe6c5186c
[APM] Fix TypeScript optimization script (#95137) 2021-03-23 11:20:21 +01:00