Commit graph

43930 commits

Author SHA1 Message Date
Yuliia Naumenko 73e8871be0
[Alerting][Docs] Support enablement documentation. (#101457)
* [Alerting][Docs] Support enablement documentation.

* additional docs

* fixed links

* Apply suggestions from code review

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

* fixed common issues

* Apply suggestions from code review

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

* fixed due to comments

* fixed TM health api page

* fixed TM health api page 2

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed due to the comments

* fixed due to the comments

* fixed experimental flag

* fixed due to the comments

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Update docs/user/alerting/alerting-troubleshooting.asciidoc

Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed due to the comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-06-28 11:57:17 -07:00
Byron Hulcher 043a2e2fe8
[App Search] New Precision Slider for Relevance Tuning (#103015)
* Precision is now a required param for search settings

* Made RelevanceTuningLogic aware of precision param

* New PrecisionSlider component

* Add PrecisionSlider to RelevanceTuning

* Fix types in test

* Fix imports for PrecisionSlider

* Slight panel and text adjustments.

* Comment out docs link

* Add commented out test for docs

* Can we just all agree not to talk about this commit

* Restore docs link

* Fix docs link again

* Clean-up step description logic

* Test for documentation link

* Moving the spacer to align titles.

* Missing test for updatePrecision

* Fix CSS for step description

* Remove containing EuiPanel

* Improve screen reader experience

Co-authored-by: Davey Holler <daveyholler@hey.com>
2021-06-28 14:50:32 -04:00
Wylie Conlon cfd836014d
[Vega] Allow faceted Vega-Lite charts to take correct size (#103352)
* [Vega] Allow faceted Vega-Lite charts to take correct size

* Add unit test

* Update autosize docs

* Add warning when autosize=none

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 14:41:06 -04:00
Jonathan Budzenski 3f0197e323 Revert "[Enterprise Search] Add beta notification (#103429)"
This reverts commit 60d1ef9f92.
2021-06-28 13:35:10 -05:00
Kevin Logan 73919aa766
[Security Solution] Add Windows and macOs option to dropdown for creating Exceptions from scratch (#103404) 2021-06-28 14:23:27 -04:00
Pierre Gayvallet 62e79ffaae
[RFC] Node.js clustering in Kibana (#94057)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-06-28 12:22:49 -06:00
Constance d1c3183ca7
Update jest.sh file to strip leading './' dir (#103507) 2021-06-28 14:21:54 -04:00
Poff Poffenberger 9c2605398f
[Canvas] Improvements to datasource expressions including SQL parameter support and array leniency (#99549)
* Remove es sql strategy from behind Labs project, remove legacy essql code, remove last spot of legacy elasticsearch client from canvas

* clean up test

* fix es field test

* remove comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 13:19:22 -05:00
Dario Gieselaar b51af01adc
[APM] Support records in strict_keys_rt (#103391)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 20:03:30 +02:00
Dario Gieselaar 0f9b715dff
[APM] Invert tint fraction after polished upgrade (#103439)
Closes #103061. We use polished.tint() in several places to have a subdued highlight for an element. With the polished upgrade to 3.x from several weeks ago came a bug fix for tint() that applied the tint fraction in a different way. The fix for us to invert those fractions (eg 0.1 becomes 0.9).
2021-06-28 20:02:44 +02:00
Dmitry Shevchenko 706298d2bb
Fix 404 error on deleted rule alert view (#103491) 2021-06-28 19:58:10 +02:00
Constance 60d1ef9f92
[Enterprise Search] Add beta notification (#103429)
* Set up new BetaNotification component

* Update shared page template to append new beta notification item to side nav

NOTE: I'm mutating the array because:
- returning a new instance leads to a lot of really annoying type errors
- the side nav's we're getting are entirely static with predictable items & and always come from us anyway
- this is eventually going to get removed, and I'm optimizing for easy-to-remove code

* Add beta notification to error connecting state

- to help users/SDH cases where users cannot connect at all
2021-06-28 10:55:53 -07:00
Nathan L Smith ca42cf9269
Add @storybook/testing-react (#103004) 2021-06-28 12:34:43 -05:00
Spencer 99d3f8b768
[kbn/optimizer] fix optimizerCache creation (#103190)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 13:10:36 -04:00
Alison Goryachev 6b9c66ad24
[ILM] Update API integration test (#103495) 2021-06-28 13:05:37 -04:00
Ece Özalp 5f2392f87d
[CTI] Adds Threat Intel dashboard links to Overview page (#100423) 2021-06-28 13:02:18 -04:00
Larry Gregory af38aca3fd
Role Management: improve editing experience for DLS queries (#99977)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 12:55:55 -04:00
Luke Elmers d2690d8ac8
[migrations v2] Integration test for multi-node cluster. (#100957) 2021-06-28 12:49:38 -04:00
Nathan L Smith 6a2b968767
Observability side navigation for cases and alerts (#102556) 2021-06-28 11:48:32 -05:00
Greg Thompson bd32299c13
Upgrade EUI to v34.5.1 (#103297)
* eui to 34.5.0

* snapshot updates

* Fix some page layouts

* eui to 34.5.1

Co-authored-by: cchaos <caroline.horn@elastic.co>
2021-06-28 11:31:23 -05:00
Melissa Alvarez dfeecb902f
[ML] Data Frame Analytics creation wizard: ensure included fields table updates correctly (#103191)
* fix includes table rerender loop

* remove unnecessary comment
2021-06-28 12:31:10 -04:00
Alexey Antonov 15b0dbff7b
[TSVB] Fix references to the index pattern are not embedded when exporting a saved object (#103255)
* [TSVB] Importing a dashboard with only TSVB viz on another space, breaks the dashboard

Closes: #103059

* move index-pattern to constant

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 19:18:30 +03:00
David Sánchez 96fe9c23f8
[Security solution][Endpoint] Get os name from host.os.name when agent type endpoint (#103450)
* When type endpoint gets os type from os name instead of os family

* Allow users add event filters only for endpoint events

* Fixes error with wrong map function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 17:48:54 +02:00
Constance 84e1b01ceb
Result settings: Fix restore defaults copy (#103413)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 08:39:27 -07:00
David Sánchez 43a897e640
[Security Solution][Endpoint] The refresh button triggers always a refresh action (#103118)
* Triggers search even if the query hasn't changed

* Add await on async function call

* refactor, use forceSearch store flag instead of new actin type to force search

* fix error when refreshing trusted apps

* Fix ts-error by adding ts-ignore '{ type: "LoadingResourceState"; previousState: ImmutableObject<UninitialisedResourceState> | ImmutableObject<LoadingResourceState<EventFiltersListPageData, ServerApiError>> | ImmutableObject<...> | ImmutableObject<...>; }' is not assignable to type 'ImmutableObject<{ forceRefresh: boolean; }>'.
        Object literal may only specify known properties, and 'type' does not exist in type 'ImmutableObject<{ forceRefresh: boolean; }>'
2021-06-28 17:24:26 +02:00
Stratoula Kalafateli 8fa4421cac
Update TSVB docs with guidelines on how to group by multiple fields (#103224)
* Update TSVB FAQ section with guidelines on how to group by multiple fields

* Apply text suggestion
2021-06-28 18:13:31 +03:00
Tiago Costa 22d5c90855
chore(NA): moving @kbn/spec-to-console into bazel (#103470)
* chore(NA): moving @kbn/spec-to-console into bazel

* chore(NA): fix licenses
2021-06-28 15:58:41 +01:00
Paul Tavares 91fc3cc2b9
[Security Solution][Endpoint] Refresh action and comments on the Case Details view when Isolation actions are created (#103160)
* Expose new Prop from `CaseComponent` that exposes data refresh callbacks
* Refresh case actions and comments if isolation was created successfully
2021-06-28 10:39:23 -04:00
Yuliia Naumenko 648841429c
Update health.asciidoc 2021-06-28 07:35:03 -07:00
Josh Dover 6ba26db8d3
Add warning toast when server.publicBaseUrl not configured correctly (#85344) 2021-06-28 10:24:13 -04:00
Shahzad 4f45535c90
[Exploratory view] Update types names (#103214) 2021-06-28 15:55:53 +02:00
ymao1 2ff2a6fa50
Adding tooltip to rules that are disabled due to license (#103295)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 09:47:32 -04:00
Joe Reuter f89dc9cc31
sanitize drilldown (#103299) 2021-06-28 14:16:08 +02:00
Kyle Pollich 96c4350289
Remove post-installation redirect for integrations (#103179)
When installation integrations via the browse -> add integration flow in
the integrations UI, we will no longer redirect the user back to the
integration details page.

Closes #100978

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 08:13:41 -04:00
Joe Reuter bfadab6324
[Lens] Improve pie suggestions (#102755) 2021-06-28 12:05:46 +02:00
Aleh Zasypkin c4fb693035
RFC: Kibana preboot lifecycle stage. (#99318) 2021-06-28 10:54:25 +02:00
Constance 45dfaac75f
[Enterprise Search] Test coverage pass (#103406)
* Do not collect code coverage on test_helpers

Note:  some test helpers are no longer being used but might be some day - e.g., shallowWithIntl will be used on the beta badge

* Fix uncovered type line

- since we're not iterating over productNames, no need for it to be an array - it can be written more clearly in string union format

* Fix branch coverage on index.tsx

- Since KibanaLogic is setting `|| {}` fallbacks in any case, I've opted to remove them in this file and let fallbacks be handled there

- Fixed typing to make it clear plugins can be undefined (i.e., disabled/optional, etc) in props + reorganize w/ comments

- KibanaValues requires an Omit to override props types

* Crawler DomainsTable test coverage/improvements

- Fix test failing locally due to timezones by increasing the timezone offset

- Cover missing branch line by adding a domain with no `lastCrawl`

- Remove unnecessary extra beforeEach with dupe re-shallow/mounts

- move getTable helper to its most relevant block (it's not being used in the generic column content checks, only in the actions column suite)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-27 21:45:39 -07:00
Constance d339479e09
[App Search] Success toast polish pass (#103410)
* Fix toasts rerendering/resetting between page navigations + z-index issues

- note: I opted to delete the `<Callouts>` component in favor of just reverting it to the old `<FlashMessages>`, now that FlashMessages is no longer responsible for toasts

* Update engine creation success messages
- to use a toast instead of a callout
- update copy to match EUI guidelines

* Update engine deletion success message
- to use a toast instead of a callout
- update copy to match EUI guidelines

* Update source engines add/delete success messages
- to use a toast instead of a callout
- update copy to match EUI guidelines

* Update crawler domain delete message
- to use a toast instead of a callout
- update copy to match EUI guidelines

* Update API key create/update/delete sucess messages
- to use a toast instead of a callout
- update copy to match EUI guidelines

* Update curations delete success message
- to use a toast instead of a callout
- update copy to match EUI guidelines

* Update results settings success message
- to use a toast instead of a callout
- update copy to match EUI guidelines

* Update relevance tuning success/reset messages
- to use a toast (+ toast message) instead of a callout
- update copy to match EUI guidelines

* Update document deletion success message
- to use a toast instead of a callout (+ split additional text)
- update copy to match EUI guidelines

* Update role mappings create/update/delete success messages
- to use a toast instead of a callout
- update copy to match EUI guidelines

* Run i18n_check --fix

- per localization team guidelines - strings that have been changed should get deleted/scheduled to be re-translated

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 00:28:21 -04:00
Constance 084336a2d8
Role mappings: remove deprecated reset copy (#103411)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 00:28:02 -04:00
Nicolas Chaulet 8b653fb85a
[Fleet] Add a message when log collection is disabled on the log details page (#103166) 2021-06-27 21:27:30 -04:00
Liza Katz 07af5d31c7
[Query] Remove es query dependency on format.convert (#103174)
* remove es query dependency on format.convert

* fix types

* types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-27 17:35:01 +01:00
Michael Marcialis df8787b104
Home & Kibana Overview Page Template Update (#103003)
* apply page template comp to kibana overview

* apply page template comp to home page

* clean up

* strip null actions from array

* update snapshot and remove outdated import

* fix tests and update snapshots

* update tests and snapshots

* Switch to KibanaPageTemplate; use template=“empty”

* update snapshots

* make `EuiCard` transparent

* updated snapshots

* restored data-test-subj="homeApp"

* change scope of styles

* update snapshots
2021-06-25 20:58:52 -04:00
Pete Harverson c6d04a9195
[ML] Converts management app jobs list pages to new layout (#103117)
* [ML] Converts management app jobs list pages to new layout

* i[ML] Fix translations

* [ML] Set acccessDenied default state back to false

* [ML] Remove headers for error states and text updates following review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 21:57:57 +01:00
Pierre Gayvallet 672653776d
Allow additive csp configuration (#102059)
* add additive csp configuration

* add unit tests for new class

* fix types

* adapt test utils

* fix tests

* more unit tests on config

* generated doc

* review comments

* update ascii doc

* update ascii doc links

* automatically add single quotes for keywords

* add missing csp directives

* add more tests

* add additional settings to asciidoc

* add null-check

* revert test config props

* fix usage collection usage

* some review comments

* last review comments

* add kibana-docker variables

* try to fix doc reference

* try to fix doc reference again

* fix tests
2021-06-25 20:41:37 +02:00
Wylie Conlon d16a464a4c
[Lens] Document common formulas in product and add formula tutorial (#103154)
* [Lens] Document common formulas in product and add formula tutorial

* Make common formulas appear in sidebar and format consistently

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 13:13:57 -04:00
Marco Liberati dfc70bdfd1
[Lens] Enable actions on Lens Embeddable (#102038)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 14:59:36 +02:00
Patryk Kopyciński 922d7cc73d
[Osquery] Return proper indices permissions for osquery_manager package (#103363) 2021-06-25 10:03:46 +02:00
Vadim Dalecky baf2de5415
Dashboard locator (#102854)
* Add dashboard locator

* feat: 🎸 expose dashboard locator from dashboard plugin

* Use dashboard locator in dashboard drilldown

* Add tests for dashboard locator

* Fix dashboard drilldown tests after refactor

* Deprecate dashboard URL generator

* Fix TypeScript errors in exmaple plugin

* Use correct type for dashboard locator

* refactor: 💡 change "route" attribute to "path"

* chore: 🤖 remove unused bundle

Co-authored-by: Vadim Kibana <vadimkibana@gmail.com>
Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 07:58:03 +02:00
Vadim Dalecky bc6ee27a29
Maps locators (#102810)
* feat: 🎸 implement maps locator

* feat: 🎸 add tile map locator

* feat: 🎸 add region map locator

* feat: 🎸 register maps locators

* refactor: 💡 remove usage of mpas url gen, replace by locator

* chore: 🤖 remove url generators

* refactor: 💡 use locators in maps deprecation messages

* chore: 🤖 remove maps url generators

* refactor: 💡 use new property name

* feat: 🎸 use constant

Co-authored-by: Vadim Kibana <vadimkibana@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 07:55:06 +02:00
Andrew Kroh bc8ba8314a
[Fleet] Add support for constant_keyword "value" in package field definitions (#103000)
This enables Fleet to accept package field definitions that declare a constant "value"
for `constant_keyword` fields. Fleet will generate an index template for the constant_keyword
field that contains the `value` attribute.

Relates: https://github.com/elastic/package-spec/pull/194

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 00:22:29 -04:00