Commit graph

42860 commits

Author SHA1 Message Date
Kibana Machine
c0abdcdbb2
[APM] Fix missing input vars for Fleet UI (#105384) (#106195) (#106295)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Oliver Gupte <ogupte@users.noreply.github.com>
2021-07-20 15:22:45 -04:00
Kibana Machine
ce08d7c359
[Security Solution][Alerts] - Add alerts subfeature UI (#105505) (#105703)
###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

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2021-07-20 18:30:18 +00:00
Kibana Machine
5eb1eaa078
[Synthetics] Fix mobile synthetics image clipping (#106128) (#106284)
* Change hardcoded image size value to prevent clipping of mobile synthetics screenshots.

* Compute max values for `ref`-style screenshots to improve display ux.

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
2021-07-20 14:22:40 -04:00
Kibana Machine
a74a3a2067
[RAC] [TGrid] Field browser implemented in EuiDataGrid toolbar (#105207) (#106278)
* tGid header using EuiDataGrid

* useFetchIndex migrated and column_headers refactor

* removed useless mock

* add badges translations

* i18n translations keys fixed

* code format

* filter default columns not present in field browser

* reset button to initial columns

* cleaning

* dependencies moved

* fix functional test with missing data service

* remove unused code (unrelated)

* fieldBrowser integration with security solutions timeline

* lint and translations cleaned

* timeline toolbar removed for merge & some test fixes

* type fix

* type fixes

* timeline static default colums

* limit size temporary increase

* limit size temporary increase

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

Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
2021-07-20 14:12:28 -04:00
Kibana Machine
433e4939bc
[APM] source map bundle_filepath is not cleaned (#105973) (#106273)
* cleaning basepath url

* cleaning url

* cleaning url

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

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2021-07-20 13:46:00 -04:00
Kibana Machine
3f01f1fd59
[kbn/optimizer] store references to bazel target for all package files (#106171) (#106271)
* [kbn/optimizer] store references to bazel target for all package files

* update jest snapshots

* remove unnecessary fixtures

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-20 13:40:18 -04:00
Kibana Machine
78977780b6
[bug] don't convert KbnServerErrors again (#106220) (#106265)
* don't convert KbnServerErrors again

* Add test

* fixy fix

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-07-20 12:42:56 -04:00
Kibana Machine
e67c9a1a24
[ML] Transforms: Fixes overflow of data grid into side navigation (#106091) (#106261)
* [ML] Transforms: Fixes overflow of data grid into side navigation

* [ML] Remove unnecessary whitespace

* [ML] Remove wrapping div on app

Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
2021-07-20 16:33:43 +00:00
Yaroslav Kuznietsov
6e9dcc2c34
[Canvas] String ui argument refactor. (#105742) (#106257)
* Refactored `string` argument ui.

* Moved to useCallback.

* Removed `_.get`.

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-20 12:32:25 -04:00
Yaroslav Kuznietsov
2e010689b1
Textarea argument refactored. (#106232) (#106259) 2021-07-20 12:32:01 -04:00
Kibana Machine
f12e19ab1d
Textarea argument refactored. (#106232) (#106258)
Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
2021-07-20 12:31:21 -04:00
Ece Özalp
ae3fc4008b
[CTI] converts disabled panel danger to warning (#104989) (#106178)
# Conflicts:
#	x-pack/plugins/security_solution/public/overview/components/overview_cti_links/cti_disabled_module.tsx
2021-07-20 12:14:29 -04:00
Ece Özalp
ef05b4b05f
[CTI] adds Recorded Future link (#105301) (#106180)
# Conflicts:
#	x-pack/plugins/security_solution/public/overview/components/overview_cti_links/threat_intel_panel_view.tsx
2021-07-20 12:09:48 -04:00
Nick Partridge
73cd18968a
Update dependency @elastic/charts to v33 (master) (#105633) (#106251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2021-07-20 11:54:22 -04:00
Kibana Machine
6b9d1dc8d3
[TSVB] fix No longer possible to define intervals like >=1m or >=12h (#105954) (#106245)
* [TSVB] fix No longer possible to define intervals like >=1m or >=12h

Closes: #105854

* add tests, remove extra logic

* add functional test, update help text

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

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-07-20 11:32:28 -04:00
Diana Derevyankina
f9d52091f2
[TSVB] Add more functional tests for Table (#105060) (#106241)
* [TSVB] Add more functional tests for Table

* Update filter ratio setting numerator denominator function

* Refactor set filter ratio numerator and denominator functions in visual_builder_page.ts

* Update setFilterRatioOption function
2021-07-20 11:27:23 -04:00
Kibana Machine
90dde46fad
Use empty string for unassigned Display Settings fields (#105921) (#106240)
Co-authored-by: Chenhui Wang <54903978+wangch079@users.noreply.github.com>
2021-07-20 15:21:22 +00:00
Kibana Machine
1c285563fa
Fix Users copy to account for built-in users (#106166) (#106238)
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-07-20 11:20:20 -04:00
Kaarina Tungseth
ba34cf5a95
[7.x] [DOCS] Removes coming tags from 7.13.4 release notes (#106111) (#106112) 2021-07-20 09:02:54 -05:00
Kibana Machine
9e2ca44a6e
[Security Solution] Alert flyout overview (#105602) (#106230)
* init flyout overview

* styling

* remove reason block

* rm unused i18n key

* show data by event category

* rename styled component

* update snapshot

* update overview tab on alert flyout

* styling

* fix up

* update snapshot and remove unused i18n

Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
2021-07-20 10:02:14 -04:00
Kibana Machine
48875d415e
[Osquery] 7.14 bug squash (#105387) (#106227)
Co-authored-by: Bryan Clement <bclement01@gmail.com>
2021-07-20 09:33:39 -04:00
Kibana Machine
ba14e94bdb
Fix top controls responsive layout (#106107) (#106225)
Co-authored-by: Kerry Gallagher <471693+Kerry350@users.noreply.github.com>
2021-07-20 09:13:57 -04:00
Stratoula Kalafateli
67646f83a0
[Vislib XY axis] Adds a deprecation notice in the UI and a docs section (#105055) (#106221)
* [Vislib XY axis] Adds a deprecation notice in the UI and a docs section

* Remove cyclic dependency

* Fix link

* Add functional test

* fix functional tests

* Apply PR comments

* Update docs/user/dashboard/aggregation-based.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Apply PR changes

* minor

* Change the implementation

* Use title calse in Advanced Settings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-20 08:41:07 -04:00
Kibana Machine
ce4fee9328
[Reporting] Unskip flaky test when downloading CSV with "no data" (#105252) (#106210)
* unskipped test and added additional checks when using time picker

* rather wait for the timepicker to close

* set up test for flaky test runner

* Additional .only

* Remove .only

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

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-07-20 10:42:00 +00:00
Kibana Machine
d7072ea072
Space management page UX improvements (#100448) (#106211)
* Updated spaces management page

* Fixed test failures

* updated snapshot

* Added suggestions form code review

* Fixed unit test

* Review suggestion #2

* WIP

* Fix build errors

* fix type

* remove test for popup that doesnt exist anymore

* fix test

* fix a11y issues

* fix a11y issue

* Removed unused css

* Fix functional test

* Added suggestions from code review

* Fix typescript errors

* Added suggestions from code review

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

Co-authored-by: Thom Heymann <190132+thomheymann@users.noreply.github.com>
2021-07-20 06:40:29 -04:00
Kibana Machine
74e944ebe3
[Security Solution]Memory protection configuration card for policies integration. (#101365) (#106129)
Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
2021-07-20 10:25:46 +00:00
Marco Vettorello
e68d6133b8
Update dependency @elastic/charts to v32 (#104625) (#106201)
Co-authored-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-20 06:06:44 -04:00
Kibana Machine
5bada6f189
[Observability RAC] Improve alerts table columns (#105446) (#106196)
* right align duration on alerts observability table

* reason column takes up the remaining width

* add horizontal scrollbar to the table

* add actions label temp solution

* use abbreviated format for duration

* Internationalization for actions

* remove horizontal scroll and bring back initial width

* remove unused import

* remove data as dependency

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

Co-authored-by: mgiota <giota85@gmail.com>
2021-07-20 03:55:47 -04:00
Aleh Zasypkin
9aa5c806e1
Introduce preboot lifecycle stage (#103636) (#106194)
# Conflicts:
#	.github/CODEOWNERS
#	src/core/server/ui_settings/ui_settings_service.ts
2021-07-20 03:11:45 -04:00
Kibana Machine
0fd063904a
[Security Solution] Invalid kql query timeline refresh bug (#105525) (#106193)
* poc test

* adds disable for refresh button

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

Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
2021-07-20 02:47:02 -04:00
Yara Tercero
c118d0f15a
[Security Solution] - Updates breadcrumbs text for returning to rules page (#104805) (#106161)
### Summary
Updates breadcrumbs text for returning to rules page from rule creation and rule details.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-20 01:28:08 -04:00
Ece Özalp
630330b580
[CTI] updates overview cti panel copy (#105074) (#106179) 2021-07-19 20:03:03 -04:00
Ece Özalp
e57d2f7044
[CTI] Adds validation to Indicator index pattern (#105649) (#106177)
* [CTI] Adds validation to Indicator index pattern
2021-07-19 19:54:19 -04:00
Ece Özalp
2be8782321
updates NoEnrichmentPanel props (#106022) (#106044) (#106175)
Co-authored-by: Ece Özalp <ozale272@newschool.edu>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-19 19:53:47 -04:00
Ece Özalp
38d4e4d22f
[CTI] removes inspect button (#105988) (#106176)
* [CTI] removes inspect button
2021-07-19 19:53:34 -04:00
Ece Özalp
bcfaf237b9
[CTI] makes dashboard links external (#104979) (#106174)
* [CTI] makes dashboard links external
2021-07-19 19:47:49 -04:00
Paul Tavares
80739c6976
[Security Solution][Endpoint] Fix UI inconsistency between isolation forms and remove display of Pending isolation statuses (#106118) (#106172)
* comment out UI display of pending isolation statuses and associated tests
* Change un-isolate form to use `EuiForm` and `EuiFormRow`
* Fix: move component `displayName` to file that has that component's src
2021-07-19 19:41:36 -04:00
Yara Tercero
f738324c5b
[Security Solution][Exceptions] - update exception lists page title and exceptions navigation title (#104803) (#106169)
### Summary

Updates exception lists page title and exceptions navigation title to "Exceptions"
2021-07-19 19:33:53 -04:00
Kate Farrar
c70197cd9b
[Metrics UI] Inventory layout issues - interval language to tooltip (#105687) (#106167)
inventory view - moved interval label language to a tooltip to make more room for waffle map controls responsively
2021-07-19 19:27:38 -04:00
Kate Farrar
658cfc0fdd
[Observability] Obs Overview cleanup & Metrics section layout fix (#104577) (#106164)
* updating overview page layout to accommodate side bar nav, fixing metrics table responsive issues, style updates
2021-07-19 19:23:58 -04:00
Tiago Costa
f4e30786a1
skip flaky suite (#106121) 2021-07-20 00:09:46 +01:00
Chris Cowan
885f538d2a
[Metrics UI] Drop partial buckets from ALL Metrics UI queries (#104784) (#106153)
* [Metrics UI] Change dropLastBucket to dropPartialBuckets

- Change offset calculation to millisecond percission
- Change dropLastBucket to dropPartialBuckets
- Impliment partial bucket filter
- Adding partial bucket filter to metric threshold alerts

* Cleaning up getElasticsearchMetricQuery

* Change timestamp to from_as_string to align to how date_histgram works

* Fixing tests to be more realistic

* fixing types; removing extra imports

* Fixing new mock data to work with previews

* Removing value checks since they don't really provide much value

* Removing test for refactored functinality

* Change value to match millisecond resolution

* Fixing values for new partial bucket scheme

* removing unused var

* Fixing lookback since drops more than last buckets

* Changing results count

* fixing more tests

* Removing empty describe

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-19 18:26:35 -04:00
Kibana Machine
6fff2ea6e6
[CTI] Adds indicator match rule improvements (#97310) (#106152)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Ece Özalp <ozale272@newschool.edu>
2021-07-19 17:48:40 -04:00
Kibana Machine
c4c6844b71
[Security Solution] update text for Isolation action submissions (#105956) (#106149)
Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2021-07-19 21:36:04 +00:00
Kibana Machine
1548844be6
EP Meta Telemetry Perf (#104396) (#106148)
* Add comments for other developers.

* Move OS infomation into meta key.

* Refmt endpoint metrics.

* Add helper funcs to batch sending.

* Add test to ensure opt in status.

* Add helpers test.

* Finish reshaping the document based on feedback.

* Add better type safety. Add policy package version to output.

* Fix sender implementation for aggregating EP datastreams.

* Fix type issues.

* Fix cadence inference + miss default agent id.

* Dynamically control search ranges for metrics + policy responses.

* Set back to 24h.

* Add comment for ignoring the default policy id.

* explicitly type the sub agg search query.

* Improve type safety.

* Add additional type safety + try/catch the last block.

* Remove unneeded optional chaining.

* Destructure host metrics.

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

Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>
2021-07-19 17:35:55 -04:00
Brandon Morelli
7d6a866a00
docs: APM RUM Source map API (#105332) (#106157) 2021-07-19 16:37:56 -04:00
Kibana Machine
8f79cee7b2
[Observability RAC] Remove indexing of rule evaluation documents (#104970) (#106138)
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
2021-07-19 16:04:35 -04:00
Quynh Nguyen
1212e0fa1c
[ML] Fix Index data visualizer sometimes shows wrong doc count for saved searches (#106007) (#106136)
* [ML] Fix flaky saved search

* [ML] Re-enable tests

* [ML] Make data viz the only tests for flaky test suite runner

* [ML] Make ML only

* [ML] Remove describe.only

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-19 15:40:21 -04:00
Kibana Machine
50d6106e56
Instrument vis_type_vislib, lens and vis_type_timeseries with execution context service (#105206) (#106117)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-19 19:19:19 +00:00
DeDe Morton
dde965559d
Remove beta admonitions for Fleet docs (#106010) (#106143) 2021-07-19 15:01:40 -04:00