Commit graph

45042 commits

Author SHA1 Message Date
Kibana Machine d9171bedaf
[7.x] add `coreOverall[7.x] to internal status contract (#113729) (#114089)
* add `coreOverall$` to internal status contract (#113729)

* add coreOverall$ to internal status contract

* add unit tests

* re-patch flaky tests

* add and improve tests

* fix tests for 7.x

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-10-06 15:47:46 +00:00
Kibana Machine 5f03c68a64
Fixes problem with one chart plotted for multiple y axis when migrating from an old SO (#112972) (#114098)
* Fixes problem with one chart plotted for multiple y axis when migrationg from an old SO

* Add unit tests

* Address PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-06 11:03:02 -04:00
Kibana Machine 2284304ecd
[Stack Monitoring] Logstash migration (#113256) (#114091)
Co-authored-by: Phillip Burch <phillip.burch@live.com>
2021-10-06 10:40:08 -04:00
Kibana Machine 09fc6a5168
[App Search] Wired up existing promoted documents on suggestion view (#113967) (#114090)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-10-06 10:37:44 -04:00
Kibana Machine e7c9aa9ef3
[Security Solution] New Add Data Page (#112142) (#114086)
* [Security Solution] New Add Data Page

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2021-10-06 10:09:51 -04:00
Kibana Machine eec9482e8b
update setup mode data when required (#113934) (#114085)
Co-authored-by: Kevin Lacabane <kevin.lacabane@elastic.co>
2021-10-06 09:57:48 -04:00
Kibana Machine 405271356e
[Security Solution] Adds a host isolation exceptions generator (#113636) (#114078)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
2021-10-06 09:36:56 -04:00
Kibana Machine fdd67f97ae
[APM] Ensure refresh button works (#112652) (#114082)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-10-06 09:32:55 -04:00
Kibana Machine 895aad24b1
Uncomment missing feature privileges message (#113954) (#114072)
Co-authored-by: Dmitry Shevchenko <dmshevch@gmail.com>
2021-10-06 08:45:38 -04:00
Thomas Watson e17077cf0f
[7.x] Improve deprecation message for xpack.spaces.enabled (#112242)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: debadair <debadair@elastic.co>
2021-10-06 14:15:16 +02:00
Pierre Gayvallet 7693195341
[7.x] Expose current branch and version to config deprecation providers (#113600) (#114067)
* Expose current `branch` and `version` to config deprecation providers (#113600)

* Expose deprecation context to config deprecations

* fix import

* add correct doc annotations

* fix another test file

* update generated doc

* fix yet another test file

* fix more types

* add proper mock

* fix import

* lint ?

* restore changes to files removed in master
2021-10-06 08:06:17 -04:00
Tiago Costa 20d7477e3b
skip flaky suite (#113695) 2021-10-06 12:53:46 +01:00
Giorgos Bamparopoulos ccee057633
Update title and description on APM tutorial in cloud hosted environments (#113438) (#114066) 2021-10-06 07:39:06 -04:00
Kibana Machine 2cfe7864e9
[Discover] Redirect to main page when route not found (#113678) (#114059)
* [Discover] redirect to main page on route not found discover error

* [Discover] remove services from dependencies

* [Discover] apply suggestions

* [Discover] return invalid link, but make it not clickable

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-10-06 06:30:43 -04:00
Kibana Machine 6003dd76c0
[Fleet] fix for inactive color (#113736) (#114057)
* fix for inactive color

* fix for inactive color

* using theme colors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: juliaElastic <90178898+juliaElastic@users.noreply.github.com>
2021-10-06 05:30:05 -04:00
Jean-Louis Leysens 9d924d0823
[DOCS] Add 7.15.0 known issue (#113442) (#114063)
* added 7.15.0 known issue

* updated issue linked to and updated copy per feedback

* added bold and code formatting

* Update docs/CHANGELOG.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-10-06 05:06:50 -04:00
Kibana Machine 35993d86ab
[TSVB] Removes unused css (#113751) (#114055)
* [TSVB] Removes unused css

* Use size l for the tabs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-06 04:42:12 -04:00
Kibana Machine 0d1d548c79
[App Search] Add status badges to Suggestions and Active curations tables (#113886) (#114054)
Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-10-06 04:31:37 -04:00
Kibana Machine c50800ff19
Add description for APM plugin (#113952) (#114052)
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-10-06 02:57:29 -04:00
Ignacio Rivas 794366f415
[Upgrade Assistant] Remove ML/Watcher logic (#113224) 2021-10-06 08:28:10 +02:00
Kibana Machine b0b406ce59
[App Search] Suggestions Callouts for Engine, Analytics, and Manual Curation Detail (#113864) (#114051)
Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-10-06 02:26:18 -04:00
Tyler Smalley 714f84da22 skip flaky suite (#113067) 2021-10-05 22:45:38 -07:00
Kibana Machine ab78a6df37
Apm pages (#113716) (#113894)
* Apm overview page

* APM instances page

* Add APM instance page

* Add ignores on js components

* One more ts-ignore

Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-10-06 05:04:01 +00:00
Tyler Smalley 363879936b skip flaky suite (#104578) 2021-10-05 21:40:59 -07:00
Kibana Machine 6dcaa9d8e2
[Canvas] Hide dashed border on embeddable panel (#113985) (#114043)
Co-authored-by: Catherine Liu <catherine.liu@elastic.co>
2021-10-05 23:14:20 -04:00
Kibana Machine d2239e1856
[Fleet] Fix Step 1 in policy editor not loading when agent policy already contains a limited integration (#113883) (#114031)
* Make 1st and 2nd step of policy editor behave nicer:
* Fix UX when selected agent policy already has a limited package (like Endpoint)
* Avoid re-rendering step 1 when a new agent policy is selected in Step 2
* Remove legacy code intended to support in-line selection of a package within policy editor (i.e. "from" policy)

* Remove add integration from policy routing

* Placing back "from policy" logic and a few other fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-10-06 02:41:59 +00:00
Vadim Yakhin e04b2e9f81
Add a handler for a possible promise rejection (#112840) (#114037)
* Add a handler for a possible promise rejection

* Improve test coverage
2021-10-05 22:29:25 -04:00
Tyler Smalley d4f681686e eslint fixup
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 18:39:38 -07:00
Tyler Smalley 87ec13f96d Revert "skip flaky suite (#113991)"
This reverts commit 7d70659a87.
2021-10-05 18:11:45 -07:00
Tyler Smalley 5b2eaf894a skip flaky suite (#113991)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 18:11:38 -07:00
Kibana Machine 3fc62e342f
docs: remove link to APM Server (#114038) (#114040)
Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2021-10-05 20:30:44 -04:00
Kibana Machine 3e05797525
[Workplace Search] Migrate Objects and assets from Source settings to Synchronization section (#113982) (#114015)
* Rename method

We have to set the source from the sync logic file and this naming makes more sense

* Wire up Enable Synchronization toggle

* Remove sync controls from source settings

* Refactor to pass in contentSource as prop

Because we have a child logic file, SynchronizationLogic, we have to pass the content source into it for reading its values from SourceLogic. There are 3 ways to do this:

1. Access the source directly at SourceLogic.values.contentSource
  - This how we normally do it. The problem here is that SourceLogic is not mounted when the default values are set in the reducers. This caused the UI to break and I could not find a way to safely mount SourceLogic before this logic file needed it.

2. Use the connect property and connect to Sourcelogic to access contentSource
  - This actually worked great but our test helper does not work well with it and after an hour or so trying to make it work, I punted and decided to go with #3 below.

3. Pass the contentSource as a prop
  - This works great and is easy to test. The only drawback is that all other components that use the SynchronizationLogic file have to also pass in the content source. This commit does just that.

* Add logic for Objects and assets view

* Add content to Objects and assets view

* Add fallback for `nextStart` that is in the past

This is slightly beyond the scope of this PR but trying to make the final PR more manageable.

There is an edge case where a running job lists the nextStart in the past if it is is running. After a lengthy Slack convo, it was decided to catch these in the UI and show a fallback string instead of something like “Next run 3 hours ago”

* reduce -> map

From previous PR feedback

* Fix casing on i18n ID

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-10-05 19:42:13 -04:00
Søren Louv-Jansen babfa59d1e
[APM] Add documentation for APM data and queries (#113542) (#114026) 2021-10-05 19:03:32 -04:00
Byron Hulcher 389fd95b53
[7.x] [App Search] Wired up Suggestion detail data (#113796) (#113969)
* [App Search] Wired up Suggestion detail data (#113796)

* Fix mock value after type update in #113861

* Fix test after type update in #113861

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-10-05 18:59:18 -04:00
Kibana Machine 67ddd49885
Remove preserve-3d from Canvas positionable (#113677) (#114007)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
2021-10-05 18:53:43 -04:00
James Rodewig efa29ba565
Rename 'Ingest Node Pipelines' to 'Ingest Pipelines' (#113783) (#114003)
While Elasticsearch ingest pipelines require a node with the `ingest`
role, we don't need to include `ingest node` in the feature name.

There are no official plans, but the Elasticsearch team has discussed removing
the `ingest` role in the future. This also better aligns the Kibana UI with the
Elasticsearch docs.

The PR also makes some related changes to the Kibana docs.

Relates to https://github.com/elastic/elasticsearch/pull/70253.
2021-10-05 18:33:56 -04:00
Nathan Reese 64d5b16074
[Maps] Switch to SavedObjectClient.resolve (#112606) (#114004)
* [Maps] Switch to SavedObjectClient.resolve

* spaces tslint

* aliasMatch

* maps eslint

* update lens to use spaces.ui.components.getSavedObjectConflictMessage

* lens eslint

* spaces eslint

* review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/maps/public/embeddable/_index.scss
#	x-pack/plugins/maps/public/embeddable/map_embeddable.tsx
#	x-pack/plugins/maps/public/plugin.ts
2021-10-05 18:31:03 -04:00
Kibana Machine 27a15b81a9
[Security] Drop type EventCorrelationRule, it's really not needed (#113936) (#114000)
Co-authored-by: Domenico Andreoli <domenico.andreoli@elastic.co>
2021-10-05 18:21:03 -04:00
Kibana Machine e6d5c3be8c
[Maps] convert map inspector to TS (#113041) (#114001)
* [Maps] convert map inspector to TS

* eslint

* simplify folder structure

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-10-05 18:15:00 -04:00
Tyler Smalley 7d70659a87 skip flaky suite (#113991)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 15:02:30 -07:00
Kibana Machine 2a97c5695d
[Unified Integrations] Create Services, Storybook, Replacements Card; add to Fleet (#113816) (#113997)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-10-05 18:00:20 -04:00
Kibana Machine 6f7e614661
Update Index Management Tests to Check 4 Tabs on the Home Page (#113692) (#113995)
* Modified home page test to check for 4 tabs.

* Fixed lint issue.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: John Dorlus <silne.dorlus@elastic.co>
2021-10-05 17:51:31 -04:00
Kibana Machine de129d74ef
Add test to useRequest hook to verify ability to cancel poll. (#113947) (#113980)
Co-authored-by: CJ Cenizal <cj@cenizal.com>
2021-10-05 16:16:16 -04:00
Kibana Machine 953229124e
[Fleet] Add APM card to integration browser (#113625) (#113673)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
2021-10-05 19:56:38 +00:00
Tiago Costa 9807691873 skip flaky suite (#106492) 2021-10-05 12:50:46 -07:00
Tyler Smalley f83067d11f skip flaky suite (#96372) 2021-10-05 12:40:25 -07:00
Kibana Machine 92b1d8bd73
[Fleet] Add "Keep Policies up to Date" functionality for integrations (#112702) (#113972)
* Add initial implementation for keep policies up to date functionality

* Upgrade package policies during preconfiguration check

* Only show keep policies up to date switch for default/auto-update packages

* Fix type error

* Fixup setup policy upgrade logic

* Add migration for keep policies up to date flag

* Move setup package policy logic to new module + add tests

* Update snapshots to include keepPoliciesUpToDate field

* Fix type errors

* Fix some CI failures

* Fix more type errors

* Fix type error in isolation test

* Fix package fixtures types

* Fix another type error

* Move policy upgrade error swallowing up a level in setup

* Address PR feedback

- Move keep policies up to date switch to separate component
- Use PACKAGE_POLICY_SAVED_OBJECT_TYPE instead of magic string

* Fix overwriting user values when upgrading

Fixes #113731

* Add test package

* Fix tests for overridePackageVars

* Address PR feedback

- Don't index keep_policies_up_to_date field
- Use SO_SEARCH_LIMIT constant instead of magic number

* Make toast translation usage more consistent

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-10-05 15:08:23 -04:00
Jonathan Buttner 1810750011
[Cases][Timeline] Toast an error when unable to retrieve timeline (#113795) (#113971)
* Displaying a toaster error message when a timeline fails to load

* Adding tests
# Conflicts:
#	x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx
2021-10-05 15:04:49 -04:00
Tyler Smalley a30f2eabd2 skip flaky suite (#113991) 2021-10-05 11:58:20 -07:00
Kibana Machine 00d749404b
[Canvas] Use SavedObjectResolve (#110848) (#113970)
* Make Canvas Workpads Share Capable

* Address some PR feedback

* Fix types

* Fix reporting view

* Fix unused import

* Fix lint issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2021-10-05 14:57:00 -04:00