Commit graph

57177 commits

Author SHA1 Message Date
Quynh Nguyen (Quinn)
a3e2af45fc
[ML] Fix bug with fields.yml not defined, add jest tests for new transform installation mechanism in Fleet (#142159)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 09:21:36 -05:00
Miriam
d3370cfd96
[APM] Added required fields to infra metrics client (#142569)
* Added required fields to infra metrics client

* add fields to the requests

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 15:07:53 +01:00
Philippe Oberti
a6f013bc49
[TIP] Add integrations on the threat_intelligence url now routes to the threat_intel category (#142538) 2022-10-05 09:05:25 -05:00
Paul Tavares
3fa8a87b34
[Security Solution][Endpoint] Add support to Action Responder script for get-file response action (#142663)
* Add `const`'s for file storage indexes

* Add file storage TS type

* Add support to Action Responder script for `get-file` response action

* Add support to action generator to output `get-file` responses

* correct `last` property of the upload chunk

* Fix type

* fix UI jest test failures

* Fix server jest tests and Generator bug
2022-10-05 10:01:28 -04:00
Christos Nasikas
3469d64d2c
[Cases] Improve bulk actions (#142150)
* Use react query for delete cases

* Convert delete to react query

* Convert update to react query

* Convert use_get_cases_status to react query

* Convert use_get_cases_metrics to react query

* Refresh metrics and statuses

* Show loading when updating cases

* Create query key builder

* Improve refreshing logic

* Improve delete messages

* Fix types and tests

* Improvements

* PR feedback

* Fix bug

* Refactor actions

* Add status actions

* Change status to panel

* Add status column

* Improvements

* Fix tests & types

* Remove comment

* Improve e2e tests

* Add unit tests

* Add permissions

* Fix delete e2e

* Disable statuses

* Fix i18n

* PR feedback

* Disable actions when cases are selected

* Improve modal tests

* Disables checkbox on read only

* PR feedback
2022-10-05 06:58:00 -07:00
Ying Mao
bb8a3c3089
[Connectors] Split ServiceNow connector type (#141961)
* Splitting public servicenow files

* Splitting server servicenow files

* Fixing checks

* Fixing checks

* Moving xmatters to stack

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 09:56:06 -04:00
Rodney Norris
c9af6395b0
[Enterprise Search] fix ml inference with api index (#142673)
Updates the the Pipelines logic to ensure you can configure ml inference
pipelines with api-based indices.
2022-10-05 08:47:41 -05:00
Rodney Norris
c19ccdb96c
[Enterprise Search] add ml pipeline empty schema error (#142618)
Added an error for when there are no source fields available.
Loaded a small set of default fields if we know its a connector index.
2022-10-05 08:47:17 -05:00
Cristina Amico
37e4eb2d04
[Fleet] Add missing SO in data_model.md (#142745) 2022-10-05 23:51:59 +10:30
Joseph Crail
c888aca9b4
[Profiling] Move additional flamegraph calculations into UI (#142415)
* Remove total and sampled traces from API

* Remove Samples array from flamegraph API

These values are redundant with CountInclusive so could be removed
without issue.

* Remove totalCount and eventsIndex

These values are no longer needed.

* Remove samples from callee tree

* Refactor columnar view model into separate file

* Add more lazy-loaded flamegraph calculations

* Fix spacing in frame label

* Remove frame information API

* Improve test coverage

* Fix type error

* Replace fnv-plus with custom 64-bit FNV1-a

* Add exceptions for linting errors

* Add workaround for frame type truncation bug

* Replace prior workaround for truncation bug

This fix supercedes the prior workaround and addresses the truncation at
its source.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 06:10:38 -07:00
Lucas F. da Costa
276cd3d0ef
Use authorisation if present, regardless of environment (#138817)
* fix: always send authorization to synth service when configured

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 14:09:52 +01:00
Joe Reuter
322cadcbe4
add back ticks on bands (#142702) 2022-10-05 15:00:49 +02:00
Shahzad
1ff66582c3
[Uptime] Un-skip alert flaky test (#142717) 2022-10-05 14:56:29 +02:00
Shahzad
756bc17689
[Uptime] Unskip alert flyout jest test (#142722) 2022-10-05 08:55:08 -04:00
Julian Gernun
b3ebe13330
[RAM] render the grid only if we have alerts (#142481) 2022-10-05 14:50:08 +02:00
Jan Monschke
25ba3c758f
[SecuritySolution] Link to the correct subscription upgrade "page/flow" (#142630)
* fix: link to the correct subscription upgrade "page/flow"

* test: fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 05:26:49 -07:00
Ying Mao
f644fde9a5
Fixing flaky runSoon test (#142652)
* Unskipping test

* Unskipping test

* Adding retries

* Cleanup
2022-10-05 08:26:32 -04:00
Ying Mao
34deabc6bb
Fixing flaky disable test (#142687)
* Unskipping test

* Adding retries

* Cleanup

* Cleanup
2022-10-05 08:26:07 -04:00
Abdul Wahab Zahid
57876a8597
Fix indefinite loading and handling of state pings for Last test run and Test Runs panels. (#142432)
* Fix the loading behavior of "Last test run" and "Last Runs" panels on Synthetics UI -> Monitor Details -> Summary page.

* Do not show `0 ms` duration/rtt if no pings are available for a ping monitor.
2022-10-05 14:25:34 +02:00
Yulia Čech
27ac4fc26e
[Guided onboarding] Added Guided onboarding to the Fleet plugin (#142185)
* [Guided onboarding] Added a EuiTour for guided onboarding in Integrations

* [Guided onboarding] Added data step completion for Elastic Defend

* [Guided onboarding] Added tests for api

* [Guided onboarding] Fixed jest tests

* [Guided onboarding] Added a fail safe for guided onboarding plugin not available in fleet

* [Guided onboarding] Moved the guided onboarding hook to a different folder in the fleet plugin, also fixed tests

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

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

* [Guided onboarding] Updates after the merge conflicts

* [Guided onboarding] Fixed typos

* [Guided onboarding] Fixed types error

* Update x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/with_guided_onboarding_tour.tsx

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
2022-10-05 05:20:04 -07:00
Tiago Costa
0a03a527e9
skip flaky suite (#135309) 2022-10-05 13:07:56 +01:00
Kurt
035a4337e3
Removing esArchiver from bulkCreate (#142676) 2022-10-05 07:56:49 -04:00
Marco Liberati
93942280ab
Fix react warnings (#142712) 2022-10-05 04:52:50 -07:00
Dima Arnautov
da392153d9
[ML] Fix after all hook for Notifications tests (#142711) 2022-10-05 13:26:06 +02:00
Julia Bardi
c46a624d91
[Fleet] fix abort agent singular (#142696)
* fix abort agent singular

* changed toast message to tag(s) updated

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 13:01:47 +02:00
Marco Liberati
4019d378f6
Fix for flyout shift (#142565) 2022-10-05 03:32:56 -07:00
Joe Reuter
0ab0f7a7df
move quickfunction button (#142623) 2022-10-05 12:00:32 +02:00
Anton Dosov
5f3d439b50
Search Sessions Stabilization Stage I (#134983)
Changes search service/search session infrastructure to improve performance, stability, and resiliency by ensuring that search sessions don’t add additional load on a cluster when the feature is not used
2022-10-05 11:52:52 +02:00
Pete Harverson
640592a56a
[ML] Adds extra a11y tests for anomaly detection and DFA jobs (#142589) 2022-10-05 10:47:09 +01:00
Alejandro Fernández Haro
6312c45f5c
[Data Views] Fix small typo in README (#142701) 2022-10-05 11:35:42 +02:00
Marco Liberati
4d72685b3b
[Lens] [@kbn/tinymath] Add new defaults function (#142087)
*  Add new defaults function

*  Add new defaults function

* 📝 Rewrite the doc

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-10-05 11:31:43 +02:00
Nav
cc263538ad
[Enterprise Search] Fix index delete modal (#142447)
* Disable index delete button during process

* Change cancel to close during delete process
2022-10-05 11:26:32 +02:00
Maryam Saeidi
8f50c3b34b
[Actionable Observability] Refactor data view creation in alerts search bar (#142474)
* Refactor creating dataView for alert table

* Add test for use_alert_data_view

* Use [] as default value for indexPatterns
2022-10-05 10:30:02 +02:00
Lukas Olson
7203e303da
Update AggConfig for nested sibling pipeline aggs (#140650) 2022-10-05 10:18:52 +02:00
Lukas Olson
98f365eadf
[kbn-es-query] Add support for OR filters (#142417)
Co-authored-by: Peter Pisljar <peter.pisljar@elastic.co>
2022-10-05 10:18:26 +02:00
Dmitrii Shevchenko
32b029ebbb
Adjust detection engine routes codeowners (#142570) 2022-10-05 10:14:21 +02:00
Joe Reuter
b270921241
[Lens] Edit data view in flyout (#142362)
* add explore matching index

* adjust type

* move things around

* fix types

* fix tests

* fix imports

* fix limit

* do not clean datasource on adding ad hoc data view

* manage data view in flyout

* fix phrase

* make sure all changes are propagated correctly

* fix test

* Update src/plugins/data_view_editor/public/components/data_view_editor_flyout_content.tsx

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* only show for persisted data views

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
2022-10-05 10:06:12 +02:00
Yaroslav Kuznietsov
205a2b81dd
[Lens][TSVB] Navigate from TSVB Gauge to Lens Metric (#142187)
* Added gauge support (basic).

* Fixed types.

* Fixed types.

* Fixed static value and refactored code.

* Updated tests.

* Removed code duplicates.

* Added tests for getConfigurationForMetric.

* Added tests for getConfigurationForGauge.

* Added tests for gauge.

* Fixed palette for gauge.

* Added functional tests.
2022-10-05 09:34:10 +03:00
Stratoula Kalafateli
260b439e9e
[Lens] Explore in Discover for textBased languages (#142552)
* [Lens] Explore in Discover for textBased

* Remove unused translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 08:56:57 +03:00
Kibana Machine
eb89401a45
[api-docs] Daily api_docs build (#142694) 2022-10-05 15:15:05 +10:30
Kristof C
055f1c5705
141253 further updates to alerts on detail pages (#142669)
* fix language on page as well as font size

* allow component to take additional filters

* add ability for AlertByStatus to accept additional filters

* update tests for Alert by Status

* remove unused import

* changes from code review

* update constant value from imported version

* fix bad test :(

Co-authored-by: Kristof-Pierre Cummings <kristofpierre.cummings@elastic.co>
2022-10-04 19:26:40 -07:00
Rickyanto Ang
98f019a3ac
[Onboarding][Test] Added UI Unit Test for new Onboarding fields (#142276)
* added ui unit test for onboarding

* added 1 more unit test

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

* check fail fix

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

* failed check fix again

* forgot to add 1 import type

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

* PR comments

* PR Comments, added more test

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-04 18:18:35 -07:00
Steph Milovic
8ee13eac52
[Explore] Risk score entity consolidation part 2 (#142401) 2022-10-04 18:48:29 -06:00
Kevin Qualters
dffe5131d6
Update text for autotune toast (#142674) 2022-10-04 16:56:58 -07:00
Constance
899081a451
Use @emotion/server for server-side security prompts (#142662)
* Update all `@emotion` dependencies to latest

* Install `@emotion/server`

* Use Emotion server-side rendering for security prompt pages

* snapshots
2022-10-04 15:15:16 -07:00
Kevin Qualters
7a6ff848ab
[Security Solution] Ignore timerange in session view, to mirror session view component (#141137)
* Ignore timerange in session view, to mirror session view component

* Remove timerange from process ancestry insight
2022-10-04 18:01:52 -04:00
christineweng
45ad233c81
Added margin at the bottom to fully show event description list (#142529) 2022-10-04 18:01:43 -04:00
Kibana Machine
f82f7560eb skip failing test suite (#142248) 2022-10-04 15:26:19 -06:00
Nick Peihl
fc8407d222
Fix custom raster developer example (#142664) 2022-10-04 14:18:58 -07:00
Juan Pablo Djeredjian
7f3541c8ba
[Security Solution] Remove Optional label from Rule Schedule lookback time field (#142375)
Relates to https://github.com/elastic/kibana/issues/141378

## Summary

Removes the "Optional" label from Rule Schedule lookback time field in the Rule Creation and Rule Editing pages.

## Screenshots

### Create Rule Page
**Before**
![image](https://user-images.githubusercontent.com/5354282/193306696-97b4ba91-4c93-406f-a69c-e0e3cb4553dd.png)

**After**
![image](https://user-images.githubusercontent.com/5354282/193306104-bffd2b4e-1131-4257-ac88-1f8cb3b1f5a5.png)



### Edit Rule Page
**Before**
![image](https://user-images.githubusercontent.com/5354282/193306747-7cc192a1-a33f-471d-8830-f85f4cce45e9.png)

**After**
![image](https://user-images.githubusercontent.com/5354282/193305897-8cfe029d-dc70-4d6d-9726-d00f5fde8e48.png)


### Checklist

Delete any items that are not applicable to this PR.

- [ ] [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
(https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] 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))
- [ ] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)


Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dmitrii Shevchenko <dmitrii.shevchenko@elastic.co>
2022-10-04 13:14:24 -07:00