Commit graph

19489 commits

Author SHA1 Message Date
Christiane (Tina) Heiligers
22d07ed3d4
Removes deprecated telemetry.url and telemetry.optInStatusUrl from telemetry plugin config (#114737)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-15 14:26:43 -04:00
Tiago Costa
47ce4a80a6
Revert "fix(NA): creation of multiple processes on production by splitting no_transpilation when setting up node env (#114940)"
This reverts commit 5fcc118913.
2021-10-15 19:12:51 +01:00
Tiago Costa
5fcc118913
fix(NA): creation of multiple processes on production by splitting no_transpilation when setting up node env (#114940)
* fix(NA): adds no_transpilation_dist to avoid preserve_symlinks on dist

* chore(NA): setup node env correctly on functional tests

* chore(NA): try to fix tests

* chore(NA): correctly separate split

* chore(NA): check ensure preserve symlinks need

* chore(NA): investigate path resolve result

* chore(NA): investigate path resolve result #2

* chore(NA): comment out preserve symlinks

* chore(NA): apply fs.realpathSync into the calculated REPO_ROOT paths on babel_register_for_test_plugins

* chore(NA): removes debug code

* chore(NA): move array definition

* chore(NA): correctly import fs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-15 18:06:05 +01:00
Corey Robertson
cba83335ef
[Dashboard] Use SavedObjectResolve (#111040)
* Switch Dashboard to use savedobjects.resolve when loading

* Don't use LegacyURI Redirect if in screenshot mode

* Pass query string on redirects

* Remove unused import

* Fix carrying query params through redirect

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-15 11:17:54 -04:00
Sébastien Loix
d009e54199
[Runtime field editor] Fix preview error when not enough privileges (#115070) 2021-10-15 16:06:59 +01:00
Alexey Antonov
aee7df992f
[Discover] Step 4- Removing SavedObject usage for savedSearch (#114790)
* [Discover] Step 4- Removing SavedObject usage for savedSearch

Closes: #105810

* fix apis

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-15 17:25:31 +03:00
Alexey Antonov
50e4ae7179
Move angular related parts from kibana_legacy to monitoring (#114977)
* Move angular related parts from kibana_legacy to monitoring

Closes: #114977

* remove private

* move format angular http error into monitoring

* fix translations
2021-10-15 17:02:23 +03:00
Pete Hampton
7daf707cb9
Updates security data example to external documentation (#114973)
* initial commit.

* Remove reverse dependency on security solution presence.

* Update translations.

* remove unneeded interface.

* Remove stray type.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-15 14:56:02 +01:00
Joe Portner
56cb5174aa
Fix saved objects client upsert functionality (#114929) 2021-10-15 08:11:19 -04:00
Anton Dosov
21760d4832
Improve CodeEditor wrapper (#114500) 2021-10-15 12:47:18 +02:00
Pierre Gayvallet
81ba068853
Add deprecation.skip_deprecated_settings config setting (#114751)
* Add `deprecation.skip_deprecated_settings` config setting

* fix deprecation from service

* fix existing config deprecations

* fix kbn-config unit tests

* adapt deprecation types

* fix more deprecations

* add filtering and adapt unit tests

* add service unit tests

* update generated doc

* fix telemetry unit tests

* address review comments

* add missing deprecation titles
2021-10-15 12:11:21 +02:00
Matthew Kime
a935f6b723
[data views] DataViewBase now requires a title (#115082)
* dataViewBase now requires a title
2021-10-15 05:06:47 -05:00
Ahmad Bamieh
d19510535a
[i18n] remove angular i18n and move the remains to monitoring plugin (#115003) 2021-10-15 12:09:19 +03:00
Alexey Antonov
0fa440abad
[Vega] Replacing the 'interval' property should only happen for the date_histogram aggregation (#115001) 2021-10-15 12:01:42 +03:00
Vadim Yakhin
8db36d9f4a
[Fleet, Workplace Search] Add Workplace Search connectors as non-Fleet integrations (#114919)
* Add icons

* Add new categories

* Add Workplace Search connectors to the unified integrations view

* Add a new enterprise_search shipper

* Update number of custom integrations in test

* Change customIntegrations type to optional

* Revert "Update number of custom integrations in test"

This reverts commit 30214b2c7c.

The reason is that while this test passes with 2 separate commands for
functional test runner, it fails when it is run with a single command.

Reverting to make the CI pass. We will look into this test separately.
I will link the investigation issue in the PR.
2021-10-14 18:36:56 -04:00
Aleh Zasypkin
025861c189
Add API integration tests for Interactive Setup. (#111879) 2021-10-14 20:14:01 +02:00
Maja Grubic
45a0032e73
[Discover] Persist hide chart option to local storage (#114534)
* Persist hide chart to local storage

* [Discover] Persist hide chart option to local storage

* Fix state

* Fix dependency check

* Set chart state to undefined

* Update unit test

* Do not override saved search preferences

* Fix missing import

* Add a functional test

* Add a functional test

* Fix functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-14 19:21:57 +02:00
Clint Andrew Hall
864e6f1a74
[fleet] Adjust unified integration view to have better UI controls (#114692)
* [fleet] Adjust Package Cards to horizontal layout

* Fix responsive shifting

* Addressing feedback

* cleanup layout for integrations view

* i18n

* Fix type errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-10-14 10:18:01 -04:00
Maja Grubic
586682a0c4
[Discover] Rename default column in the advanced settings (#114100)
* [Discover] Rename default column in the advanced settings

* Fix eslint

* Rename default column to an empty string

* Fix typo

* Fix default column filtering

* Update comment

* Make an empty array a default columns

* Improve functional test

* Wording change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-14 15:49:35 +02:00
Thomas Neirynck
f52c718f11
fix cloudwatch category assignmet (#114928) 2021-10-14 09:07:22 -04:00
Tim Roes
b21e1ebf38
Deprecate DataView.flattenHit in favor of data plugin flattenHit (#114517)
* WIP replacing indexPattern.flattenHit by tabify

* Fix jest tests

* Read metaFields from index pattern

* Remove old test code

* remove unnecessary changes

* Remove flattenHitWrapper APIs

* Fix imports

* Fix missing metaFields

* Add all meta fields to allowlist

* Improve inline comments

* Move flattenHit test to new implementation

* Add deprecation comment to implementation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-14 14:43:06 +02:00
Tyler Smalley
5647de3b4a
[ci] Fixes Bazel cache writes (#114915)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-14 02:18:06 +01:00
Devon Thomson
f8cbbbb99f
[Controls] Redux Toolkit and Embeddable Redux Wrapper (#114371)
Use new redux wrapper for control group management and upgrade all control group methods to use redux wrapper. Get order of controls from embeddable input, set up preconfigured story.

Co-authored-by: andreadelrio <delrio.andre@gmail.com>
2021-10-13 20:11:53 -04:00
Oliver Gupte
e5576d688d
[APM] Fixes incorrect index config names (#114901) (#114904) 2021-10-14 00:46:04 +02:00
Nick Peihl
d822d6dc32
Update kibana to EMS 7.16 (#114865)
* Update kibana to EMS 7.16

* Update license override
2021-10-13 13:45:53 -07:00
Clint Andrew Hall
6d5354a99d
[fleet][integrations] Provide Deployment Details on Cloud (#114287)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 13:50:20 -04:00
Tyler Smalley
9f07f71500
[build] Ironbank template updates (#114749)
* [build] Ironbank template updates

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Use placeholder

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-13 09:06:52 -07:00
Spencer
6c5dd08712
[ts] Check .d.ts files for all projects in typeCheck (#114295)
* enable --skip-lib-check for all projects in typeCheck and fix existing issues

* fix graph types

* transpile TS to ES2019, but not all the way back to es5

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 10:45:27 -05:00
Alexey Antonov
ade369d189
[Visualizations] fix usage of optional dependencies (#114286)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 09:55:25 -04:00
Clint Andrew Hall
8068eecbde
[fleet] Add Integration Preference selector (#114432) 2021-10-13 15:17:49 +02:00
Anton Dosov
2afb43b869
Replace EuiCodeEditor with CodeEditor in app-services code (#114316)
* code editor scripted fields

* filter_editor

* embeddable example

* clean

* update tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 14:52:48 +02:00
Matthew Kime
708f06fc15
[data views] add getDefaultDataView method (#113891)
* add new method to data views api

* add tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 07:15:26 -05:00
Clint Andrew Hall
db4bcdee2c
[fleet] Tweak Header UI (#114704) 2021-10-13 11:48:20 +02:00
Alexey Antonov
d9ef453b26
[Discover] Removing SavedObject usage for savedSearch (#112983)
* [Discover] Step 2 - remove SavedObjectLoader

* Fix PR comments

* fix test names

* fix ts error

* add handling of missed 'so'

* add Embeddable error

* fix jest

* add DiscoverError component

* fix Joe comments

* add search params

* add throwErrorOnUrlConflict util method

* add error handling into transform plugin

* do some updates

* add spaces into visualize, visualizations

* fix Tim's comment

* pass false into createGetterSetter for getSpaces

* Fix comments

* Fix lint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2021-10-13 11:31:04 +03:00
Oliver Gupte
3d75154368
[APM] Removes the apm_oss plugin and deprecates related configs (#113364)
* [APM] Removes the apm_oss plugin and deprecates related configs (#108160)

* removes commented lines

* fixes typescript errors

* performs start up migration on the saved objects mapping for apm-indices

* removes all references to the deprecated apm_oss.* config paths in APM

* fixes missing bundle error

* fixes type error

* fixes eslint error with disabled rules

* fixes saved object mappings for es_archvices for tests

* fixes eslint error

* Updates default index values to include the more general apm-*. Fixes broken tests.

* removing unused configs from the config path migration: apm_oss.indexPattern and apm_oss.fleetMode

* - replaces full index configuration paths with references in the `xpack.apm.indices` namespace
- removes mergeConfig function and test

* fixes proxy mock object in unit test

* fixes linting issues

* PR feedback and failed test

* changes the configs at `xpack.apm.indices.*` from plural to singular to match `processor.event` values
2021-10-13 03:16:21 -04:00
Tyler Smalley
e7ce0616b6 skip flaky suite (#113697) 2021-10-12 21:45:58 -07:00
Lukas Olson
a070aafe93
Deprecate search:includeFrozen parameter (#114578) 2021-10-12 15:35:49 -07:00
Bree Hall
a51545ecc3
Bumping EUI to 39.0.0 (#113633)
* Upgraded the version of EUI to 38.2.0 from 38.0.1

* Updated the i18n mappings required for EUI v.38.2.0

* Update i18n snapshots and resolve linting error

* Removed html_id_generator mocks.

Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains an mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts

* Resolve linting error in i18n mapping file

* Removed html_id_generator mocks.

Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains a mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts

* Update plugin snapshots

* Resolve merge conflict in license_checker config.ts file

* Upgrade EUI to version 39.0.0 from the original target (38.2.0) to handle an issue found with a functional test during the original upgrade

* Updated the i18n mapping for EUI v.39.0.0

* Update various snapshots to account for the an i18n translation token addition in EUI v. 39.0.0

* Updated test cases marked as obsolete by CI

* Update src/dev/license_checker/config.ts

Removing TODO comments from src/dev/license_checker/config.ts as they are no longer needed.

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-10-12 17:11:04 -04:00
Thomas Neirynck
1afac0ffbb
[Fleet] Have EPR register new categories / Show category counts (#114429) 2021-10-12 16:13:58 -04:00
Caroline Horn
852634590d
[Design] Tutorial views cleanup (#114186)
* Move copy function to `isCopyable` on EuiCodeBlock
* Using EuiMarkdownFormat for Content
* Using KibanaPageTemplate for not found page
* Using KibanaPageTemplate for tutorial page and splitting into more panels
* Better spacing inside instruction_set
* Rendering Introduction as a EuiPageHeader
* Changed module notice “NOTE” to icon
* Moving tabs to the first set of content in an instructions set; Using EuiSplitPanel
* Changed fields button to a simple link
* Changed button group to wide, text colored, left-aligned set
2021-10-12 15:20:20 -04:00
Catherine Liu
16c049a2d9
[Canvas] Toolbar UI Updates (#113329) 2021-10-12 11:53:40 -07:00
Candace Park
d50ec56ed1
[Security Solution][Endpoint][TA] Trusted Apps license downgrade experience (#113048) 2021-10-12 14:47:00 -04:00
Vadim Kibana
6a55f87da0
Connect locator persistable state to Short URLs (#114397) 2021-10-12 20:25:08 +02:00
Marco Liberati
ba8abc4151
[Vega] Improve error message in case of invalid $schema URL (#114459)
* 🐛 Catch the schema parser and provide a better error message

* 🌐 Add i18n
2021-10-12 16:58:37 +02:00
Marco Vettorello
ff1b014c7b
Update dependency @elastic/charts to v37 (master) (#113968) 2021-10-12 16:36:18 +02:00
Christiane (Tina) Heiligers
bc96e408c9
Changes rewriteBasePath core config deprecation level to warning (#114566)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 07:02:03 -07:00
Anton Dosov
c3f1e0de54
[FieldFormats] Remove SerializedFieldFormat copy from expressions plugin (#114245) 2021-10-12 14:35:45 +02:00
Matthias Wilhelm
e1133e11ac
[Discover] Improve context code (#114284) 2021-10-12 14:35:14 +02:00
Jean-Louis Leysens
a0d36e7a69
[Discover/Reporting] Fix potential time drift with relative time when requesting a report (#114274)
* updated Discover getSharingData to accept flag for absolute time

* update snapshots

* simplify fallback title

* more appropriate title?

* remove old translations

* implement PR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 11:24:55 +02:00
Clint Andrew Hall
243c2133af
[nit][pre-req] Strongly-type Shipper and Category (#114412) 2021-10-11 22:35:00 -04:00