Commit graph

57209 commits

Author SHA1 Message Date
Joe Reuter
0a01a92368
[UnifiedSearch] Allow editing ad-hoc data views without permissions (#142723)
* allow editing ad-hoc data views without permissions

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

* fxi tests

* fix test

* allow field editing from discover table

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2022-10-06 12:15:22 +02:00
Yngrid Coello
41b28155d4
[APM] Migrate api tests to use apm api client (#142724)
* Removed legacySupertestAsApmWriteUser + legacySupertestAsApmReadUserWithoutMlAccess

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

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

* Addressing PR changes

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

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-06 12:10:20 +02:00
Gergő Ábrahám
46d87da2c1
[Security Solution][Endpoint][Guided onboarding] New extension point with the endpoint UI (#142395)
* Add new UI for extension for onboarding

* Remove unnecessary props

* Improve layout for mobile browsers

* use Kibana Docs service for documentation url

* use styled components instead of inline style

* move small components above/in the main component

* use Eui components and tokens instead of custom ones

* use Eui sizing tokens for logo size

* open documentation link on new tab

* use padding instead of margin

* update texts

* [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-06 11:12:07 +02:00
Joe Reuter
bf6a55db1b
make sure progress bar is visible (#142699) 2022-10-06 11:06:24 +02:00
Shahzad
61630e32fd
[Synthetics] Update layout for ping monitor (#142779) 2022-10-06 10:14:34 +02:00
Alexey Antonov
4854f425c8
[Lens] [metric visualization] a column normalized by unit doesn't display properly on dashboard (#142741)
* [Lens] [metric visualization] a column normalized by unit doesn't display properly on dashboard

Closes: #142615

* add test

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

* bundle size reduction

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-06 10:54:56 +03:00
Dario Gieselaar
c05190e516
[Profiling] Auto-abort requests (#142750) 2022-10-06 09:17:14 +02:00
Luke Gmys
115039d452
[TIP] Support category pre-selection inside the FieldsBrowser component (#142698)
This resolves https://github.com/elastic/security-team/issues/5007
2022-10-06 09:01:09 +02:00
Katerina Patticha
4197c03bb6
[APM] Collect total number of service groups (#142768)
* [APM] Collect the total number of service groups

* Add unit tests

* Update telemetry mapping

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

* update snapshots

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-06 08:38:00 +02:00
Stratoula Kalafateli
4b7df3cb36
[Lens] Populates the correct columns to Discover (#142697)
* [Lens] Cleans the state correctly when there are mapped columns that do not exist in the query

* Move logic to tableSpec

* Ensure that allColumns have only the necessary columns
2022-10-06 09:13:38 +03:00
Yaroslav Kuznietsov
17e0531895
[Lens][Agg based metric] Convert to Lens Metric. (#142561)
* Added support of metric.

* Fixed bundle size.

* Added percentage mode.

* Added fix of snapshot.

* Fixed convertMetricToColumns tests.

* Added tests for percentageMode enabled in convertMetricToColumns

* Updated snapshots of run_pipeline/basic.ts

* Fixed snapshots.

* Fixed types.

* Fixed checks.

* Added tests for convertToColumnInPercentageMode.

* Added unit tests for convertToLens.

* Added tests for palette.

* Added tests for getPercentageModeConfig

* Added tests for getConfiguration.

* Fixed invalid behavior.

* Added functional tests.

* Added validation for top_hit percentage mode support.
2022-10-06 08:52:24 +03:00
Kibana Machine
e7fc242b03
[api-docs] Daily api_docs build (#142815) 2022-10-06 00:43:29 -04:00
Karl Godard
275da5403f
useMemo removed for simple calculations. changes to these props were not picked up if new events changed their result (#142810)
Co-authored-by: Karl Godard <karlgodard@elastic.co>
2022-10-05 19:43:14 -07:00
Ying Mao
4f649c09c5
[Response Ops] Allow _source field for ES DSL query rules (#142223)
* Allowing _source in ES query DSL

* Adding functional test

* Adding to doc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 19:18:59 -04:00
Thomas Neirynck
fdea7b14b4
Add september newsletter (#142501) 2022-10-05 17:06:16 -04:00
Angela Chuang
0a39572938
Risk score installation refactory (#142434)
* init

* start transforms

* error handling

* onboarding

* rename

* restart transforms

* cypress

* update unit tests

* update cypress task

* add toastLifeTime

* fix types

* fix i18n

* i18n

* update cypress

* update comment

* Update x-pack/plugins/security_solution/server/lib/risk_score/transform/restart_transform.ts

Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>

* Update x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/onboarding.ts

Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>

* review

* fix types

* review

* review

* fix types

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

* fix types

* cypress

* update wording

* update unit tests

* update cypress

* update cypress

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

Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 13:48:19 -07:00
Brandon Morelli
35879b9006
remove sm (#142668) 2022-10-05 13:06:36 -07:00
Tyler Smalley
47354fa7d3
[CI] Use 4 parallel ESLint jobs (#142787) 2022-10-05 14:59:46 -05:00
Tiago Costa
12f865e984
chore(NA): update versions after v8.4.4 bump (#142789) 2022-10-05 20:09:07 +01:00
Yara Tercero
0149bd063c
[Security Solution][Exceptions] - Common flyout components (#142054)
## Summary

Adds components shared between new add/edit exception flyouts. Does not yet modify the flyouts themselves. Trying to break down what would be an even larger PR into chunks.
2022-10-05 11:38:33 -07:00
Jonathan Budzenski
63aee48127
[artifacts] Pass dependency manifest to release-manager CLI (#142408)
This passes the beats manifest used to download metricbeat and filebeat
for our cloud image to the release-manager CLI. This will be used to
validate that the bundled versions we use match the released versions.
2022-10-05 13:08:30 -05:00
Ying Mao
f80fd78b28
[Connectors] Split functional tests by connector type (#141956)
* Renaming folder

* Renaming folder

* Moving xmatters to stack

* Moving xmatters to stack

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 13:09:03 -04:00
Jonathan Budzenski
f1f2107584
[ci/cloud-deploy] Remove CI success requirement (#141965)
This removes the success requirement in the cloud deployment step for
pull requests.

Creating a cloud deployment from a pull request is optional and not
providing test coverage.  Failures are typically upstream and not
something that can be fixed from the Kibana repository.
2022-10-05 11:43:15 -05:00
Tim Sullivan
ba52231cf4
[Reporting] Make "Run diagnostics" be a clickable link (#142174) 2022-10-05 09:38:58 -07:00
Lisa Cawley
2d8b29ed5a
[DOCS] Automate output for 4 case APIs (#142173) 2022-10-05 09:24:04 -07:00
Sergi Massaneda
5e44010a9b
[Tines connector] SubActions framework changes (#142475)
* validators and template render

* frontend use_sub_action changes

* rollback custom validations in favor of 142376

* types fix

* rollback test

* extract render template function type

* fix type

* use abort controller in useSubAction hook

* renderTemplate in register test

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

* improve test

* register test improved

* test the renderedTemrenderedTemplate return value

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 08:56:19 -07:00
renovate[bot]
0d593a5ca9
Update babel to ^7.19.3 (main) (#142682)
* Update babel to ^7.19.3

* dedupe

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-10-05 10:51:27 -05:00
Vadim Kibana
6b1e448c8b
Update short URL access fields on resolution by slug (#142731)
* update short url access fields on resolution by slug

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

* improve field update method

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

* [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 17:50:32 +02:00
Jatin Kathuria
803189f543
[Security Solution][Fix]-Reset discarded timeline & Change timeline Save prompt Strategy (#140399)
Please go through #140614 to get the context of this PR.

_tl,dr;_

Timeline bottom bar has been enabled on below pages.

- Security / Dashboards
- Security / Explore
- Security / Cases / ....

When user navigates to any other pages within security solution where `timeline bottom bar` is not visible, use will be reminded that they have an unsaved timeline. 

Justification for enabling `timeline bottom bar` on above pages is to prevent users from getting too many timeline save reminders if they navigate within `Security Solution` plugin.
2022-10-05 08:45:45 -07:00
Philippe Oberti
37b9d982bf
[TIP] Add copy to clipboard feature (#142675)
- add to indicators table cellActions using renderCellPopover property
- add to barchart context menu
- add to flyout
2022-10-05 10:45:20 -05:00
Jean-Louis Leysens
cb334772fb
remove limitation to only using .kibana indices (#142739) 2022-10-05 17:42:01 +02:00
Cauê Marcondes
db7daf6369
[APM] Convert AWS lambada duration to microseconds (#142504) 2022-10-05 11:05:02 -04:00
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