Commit graph

41760 commits

Author SHA1 Message Date
Matthew Kime
65deb5a46b
Index pattern scripted field / runtime field usage collection (#95366)
* add index pattern telemetry
2021-03-31 17:02:42 -05:00
Lisa Cawley
e285c7c214
[DOCS] Adds deprecation admonitions (#95847) 2021-03-31 14:36:48 -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
Spencer
1f5ee4c869
[ci-stats] move ui-shared-deps metrics to page load assets group (#95957)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-31 14:03:22 -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
Adam Locke
3eb0996920
[DOCS] Add deprecation message for scripted fields (#95964)
* [DOCS] Add deprecation message for scripted fields

* Change deprecation to full block admonition.
2021-03-31 16:33:21 -04: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
Mikhail Shustov
4c0d09acdc
Move more Kibana packages to UI shared deps (#95894)
* move @kbn/std to kbn-ui-shared-deps

* add @elastic/safer-lodash-set to kbn-ui-shared-deps

* update limits

* Revert "update limits"

This reverts commit f396d4764d.

* decrase limits for Core team owned code
2021-03-31 13:52:05 -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
Jonathan Budzenski
589f49f442
Remove default support for TLS v1.0 and v1.1 (#90511)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 10:04:34 -05: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
renovate[bot]
5b3d88749e
Update dependency @elastic/charts to v26.1.0 (#95582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 16:15:50 +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
Anton Dosov
9dffcc2afa
[Search Sessions] Fix config docs (#95920) 2021-03-31 15:29:06 +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
Peter Pisljar
a62d69d7ec
enabling esdsl function in expressions on server side (#95304) 2021-03-31 13:32:42 +02: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
Alexey Antonov
ede6b4fd64
[TSVB] metrics:max_buckets setting should limit buckets on server side too. (#95639)
* tmp

* [TSVB] Remove metrics:max_buckets setting because it is redundant to histogram:maxBars

Closes: #94212

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 12:14:56 +03: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
Spencer
c35ef75dbb
[cli-dev-mode] complete shutdown once devServer stops gracefully (#95822)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 15:57:10 -07:00
Tyler Smalley
46c93b16bb
[Github] Add automation for needs-team label (#95728)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-03-30 15:51:23 -07:00
Spencer
2010f4eba1
[cli-dev-mode/optimizer] omit pageLoadAssetSizeLimit from cache (#95826)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-30 18:08:12 -04: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
Kaarina Tungseth
6ee85e8835
[DOCS] Adds release-note:feature label (#91734)
* [DOCS] Adds release-note:feature label

* Update docs/developer/contributing/index.asciidoc

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

* Update docs/developer/contributing/index.asciidoc

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

* Update docs/developer/contributing/index.asciidoc

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

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-03-30 15:33:45 -05: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
Devon Thomson
738425932f
added submit to customize panel modal so that enter button works (#95704) 2021-03-30 14:26:03 -04:00