Commit graph

44552 commits

Author SHA1 Message Date
Angela Chuang
b6ff81d83e
[Security Solution] Fix landing page on rule deletion (#105572)
* fix landing url on rule delete

* add cypress test

* fix cypress
2021-07-15 15:18:10 +01:00
Tiago Costa
1a47c05f9e
skip flaky suite (#93188) 2021-07-15 14:49:20 +01:00
Shahzad
84d4652b14
[User Experience App] Fixed searching filter values (#105582) 2021-07-15 15:42:00 +02:00
Alison Goryachev
8ccf88e3e1
[Snapshots + Restore] Fix no snapshots prompt 2021-07-15 08:50:17 -04:00
Anton Dosov
5fcdb9d137
[Search Sessions] Don’t try to delete errored searches (#105434) 2021-07-15 12:59:39 +02:00
Anton Dosov
4b4a405043
[Search Sessions] fix saved object can be created even if courier:batchSearches is enabled (#105407) 2021-07-15 12:57:17 +02:00
Yulia Čech
7dcb136c68
[Remote Clusters] Fixed remote clusters details flyout for long strings (#105592) 2021-07-15 12:22:48 +02:00
Robert Oskamp
79c4126cca
[ML] Functional tests - re-activate a11y tests (#105198)
This PR re-activates the ML a11y test suite `with data loaded`.
2021-07-15 12:14:43 +02:00
Dario Gieselaar
821aeb1ff4
[APM] Typed client-side routing (#104274)
* [APM] @kbn/typed-router-config

* [APM] typed route config

* Breadcrumbs, wildcards

* Migrate settings, home

* Migrate part of service detail page

* Migrate remaining routes, tests

* Set maxWorkers for precommit script to 4

* Add jest types to tsconfigs

* Make sure transaction distribution data is fetched

* Fix typescript errors

* Remove usage of react-router's useParams

* Add route() utility function

* Don't use ApmServiceContext for alert flyouts

* Don't add onClick handler for breadcrumb

* Clarify ts-ignore

* Remove unused things

* Update documentation

* Use useServiceName() in ServiceMap component
2021-07-15 11:30:59 +02:00
Yaroslav Kuznietsov
e999b33e54
[Canvas] Expression error (#103048)
* Basic setup of error plugin.

* Removed not used `function` files at `error` expression.

* Moved related components from canvas.

* Changed imports of components.

* Fixed renderer and storybook.

* Fixed types errors.

* Added limits.

* Removed useless translations and fixed .i18nrc.json

* added `done` handler call.

* Added more fixes fo i18nc.

* Added docs.

* More fixes of i18nrc.

* Fixed async functions.

Written current code, based on https://github.com/storybookjs/storybook/issues/7745

* Fixed one test with Expression input.

After changing the way of rendering in stories, all elements are mounting and componentDidMount is involved. The previous snapshot was without
mounted `monaco` editor.

* Fixed storybook error.

* More fixes.

* removed unused translations.

* Removed handlers and changed the way of handling `resize` and calling `done`.

* Fixed i18n error.

* Fixed storybook.

* Replaced Popover with EuiPopover.

* Moved `Popover` back to `canvas`

* Removed `Popover` export from presentation_utils components.

* Moved error_component and debug_component from presentation_util to expression_error.

* Fixed translations and imports.

* Moved `debug renderer` to `expression_error` plugin.

* Fixed error.

* Fixed lazy exports.

* Fixed imports

* Fixed storybook snapshot.

* Removed `.i18nrc.json`.

* Fixed color of `error`.

* Exported concrete elements from popover.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-15 12:19:55 +03:00
James Gowdy
63ba5cc5f5
[ML] Fixing job wizard with missing description (#105574) 2021-07-15 09:18:33 +01:00
Yara Tercero
d43551ca4b
[Security Solution][Alerts] - Add alerts subfeature UI (#105505)
###Summary
This PR adds the subfeature UI for alerts to security solution. Note that the ability to customize subfeatures is still a gold feature. How will this map with existing users? The feature and subfeature are tied. So if a user was previously assinged All for security solution - they would get all for alerts, etc.

It still remains behind a feature flag, so to see the change you'll need to have the following in your kibana.dev.yml

xpack.securitySolution.enableExperimental: ['ruleRegistryEnabled']
xpack.ruleRegistry.write.enabled: true
2021-07-15 00:34:43 -04:00
Chandler Prall
3731a3048c
Upgrade EUI to v35.0.0 (#105127)
* Bump EUI to v35.0.0, update euiContextMapping to match latest i18n tokens

* Updated i18n_service jest snapshot

* Added license override for EUI

* Attempting to clean up some forced dependency resolutions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 20:15:09 -06:00
Tim Sullivan
84af487292
[Reporting] Clean up types for internal APIs needed for UI (#105508)
* [Reporting] Refactor types for API response data

* fix api test

* Update x-pack/plugins/reporting/common/types.ts

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>

* more verbose comments

* set comments in interface type definition

* Update x-pack/plugins/reporting/common/types.ts

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

* more strict

* Update x-pack/plugins/reporting/public/management/report_info_button.tsx

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

* Update x-pack/plugins/reporting/public/management/report_info_button.tsx

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

* fix suggestion

* fix accidental declaration of interface methods as function properties

* fix info panel

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
2021-07-14 17:48:30 -07:00
spalger
961681fc5d skip flaky suite (#105087) 2021-07-14 17:01:39 -07:00
Scotty Bollinger
0f3e4f415f
[Workplace Search] Fix Chrome issues with GitHub sources (#105680)
* Fix route validation

This param is not always required. Was already fixed for org version but the personal dashboard came later and was not fixed.

Original fix for org:
30d8b1dfa8 (diff-07f094b2a4719e8511f003d8e278a77cd6b808d11b14d1c528705f9b259c328fR373)

* Fix route to account for private github route

Previously had the org route hard-coded

* Move the logic for parsing the query params to template

Because the useEffect call comes after the initial render, the chrome flashes. We originally got around this by hiding the chrome always because in non-github scenarios, this worked fine.

However, because the oauth plugin sends the state in the quert params and uses the same URL, we need to parse that to determine whether this is an org or accoutn route. We now do that logic in the template and set the chrome before calling the useEffect.

We still need to pass both the parsed params and the original quert string because the redirect passes that string to the next view.
2021-07-14 19:44:49 -04:00
Kyle Pollich
f0b44d7ef9
[Fleet] Add containerized fleet server instructions to Fleet README (#105669)
* Add containerized fleet server instructions to Fleet README

* Address PR feedback
2021-07-14 18:59:38 -04:00
Melissa Alvarez
6fae8fe80b
[ML] Add api integration test for analytics map endpoint (#105531)
* adds api integration test for analytics map endpoint in spaces

* wrap request code in function

* check error value and add messaging
2021-07-14 17:22:50 -04:00
Frank Hassanabad
b31b1a21d0
Fixes cypress flake across two tests (#105645)
## Summary

* Fixes flake where it looks like pre-built rules can take longer than 1 minute to load, so I increased that to 5 minutes
* There are problems with how the `cy.intercept` is not always working on CI we don't understand yet, so I am removing the failing call but keeping the rest of the test for the failure.

Backporting these two into `7.14` to add stability to `7.14` tests as well.

### 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-07-14 15:03:25 -06:00
mgiota
6e30483cbf
[Logs&Metrics UI] add owner properties to plugin manifest (#105580) 2021-07-14 22:25:17 +02:00
Tiago Costa
977039cb76
chore(NA): introduce preset for jest-integration tests on @kbn/test (#105144)
* chore(NA): introduce preset for jest-integration tests on @kbn/test

* chore(NA): fix lockfile

* chore(NA): fix ci

* fix tests (#14)

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 20:53:12 +01:00
Jason Stoltzfus
02cd5086bc
[Enterprise Search] Added Thumbnails to Search UI (#104199) 2021-07-14 15:40:05 -04:00
Jason Stoltzfus
fd0cd860a4
Translate App Search credentials list (#105619) 2021-07-14 15:39:13 -04:00
Cauê Marcondes
1f2b56f17b
[APM] APM agent config created prior to Fleet migration is not injected into integration policy (#105504) 2021-07-14 15:03:27 -04:00
Cauê Marcondes
94e379fa23
[APM] Kuery bar gives invalid suggestions (#105132)
* adding method to support terms_agg

* adding more filters to kuery bar

* addressing PR comments

* fixing docs

* addressing PR comments

* moving file to common

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 14:55:07 -04:00
Jonathan Budzenski
08ae9714c7
[packages/rule-data-utils] Remove legacy build and watchs cripts (#105630)
This package was migrated to bazel, but the legacy style script commands
still exist in `package.json`.  This removes these scripts to avoid
incorrectly building the package.
2021-07-14 14:20:53 -04:00
Constance
99d21b58a0
[KibanaPageTemplate] Fix custom sidebar classes overriding kbnPageTemplate class (#103715)
* Fix .kbnPageTemplate__pageSideBar getting overriden by passed classes

- due to it existing in ...rest, and ...rest coming after pageSideBarProps

* Add test

* Fix `sideBarClasses`

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2021-07-14 10:29:34 -07:00
Chris Roberson
5a08cae8f0
[Alerting] Update docs to include new o11y features (#104884)
* Update docs to include new o11y features

* PR feedback

* PR feedback

* Bold the headers

* PR feedback
2021-07-14 13:17:12 -04:00
James Rodewig
44441e7ae0
[DOCS] Update rollup jobs screenshots (#105624) 2021-07-14 12:51:51 -04:00
Kaarina Tungseth
aa0e2dc060
[DOCS] Updates the quick start for 7.14 (#105489)
* [DOCS] Updates the quick start for 7.14

* Updates a Discover image, adds image descriptions, and reformats dashboard section
2021-07-14 11:29:15 -05:00
Tiago Costa
0ac3d8568c
chore(NA): remove KBN_ES_SNAPSHOT_USE_UNVERIFIED var from Jenkinsfile 2021-07-14 17:16:57 +01:00
Tyler Smalley
50a8a28974
[test] Reverts tests skipped to promote snapshot (#104571)
* temp use unverified snapshot

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Revert "skip failing es promotion suite (#104469)"

This reverts commit 87971e74e1.

* Revert "skip failing es promotion suite (#104467)"

This reverts commit c72ad3edcb.

* Revert "skip failing es promotion suite (#104466)"

This reverts commit a0b36c75f5.

* Revert "skip failing es promotion suite (#104413)"

This reverts commit 9773e3f678.

* Revert "skip failing es promotion suite (#104409)"

This reverts commit 79608dcc9e.

* Revert "skip failing es promotion suite (#104366)"

This reverts commit dfc5dbb31b.

* Revert "skip failing es promotion suite (#104365)"

This reverts commit 269577703a.

* Revert "skip failing es promotion suite (#104364)"

This reverts commit 16f69d24b6.

* Revert "skip failing es promotion suite (#104362)"

This reverts commit 2e492c2083.

* Revert another commit to promote ES snapshot

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 17:13:51 +01:00
Dzmitry Lemechko
40e5725d0a
[i18n] Fix some hardcoded translations on Dashboard & Discover (#105555)
* [i18n] fix objectType in dashboard/save_search save modal

* [i18n] fix objectType in visualize save modal

* add translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 18:11:35 +02:00
James Rodewig
bcda0684ea
[DOCS] Update snapshot/restore screenshots for new EUI theme (#105444) 2021-07-14 12:08:01 -04:00
Dave Snider
a9627ab394
Depanel fleet setup pages (#105502)
Improves the layout of the fleet onboarding pages.
2021-07-14 12:05:30 -04:00
Scotty Bollinger
41bd4b287d
Fix rendering bug where line on logo in v7 theme (#105481) 2021-07-14 12:02:11 -04:00
Nathan Reese
70758da0e8
[maps][docs] refresh screenshots for 7.14 (#105601) 2021-07-14 09:42:46 -06:00
Alejandro Fernández Gómez
72c3949b62
[Fleet] Remove beta label from observability overview (#105590) 2021-07-14 10:47:47 -04:00
Alejandro Fernández Gómez
7508cab068
[Fleet] Tweak copy for elasticsearch configuration (#105549) 2021-07-14 16:31:08 +02:00
Tim Roes
218647ea63
Assign Discover issues automatically to board (#105558) 2021-07-14 16:18:42 +02:00
Ashokaditya
25b549202a
[Security Solution][Endpoint] Set show= search param for endpoint details flyout tabs (#105123)
* add `show=` param when details flyout opens

fixes elastic/security-team/issues/1346

* set `show=` param correctly for `activity_log` and `details` flyout tabs

fixes elastic/security-team/issues/1346

* update tests to reflect change to endpoint details URL

fixes elastic/security-team/issues/1346

* Update endpoint_details_tabs.tsx

* review changes

* avoid redundant hostname refresh on header

review changes

* review changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 16:17:35 +02:00
Kevin Logan
dd081bad71
[Security Solution] Fix UX for Success banner for Host Isolation (#105083) 2021-07-14 10:03:20 -04:00
Marco Liberati
509026d240
[Lens][Inspector] Enable inspector to display multiple requests for multiple layers (#105224)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 15:47:41 +02:00
Nathan Reese
e74c8ee0d8
[maps] show actionable message when term joins have no matches (#105161)
* [maps] show actionable message when term joins have no matches

* include message about showing first 10

* fix formatting

* review feedback

* review feedback

* move performInnerJoins into its own function

* lint

* unit test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 06:20:51 -06:00
Matthew Kime
320eaeac8b
Rollup index pattern list fixes (#105458)
* fix index pattern field list and improve typescript
2021-07-14 07:09:07 -05:00
Maja Grubic
b4fe6b43dd
[Discover] Fix multi-field display when parent field is not indexed (#102938)
* Show multifields when parent is not indexed

* [Discover] Fix for multi-fields when parent is not indexed

* Readd package.json

* Applying Tims suggestion

* Add a unit test

* Updating unit test so that it tests the right thing
2021-07-14 13:44:07 +02:00
Pierre Gayvallet
750c738174
fix flaky file_hash unit test (#105447)
* fix flaky unit test

* lint

* uncomment the suite
2021-07-14 13:43:25 +02:00
Jean-Louis Leysens
8fb5633d36
[Reporting] Fix flaky download pdf test (#105210)
* added a retry for checking that we are on the dashboard landing page

* added .only and removed .skip

* remove .only

* revert this: added .only for flaky test runner

* Remove .only

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 13:26:34 +02:00
Matthias Wilhelm
1fe4135ab6
[Discover][Main] Fix missing error message when building search query throws exceptions (#103923)
* Fix missing error message when building search fails

* Fix test

* Update _date_nested.ts

* Lint config.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 12:18:21 +02:00
Angela Chuang
b2a6a9d308
[SecuritySolution] disable edit and create from rules breadcrumb (#105412)
* disable edit and create from rules breadcrumb

* remove href for create /rule breadcrumb

* fix lint error
2021-07-14 09:36:56 +01:00