Commit graph

2021 commits

Author SHA1 Message Date
Ahmad Bamieh
13560c01fc
[Usage collection] refactor cloud detector collector (#110439) 2021-09-10 15:42:24 -04:00
Uladzislau Lasitsa
70090e326c
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>
2021-09-10 14:53:07 +03:00
Michael Kellogg
5acd1326c7
[Maps] implemention of usng support fixing #76144 (#107835)
* 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>
2021-09-09 14:52:19 -07:00
Greg Thompson
6803fb362a
Upgrade EUI to v37.6.0 (#110998)
* 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>
2021-09-09 14:54:30 -05:00
Jonathan Budzenski
914fa092c0
Bump tar to 6.1.11 (#111602)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 14:46:11 -05:00
Jonathan Budzenski
13f948d6d1
Remove unused dependencies (#109279)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 10:11:23 -05:00
Jonathan Budzenski
543a7cbd7d
Bump geckodriver to 2.0.4 (#111605) 2021-09-08 17:30:23 -05:00
Patryk Kopyciński
4416a31aa7
[Osquery] Fix support for disabled security (#110547) 2021-09-06 10:10:04 +03:00
Constance
47b86e1bf7
Upgrade EUI to v37.3.1 (#109926)
* 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>
2021-09-01 08:39:20 -07:00
Thomas Watson
29b45883be
Bump Node.js from version 14.17.5 to 14.17.6 (#110654) 2021-09-01 08:50:50 +02:00
Spencer
72f6700270
[eslint] prevent async Promise constructor mistakes (#110349)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-31 17:54:13 -04:00
Jonathan Budzenski
ed7beee634
Bump re2 to 1.16.0 (#110489) 2021-08-30 23:05:34 -04:00
Spencer
1500534a51
add script to update VSCode config with proper excludes (#110161)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 16:43:28 -07:00
Jonathan Budzenski
88f955621d
Bump node-sass to 6.0.1 (#109930) 2021-08-30 16:42:06 -05:00
Nathan Reese
9e1a4dda42
[Maps] remove map.regionmap.* (#109896)
* remove regionmap config

* clean-up

* clean up docs and i18n cleanup

* telemetry check fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 12:55:03 -06:00
Thomas Neirynck
ffc45c3cab
[Maps] Replace mapbox-gl import with MapLibre (#104505)
* 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>
2021-08-30 11:28:13 -04:00
renovate[bot]
ac8b129141
Update dependency @elastic/elasticsearch to ^8.0.0-canary.19 (#110419)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 09:56:56 -04:00
Patryk Kopyciński
f310490bc1
[Cases] Fix add Lens markdown plugin UX (#109178) 2021-08-26 14:56:45 -04:00
Patryk Kopyciński
90152edeaa
[Osquery] Fix scheduled query status (#106600) 2021-08-25 18:46:31 -04:00
Tiago Costa
36eaf7fd58
chore(NA): enables @babel/plugin-transform-runtime to decrease output size (#109843)
* 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
2021-08-25 22:24:38 +01:00
renovate[bot]
9eaadd9041
Update dependency @elastic/charts to v34.2.1 (master) (#109678)
* 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>
2021-08-25 15:34:06 -04:00
Nathan L Smith
406df4d986
Open in dev tools button for request inspector (#109923)
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.)
2021-08-25 12:49:13 -05:00
Jonathan Budzenski
b258eb3309
Bump lmdb-store to 1.6.6 (#109939) 2021-08-25 09:34:22 -05:00
Mikhail Shustov
39fed5e4e9
Bump apm agent versions (#109877)
* bump nodejs agent version

* bump APM RUM agent version
2021-08-25 10:49:01 +02:00
Constance
8dfdeadd40
[Enterprise Search] Set up cypress-axe tests (#108465)
* 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>
2021-08-24 12:05:41 -07:00
Aleh Zasypkin
d37b3659b5
Do not use outdated request package in tests. (#109225) 2021-08-24 16:08:38 +02:00
Dima Arnautov
20529be326
[ML] Update API docs generation script to comply with new docs format (#109343)
* [ML] update deps

* [ML] fix script

* [ML] add header

* [ML] generate header
2021-08-24 10:03:37 +02:00
Greg Thompson
873f2e23a9
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>
2021-08-23 11:12:02 -05:00
renovate[bot]
92ec225cfd
Update dependency @elastic/elasticsearch to ^8.0.0-canary.18 (master) (#109414)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-20 18:39:25 +01:00
Marco Vettorello
958a3ba28a
fix(heatmap): remove duplicate legend items (#109338) 2021-08-20 17:09:22 +02:00
Alejandro Fernández Haro
d522cae193
Use https in package.json links (#109241) 2021-08-19 10:41:31 -04:00
Nathan Reese
dd9dd52718
[maps] remove tile_map, region_map, and maps_legacy plugins (#105326)
* [maps] remove tile_map plugin

* initial bounds

* update embeddable query context

* start editor

* remove tile_map from tsconfig and i18n cleanup

* implement view in maps button

* tslint

* remove empty lines

* remove tileMap from limits.yml

* remove region_map and maps_legacy plugins

* region_map vis with Map embeddable

* make MapComponent

* lint

* clean up

* shorten text

* lint

* remove region_map from interpreter functional tests

* update docs

* add migration for removing ui_settings

* remove tile_map and region_map functional tests

* tslint

* call handlers.done when layers are loaded

* fix visualize create menu test

* eslint

* add owner comment to ui_settings/saved_objects/migrations.ts

* remove deleted plugins from codeowners

* review feedback

* use correct value for TILE_MAP_RENDER

* down select mapModules for getLayerDescriptors callback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 12:51:31 -06:00
Yara Tercero
9fa41d1aef
[Security Solution] - Updating UI to work with new kibana privileges abstraction on alerts (#108961)
## 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
2021-08-18 14:48:31 -04:00
Mikhail Shustov
b53b2cdc35
[Elasticsearch] remove legacy es client (#107619)
* 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>
2021-08-18 19:18:05 +02:00
renovate[bot]
f21115f821
Update dependency @elastic/charts to v34 (master) (#108766)
* 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>
2021-08-17 21:05:23 -05:00
Patryk Kopyciński
754b79f08a
[Cases] Add Lens markdown plugin (#96703) 2021-08-17 15:49:44 -07:00
Dzmitry Lemechko
02817055c0
bumping chromedriver dep up to 92.0.1 (#108849) 2021-08-17 15:05:57 +02:00
renovate[bot]
41162c3940
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>
2021-08-17 08:44:24 -04:00
Tyler Smalley
689d974729
Removes supertest-as-promised dependency (#100486)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-08-16 18:01:34 -07:00
Nick Peihl
ed7c0825b7
Use Elastic Maps Service 7.15 (#108751)
* Bump @elastic/ems-client to 7.15.0

* Also bumps link to ems landing page
2021-08-16 15:00:05 -07:00
Greg Thompson
f26591fd13
Upgrade EUI to v37.1.1 (#108210)
* 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>
2021-08-16 12:15:44 -05:00
Patryk Kopyciński
c347a7e5e5
[Osquery] Add ECS mapping editor (#107706) 2021-08-16 01:17:07 +02:00
CJ Cenizal
bfea4a1c2b
Add EuiCodeEditor to ES UI Shared. (#108318)
* 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 16:49:55 -07:00
Tiago Costa
7dc24e65d6
chore(NA): upgrades bazel rules nodejs into v3.8.0 (#108471) 2021-08-13 15:24:51 +01:00
Aleh Zasypkin
dc1ceefbfd
Bump Node.js from version 14.17.3 to 14.17.5. (#108324) 2021-08-13 09:26:42 +02:00
renovate[bot]
c35215fb0b
Update dependency @elastic/charts to v33.2.2 (#107939) 2021-08-10 16:43:57 -05:00
Liza Katz
204efae5bf
[Data cleanup] unify serializable state (#107745)
* 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>
2021-08-10 13:03:48 +02:00
renovate[bot]
244d7579e6
Update dependency @elastic/charts to v33.2.0 (master) (#107842)
* 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>
2021-08-06 19:01:47 -05:00
Alejandro Fernández Haro
74107a1fbd
Disable Product check in @elastic/elasticsearch-js (#107642)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-05 15:55:41 -04:00
Chandler Prall
c2e834353e
Upgrade EUI to v36.1.0 (#107231)
* 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>
2021-08-05 13:00:32 -06:00