Commit graph

57276 commits

Author SHA1 Message Date
Constance
46867a37be
Use @emotion/server for server-side security prompts (#142662) (#142689)
* Update all `@emotion` dependencies to latest

* Install `@emotion/server`

* Use Emotion server-side rendering for security prompt pages

* snapshots

(cherry picked from commit 899081a451)
2022-10-04 18:06:32 -07:00
Kibana Machine
cc6a5ad175
Added margin at the bottom to fully show event description list (#142529) (#142678)
(cherry picked from commit 45ad233c81)

Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
2022-10-04 16:39:59 -07:00
Kibana Machine
10ca272121
[Security Solution] Ignore timerange in session view, to mirror session view component (#141137) (#142677)
* Ignore timerange in session view, to mirror session view component

* Remove timerange from process ancestry insight

(cherry picked from commit 7a6ff848ab)

Co-authored-by: Kevin Qualters <56408403+kqualters-elastic@users.noreply.github.com>
2022-10-04 16:08:49 -07:00
Kibana Machine
118588db0c
[Enterprise Search] Custom pipelines update optimistically on creation (#142639) (#142660)
* [Enterprise Search] Custom pipelines update optimistically on creation

* Fix tests

(cherry picked from commit 7684d92efa)

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2022-10-04 13:21:02 -07:00
Kibana Machine
3b7c409cad
Fix: Consider all summary pings to determine if monitor is only fleet managed. (#142004) (#142659)
* Consider all ping to determine if monitor is only fleet managed.

* Close popover on outside click as the built-in functionality is buggy.

* Handle the case where only private locations are selected among a mix of locations.

(cherry picked from commit 1eb059de11)

Co-authored-by: Abdul Wahab Zahid <awahab07@yahoo.com>
2022-10-04 13:12:50 -07:00
Kibana Machine
1fc372c965
[APM] Adding tech preview on the logs tab for AWS lambda service (#142605) (#142658)
* [APM] Adding tech preview on the logs tab for AWS lambda service

* Addressing pr comments

(cherry picked from commit d0def9eef1)

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2022-10-04 13:11:47 -07:00
Kibana Machine
b8f1153abf
[RAM] Fix rule details page not displaying the rule snooze status properly (#142292) (#142637)
* Fix rule details not displaying rule snooze status

* Unit and E2E tests

* Fix test

* Fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 43bbbc6b27)

Co-authored-by: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
2022-10-04 12:02:51 -07:00
Kibana Machine
9444b706bb
[Synthetics] preserve id field on monitor attributes (#142478) (#142648)
* synthetics - preserve id field on monitor attributes

* adjust tests

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* adjust jest tests

* adjust tests

* adjust types

* adjust tests

* adjust types

* update tests

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 61342b3073)

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2022-10-04 11:57:41 -07:00
Kibana Machine
3b72224213
[Osquery] Fix ResponseActions form logic (#142612) (#142643)
(cherry picked from commit 04189db4c5)

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2022-10-04 11:36:23 -07:00
Kibana Machine
7efab0a703
[Security Solution] [Cases] Bugfix, properly encode externalId json (#142624) (#142641)
(cherry picked from commit df9d1e866d)

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
2022-10-04 10:58:34 -07:00
Kibana Machine
042caf313d
Checking if security license isEnabled, and if not, throwing 404 that is expected downstream (#142410) (#142638)
(cherry picked from commit 36b2296fe8)

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2022-10-04 10:33:11 -07:00
Kibana Machine
9c5a6f20c5
Update copy for authentication header form (#142620) (#142633)
(cherry picked from commit 4c18c0a25e)

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2022-10-04 10:13:07 -07:00
Kibana Machine
92ea4f2a5d
[Enterprise Search] Update copy for landing page (#141979) (#142632)
(cherry picked from commit 1c25d93cd2)

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2022-10-04 10:09:31 -07:00
Kibana Machine
eaac8ce5f6
Remove Minutes from connector scheduling frequency dropdown (#142619) (#142631)
(cherry picked from commit 19734bc35e)

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2022-10-04 10:07:20 -07:00
Jonathan Budzenski
e6b0ccdd9e skip flaky suite. #139676 2022-10-04 11:46:47 -05:00
Kibana Machine
cdd54ea998 skip failing test suite (#142564) 2022-10-04 10:38:17 -06:00
Kibana Machine
ce7621e94d
Removing link from native connector advanced configuration steps (#142541) (#142621)
(cherry picked from commit d7700a609f)

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2022-10-04 09:11:47 -07:00
Kibana Machine
178230a766
[Uptime] Unskip flaky api test (#142595) (#142613)
(cherry picked from commit b798f9f627)

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2022-10-04 08:29:10 -07:00
Kibana Machine
6b98f69525
[Fleet] Update unenroll logic to account for new API key fields (#142579) (#142604)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f147fe8b98)

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2022-10-04 07:35:52 -07:00
Kibana Machine
88c8949749
[8.5] [Enterprise Search] Add ml doc links (#141921) (#142587)
* [Enterprise Search] Add ml doc links (#141921)

* Add documentation links for ml inference card and modal

* Fix link

(cherry picked from commit b66d12a40c)

* Fix link type for 8.5

Co-authored-by: Efe Gürkan YALAMAN <efeguerkan.yalaman@elastic.co>
2022-10-04 07:19:39 -07:00
Kibana Machine
d8fc49ae3a
[Security Solution][Analyzer] Make all analyzer apis have time range as optional (#142536) (#142601)
(cherry picked from commit 890bf7430c)

Co-authored-by: Kevin Qualters <56408403+kqualters-elastic@users.noreply.github.com>
2022-10-04 07:15:06 -07:00
Uladzislau Lasitsa
99d6218b88
[TSVB][Lens]Fix conversion from static value in timeseries to reference line in lens (#142453) (#142596)
* Fix conversion static value in timeseries to reference line in lens

* Doesn't allow convert static value with split

* Fix condition

* Ignore axis position from model for top n

* Added tests

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 8e770bb608)

# Conflicts:
#	src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.test.ts
#	src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.ts
#	src/plugins/vis_types/timeseries/public/convert_to_lens/top_n/index.ts
2022-10-04 06:56:45 -07:00
Kibana Machine
e55eebd128
[Synthetics] Increase project API payload limit (#142140) (#142597)
(cherry picked from commit 6824718c0a)

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2022-10-04 06:51:11 -07:00
Kibana Machine
95e32aaab5
Removing esArchiver in favor of testDataLoader for bulk_get Saved Objects integration tests (#140998) (#142600)
* Removing esArchiver in favor of testDataLoader

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Adding test data for loader

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Adding generic TestDataLoader

* Importing just the type per PR feedback

* Changing testDataLoader function names to be more descriptive

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Thomas Watson <watson@elastic.co>
(cherry picked from commit 6875d18d0f)

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2022-10-04 06:46:20 -07:00
Kibana Machine
7dcf3da9b0
added beta tag for linux config (#142171) (#142594)
(cherry picked from commit b62c0f98cf)

Co-authored-by: Rickyanto Ang <rickyangwyn@gmail.com>
2022-10-04 06:40:38 -07:00
Kibana Machine
695718b56d
Allow null description field value to round trip from server (#142540) (#142592)
(cherry picked from commit bcfa351f06)

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2022-10-04 06:23:37 -07:00
Kibana Machine
3140395f7d
[ML] Explain Log Rate Spikes: Fix error handling. (#142047) (#142588)
- Fixes error handling that before was not providing enough information for debugging purposes and support. This will now output more fine grained error information to the Kibana server log. The analysis is now more resilient to errors for individual queries. For example, we don't stop the analysis anymore if individual queries for p-values or histograms fail.
- Moves the error callout above all other possible elements like empty prompts when the analysis doesn't return results.

(cherry picked from commit 4753d7c170)

Co-authored-by: Walter Rafelsberger <walter.rafelsberger@elastic.co>
2022-10-04 06:17:09 -07:00
Kibana Machine
9c10e55f77
[Profiling] Show Top 1000 functions (#142391) (#142590)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 8be7668d20)

Co-authored-by: Tim Rühsen <tim.ruhsen@elastic.co>
2022-10-04 06:02:52 -07:00
Angela Chuang
0f4073bd2d
[Security Solution] Update visualizationType (#141235) (#142586)
* update visualizationType

* update labels

* add snapshots for charts

(cherry picked from commit d915169c50)
2022-10-04 05:56:40 -07:00
Kibana Machine
30b43ff67f
[Infra] Make nav react to Hosts view enabled flag changing (#142477) (#142585)
* [Infra] Make nav react to Hosts view enabled flag changing (#140996)

* Move comment to more relevant location

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit d60acf8774)

Co-authored-by: Milton Hultgren <milton.hultgren@elastic.co>
2022-10-04 05:28:45 -07:00
Kibana Machine
ae18bf11f1
Fix: Render 404 step screenshots as "Image not available". (#142320) (#142583)
By default, mark `allStepsLoading = true` where steps loading isn't important.

(cherry picked from commit a43f235c28)

Co-authored-by: Abdul Wahab Zahid <awahab07@yahoo.com>
2022-10-04 05:11:32 -07:00
Kibana Machine
71cab61b2e
[Fleet] Allow agent force upgrading to a newer patch release (#142450) (#142581)
(cherry picked from commit b8c17b0227)

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2022-10-04 05:08:45 -07:00
Kibana Machine
0a456a12f9
[Security Solution][Detections] refactors update rule actions tests (#142464) (#142567)
## Summary

- addresses https://github.com/elastic/kibana/issues/138757

according to proposal in above task:
- removes step of updating immutable rule with mock data
- makes assertions whether rule properties were not modified against fetched earlier immutable rule

### 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

(cherry picked from commit 10884e6a5f)

Co-authored-by: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com>
2022-10-04 04:08:11 -07:00
Ashokaditya
93229592d7
[Security Solution][Endpoint][Response Actions] Gate response actions history page based on license (#142470)
* Gate response actions history page based on license

fixes elastic/security-team/issues/5118

* useUserPrivileges isntead

review changes (@paul-tavares)

* don't register the route if no access

review changes (@paul-tavares)

* reset mocked privilege

review changes (@paul-tavares)
2022-10-04 12:52:11 +02:00
Kibana Machine
cd91e866ae
[Osquery] Another batch of small fixes (#142193) (#142543)
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 01113b265b)

Co-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2022-10-04 02:46:59 -07:00
Kibana Machine
4453816724
Mimic native link behaviour for SPA links (#142304) (#142487)
**Fixes:** [#99077](https://github.com/elastic/kibana/issues/99077)

## Summary

It allows to open a rule in a new tab by clicking on a rule link in the Manage Rules table with a pressed modifier key. Basically it checks for the meta key, shift and ctrl which allows to open a link in a new tab in a cross platform way.

https://user-images.githubusercontent.com/3775283/193340495-68c9a8f1-7e44-4cf2-84c6-5f214c188cac.mov

### Checklist

- [x] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

(cherry picked from commit 51e01c7743)

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
2022-10-04 09:56:50 +02:00
Kibana Machine
ae67432ee9
[Response Ops][Alerting] Fixing bug with using runSoon on pre-8.x rule (#142505) (#142550)
* Running task using scheduled task id. Adding functional test

* dont run if rule is disable

* Fixing i18n

(cherry picked from commit e007ad6df5)

Co-authored-by: Ying Mao <ying.mao@elastic.co>
2022-10-03 22:12:37 -07:00
Kibana Machine
3891771f4d
[8.5][Elastic Defend onboarding] Updates to text for Endpoint presets (#142138) (#142546)
(cherry picked from commit aa12bea33c)

Co-authored-by: Paulo Henrique <paulo.henrique@elastic.co>
2022-10-03 20:33:46 -07:00
Kibana Machine
62d1a36180
[Terminal Output] bug fixes to text sizer and missed lines rendered issue. (#142524) (#142545)
* removed complex lines per frame logic. caused too many edge cases. tests added to prevent future regressions

* fix fit to screen option (when changing from fullscreen to not. also button state). increased playback speed to make up for removal of multi line per frame rendering

* fixed tests

* removing tty loading technique due to problems with unique char_device in multi container sessions on the same pod

Co-authored-by: Karl Godard <karlgodard@elastic.co>
(cherry picked from commit 6de0091178)

Co-authored-by: Karl Godard <karl.godard@elastic.co>
2022-10-03 20:29:24 -07:00
Kibana Machine
30ea16b959
[Synthetics UI] Serialize errors before sending to redux store to prevent warnings (#142259) (#142544)
* Serialize errors before sending to redux store to prevent warnings.

* Serialize response errors in monitor list effect.

(cherry picked from commit b3a749e55a)

Co-authored-by: Justin Kambic <jk@elastic.co>
2022-10-03 19:53:25 -07:00
Kibana Machine
e763e0441c
[Security Solution] Trusted Apps about text updated to add new docs link (#142467) (#142534)
(cherry picked from commit 44d028fdf8)

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2022-10-03 16:38:14 -07:00
Kibana Machine
269444493c
[Enterprise Search] pipelines copy tweaks (#142406) (#142535)
Updated copy on the pipelines tab and modal when using an API-based
index to explicitly call-out required actions in API requests to run the
ingest pipeline.

(cherry picked from commit 9a8008b00b)

Co-authored-by: Rodney Norris <rodney.norris@elastic.co>
2022-10-03 16:04:09 -07:00
Kibana Machine
6329ddbbde
[ML] Fix Index data visualizer doc count when time field is not defined (#142409) (#142532)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit fdba8d3a56)

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2022-10-03 15:25:04 -07:00
Kibana Machine
1780316118
fix: missing metadata info from text-ouput events (#142392) (#142527)
(cherry picked from commit 392f49020b)

Co-authored-by: Lola <omolola.akinleye@elastic.co>
2022-10-03 14:12:39 -07:00
Kibana Machine
c41d09d28c
[Explore] Risk score restart button bug fix (#142416) (#142508)
(cherry picked from commit e1aa6a6d24)

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
2022-10-03 13:02:56 -07:00
Kibana Machine
42418b83ca
[Profiling] Fix calculation/formatting of frame info values (#141909) (#142511)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joseph Crail <joseph.crail@elastic.co>
(cherry picked from commit e0029ed191)

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2022-10-03 13:02:34 -07:00
Kibana Machine
9be72ae85a
Change back the analytics js file url in integration tab (#142114) (#142169)
(cherry picked from commit 92b686a763)

Co-authored-by: Klim Markelov <klim.markelov@elastic.co>
2022-10-03 12:17:22 -07:00
Kibana Machine
f78ddbffff
Hide curl request in Search Index pipelines tab for connector and crawler indices (#141976) (#141984)
(cherry picked from commit 02f874bb01)

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2022-10-03 12:17:08 -07:00
Kibana Machine
92dd90d688
[APM] Refactoring API test to use synthtrace (#142260) (#142502)
* error rate with synthtrace

* latency with synthtrace

* adding production env test

* addressing pr comments

(cherry picked from commit d675d91c94)

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2022-10-03 10:37:19 -07:00
Kibana Machine
e91a5c3684
[Enterprise Search] remove "beta" from UI (#142266) (#142489)
* remove "beta" from UI

* fix- Linter is failing

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 68a07218ec)

Co-authored-by: Saarika <55930906+saarikabhasi@users.noreply.github.com>
2022-10-03 09:53:08 -07:00