Commit graph

1531 commits

Author SHA1 Message Date
Larry Gregory c238a9708b
Use vega-interpreter to safely evaluate Vega expressions (#98832)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-05 10:46:50 -04:00
Frank Hassanabad 366c16c1cd
[Security Solutions][Lists] (Phase 1) Pulls constants from lists and security solutions plugin into its own kbn package (#99149)
## Summary

Pulls constants from lists plugin into its own kbn package.

Phase 1: Lift and shift small shared constants into kbn package called `kbn-securitysolution-constants`
Phase 2: Deprecate existing code now in packages
Phase 3+: Strangle/remove existing code and use the code from the kbn package
2021-05-04 17:48:16 -06:00
Tiago Costa d6b41ff7bf
chore(NA): moving @kbn/config into bazel (#99199) 2021-05-04 23:04:55 +01:00
Frank Hassanabad 08d7e1c723
[Security Solutions] (Phase 1) Initial checkin with kbn package security-utils added (#99151)
## Summary

Good place for one off utils to use and reduce/remove the circular deps we have between security_solutions, lists, and anywhere else we have them for different utils.

Phase 1: Adds kbn package of `kbn-securitysolution-utils` through lift and shift
Phase 2: Deprecated the functions
Phase 3: Removes the functions in favor of using the `kbn-securitysolution-utils`
Phase 4+: Adds more and removes dependencies/copies across plugins within the security solution. Maybe we break things out by domain later as this grows in size.

- [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-05-04 15:43:37 -06:00
Frank Hassanabad bcde9e2b15
[Security Solutions] (Phase 1) Copies io-ts shared utilities into kibana/packages (#98999)
## Summary

We are removing duplicated code in sections of plugins into the kibana/packages folder. This is phase 1 of 4+ where:

Phase 1: Lift and shift the io-ts code into `kibana/packages/kbn-securitysolution-io-ts-utils`
Phase 2: Deprecate the utils across plugins any copied code
Phase 3: Replace the deprecated types with the ones in here where we can. [Strangle pattern](https://martinfowler.com/bliki/StranglerFigApplication.html)
Phase 4+: (potentially) consolidating any duplication or everything altogether with the `kbn-io-ts-utils` project

### 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-05-04 13:19:10 -06:00
Aleh Zasypkin 5ca77de98e
Pin underscore version to ^1.13.1. (#99170) 2021-05-04 13:56:46 +02:00
Tiago Costa 4af6e9c691
chore(NA): moving @kbn/analytics into bazel (#98917)
* chore(NA): moving @kbn/analytics into bazel

* chore(NA): fix type check for package migration

* chore(NA): fix type check for package migration

* chore(NA): fix type check for package migration

* chore(NA): separate type generating from server code

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-03 22:34:53 +01:00
Cauê Marcondes f1365eaa80
[APM] Creating e2e test for Comparison Feature (#98291)
* creating e2e test comparison feature

* fixing test

* comparison e2e tests

* addressing comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-03 11:59:42 -04:00
Tiago Costa 788bf329b1
chore(NA): moving @kbn/eslint-plugin-eslint into bazel (#98926)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-30 22:31:38 +01:00
Jonathan Budzenski 3d8f1b1b3b
[packages] Move @kbn/legacy-logging to Bazel (#98810) 2021-04-30 14:34:37 -05:00
Tiago Costa 93ed44d2d4
chore(NA): moving @kbn/eslint-import-resolver-kibana into bazel (#98798) 2021-04-30 20:14:18 +01:00
Tiago Costa 1f15c6a1ad
chore(NA): moving @elastic/eslint-config-kibana into bazel (#98648)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-29 17:20:52 +01:00
Tiago Costa 24374d9c4a
chore(NA): upgrades bazel rules nodejs into v3.4.2 (#98701)
* chore(NA): upgrade bazel rules nodejs to v3.4.1

* chore(NA): update rules nodejs into 3.4.2

* chore(NA): update yarn lock after updating rules
2021-04-29 15:18:14 +01:00
Tiago Costa f690c60517
chore(NA): moving @kbn/dev-utils into bazel (#98496)
* chore(NA): moving @kbn/dev-utils into bazel

* docs(NA): updated generated plugin list
2021-04-28 23:46:33 +01:00
Trent Mick 22b32c23f2
Bump elastic-apm-node from v3.10.0 to v3.14.0 (#97509)
Changelog: https://www.elastic.co/guide/en/apm/agent/nodejs/current/release-notes-3.x.html
Notably:
- Adds apm.addMetadataFilter(fn) that can be used for PII filtering
- Improves communication with APM server to not be pathological if APM
  server is down for extended period of time and load is high.
- Fixes bugs in data for the Dependencies and Service Map in the APM
  app.
- The APM agent now collects cloud metadata.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 15:24:07 -07:00
Poff Poffenberger 84d38427d6
[Canvas] Replace squel with safe-squel (#97169)
* Replace squel with safe-squel

* Update squel import name

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 10:17:16 -05:00
Tiago Costa fb34ba0337
chore(NA): moving @kbn/logging into bazel (#98564)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 16:01:22 +01:00
dmlemeshko d3106338c4
update chromedriver & ms-edge-driver (#98590) 2021-04-28 15:26:15 +02:00
Nick Peihl cbd6f844cb
Fetch geojson using ems-client (#97908)
* Fetch geojson using ems-client

* Review feedback
2021-04-27 13:25:29 -07:00
Tiago Costa 7c043dc3de
chore(NA): moving @kbn/apm-config-loader into bazel (#98323)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 18:44:41 +01:00
Tiago Costa e3d52fc598
chore(NA): moving @kbn/expect into bazel (#98322) 2021-04-26 20:09:08 +01:00
renovate[bot] 7a5b8a51ef
Update dependency @elastic/charts to v29.1.0 (#98242) 2021-04-26 08:48:54 -07:00
Tiago Costa a304bb3577
chore(NA): moving @elastic/safer-lodash-set into bazel (#98187) 2021-04-23 21:28:37 +01:00
Tiago Costa 00940dd0f5
chore(NA): moving @kbn/babel-code-parser into bazel (#97675)
* chore(NA): moving @kbn/babel-code-parser into bazel

* docs(NA): missing docs about new package

* chore(NA): removing quiet arg

* chore(NA): fix packages build srcs

* chore(NA): change source order on tinymath

* chore(NA): add babelrc

* chore(NA): clear package build migration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-23 17:48:48 +01:00
renovate[bot] fc9929e2e3
Update dependency @elastic/charts to v29 (master) (#98093) 2021-04-23 09:27:10 -05:00
Tiago Costa a8a8289b20
chore(NA): chore(NA): moving @kbn/utils into bazel (#97833)
* chore(NA): chore(NA): moving @kbn/utils into bazel

* chore(NA): run kbn-test integration test with preserve-symlinks
2021-04-22 17:55:38 +01:00
Wylie Conlon d25bd680eb
Switch Tinymath to use peggy instead of pegjs (#97906) 2021-04-22 12:01:45 -04:00
Tiago Costa 4fbb48daea
chore(NA): chore(NA): moving @kbn/std into bazel (#97771) 2021-04-21 20:50:05 +01:00
Spencer fad45022c1
[npm] upgrade all jest related dependencies (#96367)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-21 15:32:10 -04:00
Tim Roes 2744f70466
Remove the no longer used release-notes script (#97806)
* Remove the no longer used release-notes script

* Commit missing file
2021-04-21 20:58:39 +02:00
Nick Peihl 15ae3c0cd6
[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>
2021-04-20 19:10:55 -07:00
Tiago Costa 660af0fec3
chore(NA): upgrades iBazel to v0.15.10 (#97489)
* chore(NA): upgrade into last ibazel version

* chore(NA): upgrade into latest ibazel version

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 20:20:59 +01:00
Chandler Prall 59482009f6
Upgrade EUI to v32.1.0 (#97276)
* Upgradee EUI to v32.1.0

* Jest snapshots

* Update Discover datagrid test condition

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 09:10:53 -06:00
Angela Chuang 44eda0fa73
[SecuritySolution] Timeline http endpoints (#95036)
* add notes and pinned events routes

* add api endpoints on client side

* add apis

* fix get all timelines

* add decodeResponseFavoriteTimeline

* rm apolloClient

* fix unit tests

* remove unused routes

* update cypress task

* fix integration tests

* clean up type dependency

* fix types

* update snapshot

* remove graphql types dependency

* fix types

* remove graphql queries

* remove unused i18n

* fix types

* fix delete timelines

* fix types and rewrite timeline integration tests

* add readme

* fix unit test

* fix unit test

* update package.json

* rm x-pack/yarn.lock

* fix tests

* update yarn.lock

* update yarn.lock

* rm unused dependency

* fix types

* fix unit test

* update query params for getAllTimelines

* fix integration test

* wrap JSON.stringify with try/catch

* fix lint error

* fix type

* wrap JSON.stringify with try/catch

* fix unit test

* review

* review

* review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 20:32:39 -04:00
Patryk Kopyciński 64f30a224e
[Asset Management] Add live query history table (#94536) 2021-04-19 20:10:34 +02:00
Tiago Costa b6fd28884b
chore(NA): moving @kbn/babel-preset into bazel (#97271)
* chore(NA): moving @kbn/babel-preset into bazel

* chore(NA): remove unused deps from xpack package.json
2021-04-19 12:37:56 +02:00
Tiago Costa dcb69e12f0
chore(NA): upgrade lmdb-store to 1.2.4 (#97275)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-15 21:57:35 +01:00
renovate[bot] ad25fb3f12
Update dependency @elastic/charts to v28.2.0 (master) (#97005)
* Update dependency @elastic/charts to v28.2.0

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-04-15 22:34:01 +02:00
Tiago Costa 2bb97f234a
chore(NA): moving @kbn/utility-types into bazel (#97151)
* chore(NA): moving @kbn/utility-types into bazel

* chore(NA): solve ts config errors
2021-04-15 02:33:38 +01:00
Tiago Costa 0bfa5aaf01
chore(NA): moving @kbn/tinymath into bazel (#97022)
* chore(NA): moving @kbn/tinymath into bazel

* chore(NA): fixed jest tests

* chore(NA): simplified tsconfig file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 14:49:19 -04:00
Greg Thompson d679035664
Upgrade EUI to v32.0.4 (#96459)
* eui to 31.12.0

* type updates

* snapshot updates

* snapshot updates

* euiavatarprops

* eui to 32.0.3

* euicard updates

* update test
2021-04-14 11:27:36 -05:00
Thomas Watson e2eeb44613
Bump hosted-git-info from 2.5.0/3.0.7 to 2.8.9/3.0.8 (#96987) 2021-04-14 10:36:36 -04:00
Tiago Costa e36650de70
chore(NA): moving @kbn/config-schema into bazel (#96273)
* chore(NA): moving @kbn/config-schema into bazel

* chore(NA): correctly format packages for the new bazel standards

* chore(NA): correctly maps srcs into source_files

* chore(NA): remove config-schema dep from legacy built packages package.jsons

* chore(NA): include kbn/config-schema in the list of bazel packages to be built

* chore(NA): change import to fix typechecking

* chore(NA): remove dependency on new package built by bazel

* chore(NA): be more explicit about incremental setting

* chore(NA): include pretty in the args for ts_project rule

* docs(NA): include package migration completion in the developer getting started

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 14:38:10 +01:00
Spencer 0500289699
[npm] upgrade caniuse database (#97002)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-13 14:35:14 -04:00
Tiago Costa 47065acb05
chore(NA): moving @kbn/apm-utils into bazel (#96227)
* chore(NA): moving @kbn/apm-utils into bazel

* chore(NA): add kbn/apm-utils into package.json

* chore(NA): missing standard on build file globs

* chore(NA): be more explicit about incremental setting

* chore(NA): include pretty in the args for ts_project rule

* docs(NA): include package migration completion in the developer getting started

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 19:14:06 +01:00
Jonathan Budzenski 02ba7c4543
[kbn-ui-shared-deps] Remove outdated polyfills (#96339) 2021-04-08 08:49:13 -05:00
Dario Gieselaar bfc940c146
[APM] Extract server type utils to package (#96349) 2021-04-08 13:26:43 +02:00
Thomas Watson 0aa348d9be
Bump ssri from 8.0.0 to 8.0.1 (#96452) 2021-04-07 14:22:42 -04:00
Thomas Watson b89776db6d
Bump color-string from 1.5.3 to 1.5.5 (#96433) 2021-04-07 13:25:19 -04:00
Thomas Watson b96f60f727
Bump postcss-svgo from 4.0.2 to 4.0.3 (#96409) 2021-04-07 12:11:42 -04:00