Commit graph

47065 commits

Author SHA1 Message Date
Spencer eeed2ca6ae
[ci] filter out proc-runner logs from stdout on CI (#114568)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-13 11:03:04 -05:00
Paul Tavares 330fd83aaf
[Security Solution][Endpoint] Policy Details Trusted Apps tab Remove action for single card (#114207)
* Remove modal for removing a policy from card
* new `assignPolicyToTrustedApps()` and `removePolicyFromTrustedApps()` methods for TrustedAppsService
* Additional tests for the policy details Trusted Apps List page/tab
* several tests for RemoveTrustedAppFromPolicyModal (but not all)
2021-10-13 12:00:21 -04: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
Zacqary Adam Xeper da8264f26a
[Stack Monitoring] Fix hashchange detection on sidenav link (#114727) 2021-10-13 10:36:07 -05:00
Kaarina Tungseth fdc0ce749a
[DOCS] Indicate reports are a subscription feature (#114653) 2021-10-13 09:59:50 -05:00
Giorgos Bamparopoulos 767f007bb3
Update namespace for indices (#114612)
* Update namespace for indices

* Update default index for transactions

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
2021-10-13 15:57:31 +01:00
Kaarina Tungseth d0a6e51d97
[DOCS] Adds Logstash pipeline settings (#114648) 2021-10-13 09:51:04 -05:00
Josh Dover c493741388
Bump EPR snapshot version used for tests (#114529)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 16:49:04 +02:00
David Sánchez b86bf8382e
[Security Solution] [Endpoint] Fleet summary card adjustments (#114291)
* Fix API call and refactor component to show different summary when size is small

* Refactored fleet trusted app card with new m design

* Removed unused code

* fix ts error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 16:44:55 +02:00
spalger 38f949a355 skip flaky suite (#68400) 2021-10-13 14:03:29 +00: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
Gloria Hornero 9fb16d54c5
[Security Solution] [Detections] Improves custom query rule upgrade test (#114454)
* improves upgrade test

* fixes type check issues

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 15:28:36 +02:00
Clint Andrew Hall 8068eecbde
[fleet] Add Integration Preference selector (#114432) 2021-10-13 15:17:49 +02:00
Jean-Louis Leysens 45e07af1fa
[Reporting] Add new data-render-error attribute (#114472)
* added new data-render-error attribute, read it and store it on job object

* added data-render-error to the example app

* added jest test

* address pr feedback

- make renderErrors optional in interfaces
- create separate selectors for data render error selector/attr
- Tidy up mergeMap behaviour

* fix observable.test.ts snapshots and browser driver mock

* updated jest snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 14:55:06 +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
David Sánchez 0bf0b94ee0
[Security Solution] [Endpoint] Event filters uses the new card design (#114126)
* Adds new card design to event filters and also adds comments list

* Adds nested comments

* Hides comments if there are no commentes

* Fixes i18n check error because duplicated key

* Fix wrong type and unit test

* Fixes ts error

* Address pr comments and fix unit tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 06:03:13 -04:00
Clint Andrew Hall db4bcdee2c
[fleet] Tweak Header UI (#114704) 2021-10-13 11:48:20 +02:00
Dario Gieselaar 802fb0252d
[APM] Filter on tx metrics for instance stats (#114758) 2021-10-13 05:35:15 -04:00
Søren Louv-Jansen 5fdbd26229
[APM] Fix typo in linting docs (#114764) 2021-10-13 10:33:33 +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
Mark Hopkin 62d39cc1fd
[Fleet] Add Integration Policy Page Improvements (#114556)
* Show add agent link instead of 0 agents

* Add popover

* open and close popover

* fill button

* add popover to agent cell

* PR feedback

* only add offset to props if it's provided

* make code clearer

* Update x-pack/plugins/fleet/public/components/add_agent_help_popover.tsx

Co-authored-by: Dave Snider <dave.snider@gmail.com>

* remove unused import

* whitespace

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 09:10:15 +01:00
Marco Liberati aad477185d
[Lens] Keep the custom label when transitioning to/from Formula (#114270)
* 🐛 Keep the custom label when transitioning to/from Formula

* 🐛 Fix transition bug with padding

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 10:08:08 +02:00
Ashokaditya 1d71d42a7b
[Security Solution][Endpoint] Host Isolation API changes (#113621)
* Use the new data stream (if exists) to write action request to
and then the fleet index. Else do as usual.

fixes elastic/security-team/issues/1704

* fix legacy tests

* add relevant additional tests

* remove duplicate test

* update tests

* cleanup

review changes
refs elastic/security-team/issues/1704

* fix lint

* Use correct mapping keys when writing to index

* write record on new index when action request fails to write to `.fleet-actions`

review comments

* better error message

review comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 09:25:20 +02: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
Jen Huang 935ba166f9
[Fleet] Show security requirements page when ES security is not enabled (#114583)
* Show security requirements page when ES security is not enabled

* Add comments
2021-10-13 02:48:00 -04:00
Tyler Smalley e7ce0616b6 skip flaky suite (#113697) 2021-10-12 21:45:58 -07:00
Thomas Watson 06be96cfb3
Bump refractor from v3.4.0 to v3.5.0 (#114654) 2021-10-12 22:08:04 -04:00
Tiago Costa ad9c1588e6
chore(NA): improve kbn-ui-shared-deps-npm split (#114557)
* chore(NA): remove elastic-datemath from kbn-ui-shared-deps-npm

* chore(NA): remove @kbn deps on kbn ui shared deps npm

* chore(NA): missing peer dep to build kbn ui shared deps npm

* chore(NA): general improvements for kbn ui shared deps npm

* chore(NA): remove min size chunks plugin

* chore(NA): remove split chunks

* chore(NA): improve dep declaring on kbn-ui-shared-deps-src

* chore(NA): remove typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 02:50:49 +01:00
Scotty Bollinger 3025942e1c
[Workplace Search] Wire up write view for Blocked windows (#114696)
* Fix unsaved changes prompt showing up between tabs

We already added a reducer for this but forgot to implement this. Because we have shared state between the tabs, we need to overrule the unsaved changes prompt when simply navigating between tabs.

* Fix some timezone issues

After wiring up the backend and converting to UTC, some changes to mocks and time formats had to be made.

* Refactor to remove blockedWindows reducer

This commit refactors to make use of the already-in-state schedule object. Previously, while wiring up the static views, I used a blockedWindows array directly on the state tree. This simplifies things so that equality checks can be done with one object.

* Wire up ability to remove blocked window

* Fix key and remove fallback

It was hard to test removing an item from an array that doesn’t exist so I changed the code to expect the array to be present (! operator), since the other path is not possible.

Also updated the server value from deletion to delete to match the API

* Wire up blocked windows form to change values and update state

* Pass formatted blocked_windows to server

(test was covered in previous commit)

* Update link text, hrefs, and replace temp copy

One of the links was removed intentionally

* Fix typo

* Fix edge case where unsaved changes shown when removing last item

The API omits the key when there are no items so we need to have the item removed as well in the UI state. Otherwise, removing the last item will cause the UI to say there are unsaved changes when there are not.

I tried setting  it as:

schedule.blockedWindows = undefined

but the selector did not see those as equal but deleting the key does.

* More typo fixes

Syncronization -> Synchronization (+h)

* Fix link address

* Refactor for simplicity

Was unable to figure out the TypeScript  but did some more digging
2021-10-12 21:32:08 -04:00
Tyler Smalley 690c25112c
[ci-metrics] Use git rev-parse for branch (#114736)
--show-current was added in 2.22, which is still relatively new.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-12 21:17:01 -04:00
Sandra G c3b9e813c9
add loading state to nodes table (#114709)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 21:07:06 -04:00
Søren Louv-Jansen 169df02635
[APM] Improve readability of APM readme (#114633) 2021-10-12 20:34:13 -04:00
Thiago Souza fb4414786f
[Security Solution][Telemetry] Refactoring security telemetry task code (#114095)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 19:54:18 -04:00
Lukas Olson a070aafe93
Deprecate search:includeFrozen parameter (#114578) 2021-10-12 15:35:49 -07:00
renovate[bot] 3a8eb8a6e4
Update dependency core-js to ^3.18.3 (master) (#114720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-10-12 18:25:56 -04: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
Tim Sullivan 636581ac26
[Reporting/Docs] remove note about host name set to "0" (#114710) 2021-10-12 14:04:41 -07:00
Tyler Smalley 7290b6936a
[ci] Updates APM server (#114588)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-12 13:58:12 -07:00
Kyle Pollich d014729ae2
Add APM and Synthetics to auto update package list (#114641) 2021-10-12 16:25:23 -04:00
Thomas Neirynck 1afac0ffbb
[Fleet] Have EPR register new categories / Show category counts (#114429) 2021-10-12 16:13:58 -04:00
Tim Sullivan 3c8662f9fa
[Reporting] deprecate capture.viewport setting from reporting config as unused (#114019)
* [Reporting] remove capture.viewport setting from reporting config

* update snapshots

* update snapshot

* add helpful version comment

* self-review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 15:42:38 -04:00
renovate[bot] 0de7012bf2
Update polyfills (master) (#114564)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-12 14:39:43 -05:00
Nathan Reese 26e1d1dc18
[Maps] fix flaky getTile test (#114689) 2021-10-12 13:23:00 -06: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
Marshall Main 9e908f6caa
[RAC][Security Solution] Refactor persistence and security rule generic types (#114022)
* Refactor persistence and security rule generic types

* Remove unused import, fix unit tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 14:43:50 -04:00
Vadim Kibana 6a55f87da0
Connect locator persistable state to Short URLs (#114397) 2021-10-12 20:25:08 +02:00
Christos Nasikas 7ffebf1fa3
[Connectors] ServiceNow ITSM & SIR Application (#105440)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 20:58:45 +03:00