Commit graph

1934 commits

Author SHA1 Message Date
Kibana Machine
3486087ea9
Upgrade set-value to 4.1.0 (#111988) (#112071)
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-09-14 09:26:14 -04:00
Kibana Machine
f12b010ab9
[Usage collection] refactor cloud detector collector (#110439) (#111898)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-09-10 17:56:37 -04:00
Uladzislau Lasitsa
7c49a2d7b7
[7.x] Timelion App removal (#110255) (#111851)
* Timelion App removal (#110255)

* Remove timelion app and stuff which related to it

* Fix CI

* Fix lint

* Fix tests

* Fix tests

* Fis tests

* Fix some comments

* Clean up

* fix CI

* fix some comments

* Fix deprecation examples

* Return `enabled` property in config for timelion vis

* Remove unused angular lib

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

* Fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-09-10 15:57:40 -04:00
Kibana Machine
07ef0b85ec
[Maps] implemention of usng support fixing #76144 (#107835) (#111807)
* implemention of usng support fixing #76144

* linting fixes

* lint fixes

* pr code edits

* fixed utm zone and added error proofing

* removing any data types and replacing with explicit ones

* avoiding render of unused components

* fixing linting issues

Co-authored-by: Michael Ihde <mihde@spectric.com>

Co-authored-by: Michael Kellogg <mkellogg91@gmail.com>
Co-authored-by: Michael Ihde <mihde@spectric.com>
2021-09-09 20:06:57 -04:00
Greg Thompson
77a26dacd1
Upgrade EUI to v37.6.0 (#110998) (#111799)
* eui to 37.6.0

* update snapshots

* grid cell text

* update snapshot

* Revert "grid cell text"

This reverts commit 1721e83939.

* grid cell text

* update tsvb baseline

* update area_chart baseline

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 18:16:16 -04:00
Kibana Machine
e2a34e332d
Bump tar to 6.1.11 (#111602) (#111795)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-09 22:00:57 +00:00
Kibana Machine
1c1bcdf496
Remove unused dependencies (#109279) (#111738)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-09 17:22:51 +00:00
Kibana Machine
10c671bf9a
Bump geckodriver to 2.0.4 (#111605) (#111661)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-08 20:40:36 -04:00
Kibana Machine
effc87beff
[Osquery] Fix support for disabled security (#110547) (#111250)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-09-06 05:34:36 -04:00
Kibana Machine
2ee5e66b26
[7.x] [eslint] prevent async Promise constructor mistakes (#110349) (#110727)
* [eslint] prevent async Promise constructor mistakes (#110349)

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

* autofix one more violation

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-01 21:18:23 -04:00
Kibana Machine
8602f4fbaa
Upgrade EUI to v37.3.1 (#109926) (#110833)
* Upgrade EUI to v37.3.1

* Update i18n token mappings

* Skip i18n_eui_mapping defString checks for functions

* Update snapshots

* Update failing Security tests with extra nodes

* Remove hook cleanup now that elastic/eui#5068 is merged

* [i18n PR feedback] Prefer specific token skipping over all functions skipping

* Revert "Remove hook cleanup now that elastic/eui#5068 is merged"

This reverts commit e40ebfa929.

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

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-09-01 14:08:10 -04:00
Kibana Machine
9a5c27002d
Bump Node.js from version 14.17.5 to 14.17.6 (#110654) (#110756)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-09-01 05:18:05 -04:00
Kibana Machine
2db1a1446d
Bump re2 to 1.16.0 (#110489) (#110565)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-08-31 01:27:30 -04:00
Kibana Machine
d41c9aea0d
add script to update VSCode config with proper excludes (#110161) (#110554)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-30 22:04:55 -04:00
Kibana Machine
d92391df74
Bump node-sass to 6.0.1 (#109930) (#110543)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-08-30 20:01:09 -04:00
Thomas Neirynck
348c5a25a8
[Maps] Replace mapbox-gl import with MapLibre (#104505) (#110502)
* replace import

* fix import

* upgrade

* Update packages/kbn-mapbox-gl/BUILD.bazel

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

* Update package.json

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

* commit yarn lock

* yarn lock

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-30 14:26:11 -04:00
renovate[bot]
e627bb80ea
Update dependency @elastic/elasticsearch to ^7.16.0-canary.2 (#110420)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 09:56:11 -04:00
Kibana Machine
fd7c14d286
[Cases] Fix add Lens markdown plugin UX (#109178) (#110320)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-08-26 21:20:54 +00:00
Aleh Zasypkin
7a42967d73
Do not use outdated request package in tests. (#109225) (#110249)
# Conflicts:
#	yarn.lock
2021-08-26 12:58:27 -04:00
Kibana Machine
b82c629c6c
[Osquery] Fix scheduled query status (#106600) (#110160)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-08-25 21:10:05 -04:00
Tiago Costa
bdd059e150
chore(NA): enables @babel/plugin-transform-runtime to decrease output size (#109843) (#110157)
* chore(NA): enables @babel/plugin-transform-runtime to decrease output size

* chore(NA): update @kbn/pm bundle

* chore(NA): missing config on corejs for runtime

* fix(NA): flaky unit test

* chore(NA): update limits file

* chore(NA): remove corejs

* chore(NA): old config files

* chore(NA): update limmits file

* chore(NA): updated yarn lock file

* chore(NA): update limits

* chore(NA): restore original test file

* chore(NA): skip flaky test

* chore(NA): skip another failing test
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-08-25 20:34:56 -04:00
Kibana Machine
bc8bbd9580
Update dependency @elastic/charts to v34.2.1 (master) (#109678) (#110134)
* Update dependency @elastic/charts to v34.2.1


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>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-08-25 17:57:17 -04:00
Kibana Machine
5280e3523d
Open in dev tools button for request inspector (#109923) (#110123)
Add a "Open in Dev Tools" link to the request inspector.

Allow the dev tools to open data uris that are lz-string encoded (the same method used by TypeScript Playground, which are a lot shorter than a base64 encoded string.)

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-08-25 17:06:29 -04:00
Jonathan Budzenski
a36bab718d
[7.x] Bump lmdb-store to 1.6.6 (#109939) (#110078) 2021-08-25 13:11:40 -04:00
Kibana Machine
abcf965ac3
Bump apm agent versions (#109877) (#110014)
* bump nodejs agent version

* bump APM RUM agent version

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-08-25 07:14:58 -04:00
Kibana Machine
9af96a8009
[Enterprise Search] Set up cypress-axe tests (#108465) (#109920)
* Set up cypress-axe

@see https://github.com/component-driven/cypress-axe

* DRY out Kibana axe rules into constants that Cypress can use

* Create shared & configured checkA11y command

+ fix string union type error
+ remove unnecessary tsconfig exclude

* Add Overview plugin a11y tests

* Add AS & WS placeholder a11y checks

- Mostly just re-exporting the shared command and checking for failures, I only ran this after the shared axe config settings and found no failures

* Configure our axe settings further to catch best practices

- notably heading level issues (thanks Byron for catching this!)

- however I now also need to set an ignore on a duplicate landmark violation caused by the global header (not sure why it's showing up - shouldn't it be out of context? bah)

- remove option to pass args into checkA11y - I figure it's not super likely we'll need to override axe settings per-page (vs not running it), but we can pass it custom configs or args later if needed

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

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-08-24 21:28:49 +00:00
Kibana Machine
f57fa6da17
[ML] Update API docs generation script to comply with new docs format (#109343) (#109781)
* [ML] update deps

* [ML] fix script

* [ML] add header

* [ML] generate header

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2021-08-24 06:21:39 -04:00
Greg Thompson
5e5c7c3de5
[7.x] Upgrade EUI to v37.3.0 (#109157) (#109691)
* Upgrade EUI to v37.3.0 (#109157)

* eui to 37.3.0

* i18n tokens

* reinstate discover_grid_flyout test

* more i18n tokens

* snapshot updates

* fix jest failures

* update cell position pattern

* clean up pattern

* buttongroup click -> change

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

* fix bad merge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 15:53:08 -04:00
Alejandro Fernández Haro
a02b258fbf
[7.x] Update dependency @elastic/elasticsearch to ^7.16.0-canary.1 (#109535) 2021-08-20 16:42:25 -04:00
Kibana Machine
c9c53262f0
fix(heatmap): remove duplicate legend items (#109338) (#109489)
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-08-20 13:31:15 -04:00
Kibana Machine
d178a2163a
Use https in package.json links (#109241) (#109257)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-08-19 13:06:37 -04:00
Kibana Machine
4445dd7c90
[Security Solution] - Updating UI to work with new kibana privileges abstraction on alerts (#108961) (#109156)
## Summary

Holy moly. 

What is happening in this PR? 🤷🏽‍♀️ Let's break it down:
- Added a package `@kbn/alerts` - another one?! ...yes
  - This is meant to add shared hooks and components around alerts as data
  - `useGetUserAlertsPermissions` - accepts the Kibana capabilities object and returns whether the user has `read` and `crud` alerts privileges
  - `AlertsFeatureNoPermissions` - component displayed when user does not have alerts privileges
- UI changes for user with NO alerts privileges
  - `Alerts` tab hidden in security solution side navigation
  - `Alerts` tab hidden in rule details page  
- UI changes for user with alerts READ ONLY privileges
  - alerts checkboxes hidden in alerts table
  - alerts bulk actions hidden in alerts table

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2021-08-18 17:19:37 -04:00
Mikhail Shustov
9f78d17e8f
[Elasticsearch] remove legacy es client (#107619) (#109144)
* remove legacy es client

* update docs

* uninstall elasticsearch package

* fix global_search tests

* ad-hoc fix to address bazel failure. authored by Tiago

* update docs

* remove elasticsearch import. errors are muted with @ts-ignore

* Update WORKSPACE.bazel

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

* update docs

* fix problem when dev mock already mocked client

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
# Conflicts:
#	src/core/server/elasticsearch/legacy/scoped_cluster_client.test.ts
2021-08-18 15:41:25 -04:00
Tiago Costa
7b07a2a6fe
chore(NA): bump version to 7.16.0 (#109126)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 14:59:40 -04:00
Patryk Kopyciński
a69287ff58
[Cases] Add Lens markdown plugin (#96703) (#109071)
# Conflicts:
#	x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.test.tsx
#	x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.tsx
#	x-pack/plugins/observability/public/plugin.ts
2021-08-18 13:27:47 -04:00
Stratoula Kalafateli
dabd88c093
Update dependency @elastic/charts to v34 (master) (#108766) (#109046)
* Update dependency @elastic/charts to v34
* tentative fix for heatmap legend items, to be fixed in patch before `7.15`

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
# Conflicts:
#	package.json
#	yarn.lock

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 18:38:22 +03:00
Mikhail Shustov
dd33a5558e
[7.x] Update dependency @elastic/elasticsearch to ^7.15.0-canary.3 (#107536) (#108890)
* Update dependency @elastic/elasticsearch to ^8.0.0-canary.17 (#107536)

* Update dependency @elastic/elasticsearch to ^8.0.0-canary.15

* update tests for new error message building mechanism

* fix integration tests

* fix functional test

* mute new type errors

* fix new type errors

* bump es client to canaary.16

* fix integration test

* fix type errors in infra plugin

* mute type error in ml plugin

* fix type errors in monitoring plugin

* fix and mute errors in security solution plugin

* bump version to canary.18

* remove an unnecessary change

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: restrry <restrry@gmail.com>

* bump to canry3

* fix another conflict

* fix another conflict in test file

* fix test. use assetion against stable parts

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 14:14:50 -04:00
Dzmitry Lemechko
2211dd921b
bumping chromedriver dep up to 92.0.1 (#108849) (#108931) 2021-08-17 13:44:36 -04:00
Kibana Machine
c9b6ce5abf
Removes supertest-as-promised dependency (#100486) (#108817)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-08-17 03:30:08 +00:00
Nick Peihl
cdc82fb7c0
[7.x] Use Elastic Maps Service 7.15 (#108751) (#108795)
* [Maps] Update to EMS v7.13 (#97732)

* Update to EMS 7.13

* Fix topojson typings

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

* fix yarn.lock

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-16 20:55:39 -04:00
Greg Thompson
dcdf872e15
Upgrade EUI to v37.1.1 (#108210) (#108740)
* eui to 37.1.0

* i18n tokens

* license checker

* disabled prop

* i18n shapshot

* date title snapshots

* date title formatting

* date title formatting

* Revert "disabled prop"

This reverts commit 68a48c4352.

* date title formatting

* eui to 37.2.0

* trial: outsideClickCloses

* Revert "trial: outsideClickCloses"

This reverts commit 4da2299e4f.

* eui to 37.1.1

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-16 15:46:04 -04:00
Kibana Machine
9cedaefa01
[Osquery] Add ECS mapping editor (#107706) (#108641)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-08-15 22:53:30 -04:00
CJ Cenizal
d687417bc1
Add EuiCodeEditor to ES UI Shared. (#108318) (#108617)
* Export EuiCodeEditor from es_ui_shared and consume it in Grok Debugger. Remove warning from EuiCodeEditor.
* Lazy-load code editor so it doesn't bloat the EsUiShared plugin bundle.
* Refactor mocks into a shared jest_mock.tsx file.
2021-08-13 22:14:31 -04:00
Kibana Machine
d4922e2354
chore(NA): upgrades bazel rules nodejs into v3.8.0 (#108471) (#108545)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-13 12:50:43 -04:00
Kibana Machine
4272b03534
Bump Node.js from version 14.17.3 to 14.17.5. (#108324) (#108489)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2021-08-13 09:13:19 -04:00
Kibana Machine
32ebd0af7b
[Data cleanup] unify serializable state (#107745) (#108020)
* Use Serializable from package

* Rename to align with core

* fix

* more replacements

* docssss

* fix

* Move it to @kbn/utility-types and remove core export

* buildy build

* tests

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

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-08-10 13:33:44 +00:00
Kibana Machine
3222a50eba
Update dependency @elastic/charts to v33.2.0 (master) (#107842) (#107845)
* Update dependency @elastic/charts to v33.2.0

* update jest snapshot

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
2021-08-06 22:27:06 -04:00
Alejandro Fernández Haro
209b062454
[7.x] Disable Product check in @elastic/elasticsearch-js (#107642) (#107825)
* Disable Product check in @elastic/elasticsearch-js (#107642)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	package.json
#	yarn.lock

* Bump @elastic/elasticsearch-js version
2021-08-06 06:56:56 -04:00
Chandler Prall
3f60e39569
Upgrade EUI to v36.1.0 (#107231) (#107799)
* Upgrade eui to v36.1.0

* Jest snapshots

* More jest snapshots; one test assertion update

* Bump core page load limit

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-08-05 17:31:03 -04:00
Kibana Machine
54f986ca0c
Removes unused @babel/plugin-transform-modules-commonjs dependency (#107250) (#107707)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

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

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-08-04 21:17:35 -04:00