Commit graph

13662 commits

Author SHA1 Message Date
Thomas Neirynck cdc5204af9
[Fleet] Add APM card to integration browser (#113625)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-01 16:24:28 -04:00
Kristof C 9437e8d538
[Cases] [104932] Remove newline characters from summary field and add tests (#113571)
* [104932] Remove newline characters from summary field and add tests

* PR fix

Co-authored-by: Kristof-Pierre Cummings <kristofpierre.cummings@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-01 15:03:10 -05:00
Luke Elmers b58e7218ad
[logging] Upgrade ECS to 1.12 (#113583) 2021-10-01 12:56:54 -04:00
Davey Holler 753defe366
App Search Automated Curation Suggestion Detail View (#113342) 2021-10-01 10:45:46 -05:00
Scotty Bollinger 2d2878a904
Exclude cypress folders from Jest test coverage (#113482) 2021-10-01 11:22:03 -04:00
Thomas Neirynck a565eaa39d
[Fleet] Show beats replacements in integration browser (#113291)
Display both beats and epr-packages in the integration browser. When there is overlap, the EPR-package equivalent is displayed. When the EPR-package is not yet ga, the beat-equivalent is displayed.
2021-10-01 08:11:25 -04:00
Sandra G 56effce567
fix sorting, pagination, state (#113563)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-01 08:09:41 -04:00
Tiago Costa a4903aca4d
skip flaky suite (#112910) 2021-10-01 12:49:52 +01:00
Mat Schaffer ff96b66eae
[Stack Monitoring] Set beats react product name (fixes setup mode) (#113504) 2021-10-01 10:20:28 +02:00
Marco Liberati 218deff1cb
[Lens] Threshold: set default color for new thresholds (#113008)
* 💄 Make dark grey default threshold color

*  Fix test

* 👌 Integrate feedback

* 👌 Fix bug

* 👌 Filter threshold layers for color assignments

* 👌 Small refactor

* 🐛 Fix merging conflicts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-01 10:16:38 +02:00
Giorgos Bamparopoulos fd0648daab
Update title and description on APM tutorial in cloud hosted environments (#113438) 2021-10-01 09:10:51 +01:00
Pierre Gayvallet e443f5180b
[8.0] Remove --plugin-dir cli option (#113367)
* Remove `--plugin-dir` cli option

* remove deprecation

* remove usage from test servers

* remove import

* remove last text usages

* removes --plugins alias
2021-10-01 07:58:14 +02:00
Xavier Mouligneau 3b958e76aa
[Security Solution] Top-level Cases feature under the Security (#112980)
* add the new top cases feature in security

* fix api intyegration and cypress

* fix api integration

* fix cypress roles test

* missing api integration

* review Joe

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 20:18:25 -04:00
Michael Marcialis 2aa39891ff
[Lens] Design updates in prep for thresholds (#113428)
* remove borders from layer panels

* increase "add layer" button size

* fix cross-browser scrollbars & shadow clipping

* fix layer panel and dimension drop zone spacing

* add hyphens

* fix border radius & adjust workspace styles

* config flyout padding and spacing adjustments

* formula padding and spacing adjustments

* palette flyout padding and spacing adjustments

* remove unnecessary v7 styles

* correct button font size in v7

* restore workspace border in v7

* Fix draggable bg color in v8 dark mode

* fix misaligned layer chart picker text

* fix unit test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 18:23:58 -04:00
Zacqary Adam Xeper 0008d2833e
[Metrics UI] Add warning about redundant groupBy on metric threshold (#111891)
* [Metrics UI] Add warning about redundant groupBy on metric threshold

* Fix i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 15:40:00 -04:00
Byron Hulcher 24147afdf2
[App Search] Add Automated Curations options to Curations Settings tab (#112766) 2021-09-30 13:25:27 -04:00
Mat Schaffer 575e22f070
React beats instance view (#113500)
* Add beat instance page

* Fix beat instance tabs to match angular

* Remove unused cluster prop on beats template

* Fix breadcrumbs

* Remove unused cluster prop

* Use correct codepath

* Switch beats instance back to use template

Doesn't buy us a lot here, but mirrors the pattern used in logstash where it's a lot better than just calling PageTemplate directly.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 13:25:01 -04:00
Spencer 6cccf69451
[eslint] forbid trailing slashes in package imports (#113455)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-30 12:02:56 -05:00
Quynh Nguyen 747212ce45
[ML] Add KQL filter bar, filtering functionality, and compact design to Index data visualizer (#112870)
* [ML] Initial embed

* [ML] Initial embed props

* [ML] Add top nav link to data viz

* Add visible fields

* Add add data service to register links

* Renames, refactor, use constants

* Renames, refactor, use constants

* Update tests and mocks

* Embeddable

* Update hook to update upon time udpate

* Add filter support to query

* Refactor filter utilities

* Add filter support for embeddable

* Fix saved search data undefined

* Prototype aggregated view/document view switcher

* Prototype flyout

* Prototype save document view option in storage

* Fix filter and query conflict with saved search

* Minor styling edits

* [ML] Update functional tests to reflect new arrow icons

* [ML] Add filter buttons and KQL bars

* [ML] Update filter bar onChange behavior

* [ML] Update top values filter onChange behavior

* [ML] Update search filters when opening saved search

* [ML] Clean up

* [ML] Remove fit content for height

* [ML] Fix boolean legend

* [ML] Fix header section when browser width is small to large and when index pattern title is too large

* [ML] Hide expander icon when dimension is xs or s & css fixes

* [ML] Delete embeddables because they are not use

* [ML] Make doc count 0 for empty fields, update t/f test

* [ML] Add unit testing for search utils

* [ML] No need to - padding

* [ML] Fix expand all/collapse all behavior to override individual setting

* [ML] Fix functional tests should be 0/0%

* [ML] Fix docs content spacing, rename classnames, add filters to Discover, lens, and maps

* [ML] Fix icon styling to match Discover but have text/keyword/histogram

* [ML] Fix filters not persisting after page refresh & on query change

* [ML] Rename classnames to BEM style

* [ML] Fix doc count for fields that exists but have no stats

* [ML] Clean up unused styles

* [ML] Fix eui var & icon & file geo

* [ML] Fix navigating to Lens from new saved search broken

* [ML] Change types back to Index pattern for 7.16

* [ML] Update not in docs content and snapshots

* [ML] Fix Lens and indexRefName

* [ML] Fix field icon and texts not aligned, remove span because EuiToolTip now supports EuiToken

* [ML] Fix data view
2021-09-30 11:37:56 -05:00
Marta Bondyra b73d939d6c
[Lens] refactor - move debounce one layer up for thresholds (remove updater) (#113222)
* [Lens] remove updater from vis

* removing blur handle

* fix

* blur fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 18:03:40 +02:00
Sandra G 6eebf2433d
fix missing nested property when storing in local storage (#113538) 2021-09-30 11:36:58 -04:00
David Sánchez 4f95060286
[Security solution][Endpoint] API error when edit/create TA by policy and license under platinum (#113363)
* New function to check if the effect scope has been changed without right license

* Checks if license is under platinum when creating/updating trusted apps by policy

* Change error type. Use translations in frontend for api error. Also use helper mapping function to avoid use string replace method

* Remove name from constructor and changed mock function name

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 10:51:09 -04:00
Ashokaditya 530408c2f5
[Security Solution][Endpoint] Action and responses data generators for .logs-endpoint.action* data streams (#113403) 2021-09-30 15:51:07 +02:00
Miriam db22641ebb
[APM] Remove dot from legend on the error marker (#113437)
* Remove dot from legend on the error marker

* Change indicator type to NodeElement

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 14:28:54 +01:00
Stacey Gammon 66f69d6a13
Clean up task manager public setup contract to improve readability and API docs (#113415)
* Improve API docs for task manager

* Update docs
2021-09-30 09:10:41 -04:00
Shahzad fe9b5332e1
[Uptime] Run Sample uptime tests using @elastic/synthetics (#112128)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 13:58:38 +02:00
Esteban Beltran a6670380aa
[Security Solution] Add host isolation exceptions UI (#111253) 2021-09-30 13:43:22 +02:00
Marco Liberati 3bd687e6ca
🐛 Fix label on horizontal chart for axis (#113452) 2021-09-30 12:37:01 +02:00
Shahzad bbf3d4b9ca
[Exploratory View] Add to case button (#112463)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 11:30:30 +02:00
Sébastien Loix 50134cbec6
[Mappings editor] Remove boost parameter from field types (#113142) 2021-09-30 10:18:09 +01:00
Jean-Louis Leysens 9a530b2496
[Reporting] Add deprecation titles (#113387)
* added i18n and titles to config deprecations

* Updated jest test

* Add newline at end of file

* remove unneeded space
2021-09-30 10:44:20 +02:00
Gloria Hornero a33ae63025
[Security Solution][Detections] Fixes 'Detection Rule "reference url" links don't work if they are created with missing "http://' (#112452)
* updates url validation to don't accept urls without http or https prefix

* fixes typo

* fixes linter issue

* refactors to follow recommendations

* Update x-pack/plugins/security_solution/public/common/utils/validators/index.test.ts

Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>
2021-09-30 04:40:04 -04:00
Stratoula Kalafateli a9d80ac46a
Cleanup of the kibanaLegacy unused functions and remove unecessary dependencies from Analytics plugins (#113358)
* [Discover][Table] Remove unused dependencies of the kibanaLegacy plugin

* More removals of kibanaLegacy plugin dependencies

* Revert discover changes

* Remove the unused functions from the kibana_legacy plugin

* Removes unused translations
2021-09-30 09:54:53 +03:00
Mat Schaffer 685a550806
[Stack Monitoring] Beats instance view pagination (#113284)
* Beats instance view pagination

* Fix beats listing sorting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 14:04:57 +09:00
Søren Louv-Jansen 9dff4d0827
[APM] Add link to officials docs for APM UI settings (#113396) 2021-09-30 00:54:41 +02:00
Thomas Neirynck 1090a356f3
[Fleet] Register Sample Data (#113200) 2021-09-29 18:21:04 -04:00
Zacqary Adam Xeper 8a63be0acc
[Stack Monitoring] Migrate indices view to React (#113338)
* [Stack Monitoring] Migrate indices view to React

* Fix lint
2021-09-29 16:40:49 -05:00
Zacqary Adam Xeper 729194586e
[Metrics UI] Add separate setting for Alert If Group Disappears for metric threshold rules (#113032)
* [Metrics UI] Add separate setting for Alert If Group Disappears for metric threshold rules

* Fix type

* Update wording

* Clarify conditionals, remove stray console.log

* Add additional comments

* Fix comments

* Improve test specificity

* Improve default param handling and clarify ungrouped conditional

* Rename isNotUngrouped to hasGroups

* Fix tests

* Fix error state on 0 hits

* Fix type

* Improve test clarity

* Simplify conditions and rewrite comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 16:43:39 -04:00
David Sánchez 564e61c1bc
[Security Solution][Endpoint] Ability to assign existing trusted applications to the policy flyout (#112239)
- Adds policy assignment flyout to the Policy Details Trusted Apps sub-tab
2021-09-29 16:43:05 -04:00
Jason Stoltzfus 39899f8d2b
[App Search] Wired up the suggestions table to logic (#113322) 2021-09-29 15:28:34 -04:00
Patryk Kopyciński a7874ff8a5
[Fix] Replace Osquery query parser lib (#113425) 2021-09-29 20:07:13 +02:00
Clint Andrew Hall 521bd35668
[fleet] Add two Agent Detail page stories to Storybook (#113066) 2021-09-29 13:10:49 -04:00
Marco Liberati b567351b15
[Lens] Thresholds: moving a threshold to another group should carry also its styling (#112853)
* 🐛 When dragging a threshold to another group carry also its styling

*  Add functional test

*  Make duplicate carry style too

*  Add functional test for duplicate use case

* 🐛 Fix table duplication issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 18:52:50 +02:00
Pete Harverson 408cf173fa
[ML] Convert APM transaction anomaly detection job to analyze metric data (#111957)
* [ML] Convert APM transaction anomaly detection job to analyze metric data

* [ML] Fix test and edit manifest query and defaultIndexPattern

* Remove queries for ml module, upgrade version

* Update ML anomaly searches

* Add metricset.name term query to datafeed

* Add metricset.name/processor.event queries to module setup

* [ML] Edit setup module API integration test to not start datafeed

* [ML] Edit aggregation names

* Edit home.spec E2E test URLs

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-09-29 17:52:00 +01:00
Nathan L Smith f4a95f9b97
Alert creation and freeform selection (#111883)
Allow selecting any service name, transaction type (where appropriate), and environment when creating and editing rules, both in APM and Stack Management.

- Create /internal/apm/suggestions endpoint that uses `terms_enum`
- Use combo box for environment, service name, and transaction type with suggestions endpoint on all alerts
- Remove "Go to APM" callouts on new alert creation
- Wrap calls to `createCallApmApi` in alert triggers with `useEffect`
- Use `getEnvironmentLabel` for value in environment field expression
- Make all `AlertParams` fields optional (except in latency threshold alert)
- Add e2e tests for creating an alert
- Remove `NewAlertEmptyPrompt` component and `isNewApmRuleFromStackManagement` helper
- Replace `maxServiceEnvironments` and `maxServiceSelections` config options with `maxSuggestions` advanced setting.


![CleanShot 2021-09-28 at 10 35 58](https://user-images.githubusercontent.com/9912/135119948-e247615a-d235-4feb-b197-b803f165ad1e.gif)

Fixes #106786
2021-09-29 11:18:44 -05:00
Trevor Pierce 7e0e8a4912
Bumping EUI to 38.0.1 (#112462)
* Bumping EUI to 38.0.0

* Updating storyshots.test.tsx snapshot

* Removing unneeded ID mock and updating snapshot.

* Fixing panel titles by splitting visible labels.

* Updating one functional test for Discover > Data Grid

* Fixing one test on a Lens > Smokescreen accessible label

* Updating four tests to use visible labels only.

* Adding helper function to retrieve visual text only and fixing three tests.

* Dashboard > Panel Cloning all tests pass.

* Fixing accessible label test

* Fixing data_shared_attributes, two tests

* Updating tests for Discover > Data Grid

* Reverting tests ahead of EUI 38.0.1 backport
* Reverted the SR-only class behavior to use `left: -10000px;`
* Reverting tests to previous assertions

* Bumping configuration files to EUI 38.0.1
* package.json
* package-lock.json
* license-checker

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 10:25:15 -05:00
Marta Bondyra 23e55b3270
[Lens] Fix infinite loop when loading rejected data view (#113375)
* [Lens] Fix infinite loop when loading rejected index pattern

* Update x-pack/plugins/lens/public/app_plugin/app.test.tsx
2021-09-29 17:05:45 +02:00
Gloria Hornero 781fdf9b07
fixes failing timeline test (#113394) 2021-09-29 10:10:36 -04:00
David Sánchez c76c40ab39
[Security Solution] [Endpoint] Adds cleanup method in manifest manager (#111868)
* Adds cleanup method in manifest manager

* Clean code and use right methods to get artifacts ids from manifest

* Hide logs when there is no orphan artifacts. Also use newManifest instead the oldOne

* Fix and adds more unit tests

* Adds pagination and fixed some ts

* Fix wrong comment

* Use pMap to make remove actions with concurrency

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 15:51:06 +02:00
Sergi Massaneda fd9dd2cb68
[Cases] Set breadcrumbs on update case title (#113266)
* set title on breadcrumbs on update case title

* test case added
2021-09-29 09:30:30 -04:00