Commit graph

54082 commits

Author SHA1 Message Date
Zacqary Adam Xeper
46d8e11f29
[RAM] Add snooze state UI to Rule Details page (#135146)
* [RAM] Add snooze state UI to Rule Details page

* Remove disalbe/enable test

* Move disabled/enabled tests to rule and rulestatuspanel

* Remove test for snoozed dropdown display
2022-06-29 12:15:52 -05:00
Jonathan Budzenski
66b161a3e0
[ci] Support publishing a cloud image without deploying (#135044)
* [ci] Support publishing a cloud image without deploying

* auth
2022-06-29 10:12:02 -07:00
Lisa Cawley
3911c7e63f
[DOCS] Adds prerequisites to enable and disable rule APIs (#135369) 2022-06-29 09:56:30 -07:00
Dima Arnautov
1685eca469
[ML] Fix execution context name (#135447) 2022-06-29 09:48:20 -07:00
Ahmad Bamieh
c473e4da6e
[i18n] Integrate 8.3.0 Translations (#135433) 2022-06-29 09:47:04 -07:00
Alison Goryachev
b080dfa9e2
[Guided onboarding] Update Observability tour copy (#135228) 2022-06-29 12:30:24 -04:00
Justin Kambic
2f98d556c2
Introduce e2e test for page views chart. (#135352) 2022-06-29 09:28:52 -07:00
Nathan Reese
a48c7d9f0a
Keep timeframe when editing a map from a dashboard (#135374)
* Keep timeframe when editing a map from a dashboard

* [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-06-29 10:06:21 -06:00
Jonathan Budzenski
a34db6986b
Bump archiver to 5.3.1 (#135264) 2022-06-29 10:57:48 -05:00
Dima Arnautov
6ff66841a7
[ML] Set threading params for _start trained model deployment API (#135134)
* set threading params

* model header

* useMemo for threadsPerAllocationsOptions

* remove magic number

* id variable

* rename modal wrapper function

* remove placeholder

* update legend text

* min value for numOfAllocations

* add validation

* add extra text for cloud

* change the layout

* fix i18n message id

* docs url

* set header sizes

* change messages

* info callout

* fix the scrollbar issue

* change the message

* move the docs link

* rename the docs key

* fix typo

* change doc link alignment
2022-06-29 08:48:00 -07:00
Mike Côté
0853a0b005
Fix stack alerts codeowners so response ops team gets pinged (#135438) 2022-06-29 11:47:05 -04:00
spalger
3b4bcbeb04 skip flaky suite (#129837) 2022-06-29 10:44:17 -05:00
Spencer
51faec0ec4
Update CODEOWNERS 2022-06-29 10:31:16 -05:00
David Sánchez
9f11a5e672
[Security solution] [Endpoint] Get running processes UI (#134907)
* Ui for get running processes including types and api call

* Updates type output to be outputs and displays correctly running-processes in a table

* Remove old TODO comment

* Type changes and EuiTable ui customization

* Set ResponseActionApiResponse a generic type to be used for other actions

* Fixes ts check errors

* Improve loop complexity using keys. Make outputs optional. Fix generator

* Improves generators adding custom functions for random choices

* Resize table width

* Fixes and adds unit tests

* Adds new unit test for running-processes component

* Address pr review comments. Switch table columns and add a hover on table rows. Fix generators and uptades unit tests

* Fix unit test due generator changes

* Remove error handling and use eui them prop instead of a hardcoded one

* Adds return type on function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 08:23:56 -07:00
Pierre Gayvallet
12ff015255
Remove public contract for server-side context service (#135397) 2022-06-29 17:08:15 +02:00
Jonathan Budzenski
adedf7bcde skip failing test. #135440 2022-06-29 10:05:30 -05:00
Jonathan Buttner
c4c9c73668
[Cases][ResponseOps] Splitting out cases privileges (#134860)
* Splitting out cases privs

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

* Getting tests working

* Fixing import error

* Fixing tests

* Fixing role to only have delete permissions

* Extracting sub feature tests to trial license

* Removing deletion user from common tests

* Addressing feedback

* Fixing tests

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 10:47:06 -04:00
Ying Mao
4b7b363e9c
[Response Ops] Replace scripted metric aggs in alerting telemetry queries with terms aggregations (#134769)
* Updating getTotalCountAggregations query

* Replacing scripted metric aggs with terms aggregations

* Fixing task manager query

* Updating replaceDotSymbols fn

* Adding stack trace to logger meta

* Reusing event log query

* Adding fallback for bucket key and doc_count

* Switch reduce for for loop

* combining aggs

* Fixing nulls issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 10:24:57 -04:00
Nicolas Chaulet
8440cec9a6
[Fleet] Prompt user of unsaved changes in package policy edit page (#135219) 2022-06-29 10:24:15 -04:00
Julia Bardi
f320b3302a
[Fleet] add upload report to cypress tests (#135282)
* add upload report to cypress tests

* added missing cypress reporter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 09:13:11 -05:00
Gerard Soldevila
188cbdc720
[RuleRegistry plugin] Abort ResourceInstaller.install() on stop (#134635)
* Abort ResourceInstaller.install() on stop

* Fix UTs

* Fix more UTs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 16:10:16 +02:00
Byron Hulcher
617ff01f7d
[Enterprise Search] New SearchIndex view utilizing EuiTabbedContent (#135362) 2022-06-29 06:58:33 -07:00
Julia Bardi
2dee998df0
[Fleet] add and remove agent tags (#135320)
* add and remove agent tags

* fixed checks

* moved update tags to hook, added try catch

* added hook test

* added test to add remove tags comp
2022-06-29 15:42:17 +02:00
Byron Hulcher
a87b78f035
[Enterprise Search] User can create indices with Crawler configurations (#135164) 2022-06-29 09:39:17 -04:00
Pierre Gayvallet
111b6f4b99
Move server-side executionContext service to packages (#135396)
* create the empty server execution-context packages

* move src/core/server/execution-context into packages

* update READMEs

* adapt first server/mocks imports

* move ECC type to public package

* adapt mock imports

* adapt more imports

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

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 15:29:31 +02:00
Mat Schaffer
7338acbc7d
[Metrics UI] Rename "Metrics" to "Infrastructure" in appropriate places (#135278)
Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2022-06-29 22:20:03 +09:00
Joe Reuter
b590240d93
fix styling issues (#135406) 2022-06-29 15:08:36 +02:00
Gerard Soldevila
d1ac92c56c
Do not await for getOptInStatus() on stop() (#134735)
* Do not await for getOptInStatus() on stop()

* Fix incorrect comment

* Make sure we call analytics.optIn() during setup()

* Remove unused import

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

* Add simple comment

* Revert switchMap => exhaustMap to prevent memory leaks; move takeUntil after exhaustMap

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 15:03:14 +02:00
Rudolf Meijering
d3756a10c1
Update failed migration roll back instructions (#135006) 2022-06-29 08:47:33 -04:00
Alejandro Fernández Haro
a2b0927e65
[EBT] Better FTR helper APIs (#135298) 2022-06-29 14:11:13 +02:00
Tre
a6f17d5dd2
[Archive Migration] x-pack logstash/empty (#135123)
* [Archive Migration] x-pack logstash/empty

Migrate x-pack logstash/empty

Helps with: #102552

This is sorta odd as the archive only has a config and the default space.

* Remove the rest.

* Already deleting, no need for the clean standard list call.

* Already deleting, no need for the delete test.

* Drop the created pipeline.

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

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 12:56:54 +01:00
Joe Reuter
39af11af42
retry assertions after refresh (#135399) 2022-06-29 12:25:59 +02:00
Vitalii Dmyterko
d266d5de29
[Security Solution][Detections] fixes Rule selection changes after applying a bulk action (#135291)
## Summary

addresses https://github.com/elastic/kibana/issues/125775

Now, after applying bulk action, rules won't be refetched for the following actions: `edit`, `enable`, `disable`.
Instead, rules within react-query cache will be updated by bulk edit results. Thus, preventing lost of selection and saves additional http request

Issue still can be spotted for `duplicate` action, as all rules need to be refetched to show newly duplicated ones(this should be addressed in https://github.com/elastic/kibana/issues/135297, in the effort to make auto-refresh more friendlier to users)

### Before


https://user-images.githubusercontent.com/92328789/176151810-9c1bfee2-32d1-4154-bd52-34e3ca55f1ed.mov


### After

https://user-images.githubusercontent.com/92328789/176151475-d45c3484-7a91-477b-b495-d6abeb6f43ab.mov



### Release note
- fixes selection change after applying bulk actions (except of duplicating action)
2022-06-29 11:20:20 +01:00
Mat Schaffer
81c5a1f07d
[Logs UI] Wait for loading to finish before typing (#135103) 2022-06-29 12:15:22 +02:00
Or Ouziel
f7ad971959
[Cloud Posture] add results bar to findings tables (#135221) 2022-06-29 12:30:40 +03:00
renovate[bot]
c5c7247f47
Update dependency elastic-apm-node to ^3.36.0 (#134530)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 02:30:08 -07:00
Vitalii Dmyterko
cd026c2565
[Security Solution][Detections] fixes auto refresh issue when applying some of bulk actin to rules (#135208)
## Summary

Addresses: https://github.com/elastic/kibana/issues/126160

When users start to apply bulk action, rules table auto refresh will be paused and renewed after action finishes

### Before

https://user-images.githubusercontent.com/92328789/175935334-6f6dc42e-ecd5-4993-b2ce-7b0582283aa6.mov



### After

https://user-images.githubusercontent.com/92328789/175935341-e735dc18-6df1-4ac3-9ec2-3cf0de63a9dd.mov


### Release Note
- fixes issue when on applying some of bulk actions to selected rules, rules table auto refresh continues to work
2022-06-29 09:14:33 +01:00
Joe Reuter
8b078c3ad2
show badge for read-only (#135313) 2022-06-29 09:28:11 +02:00
Joe Reuter
4a6201785f
fix css specificity issue (#135245) 2022-06-29 09:28:00 +02:00
Pierre Gayvallet
e08e4b4c0c
Migrate server-side environment service to packages (#135075)
* create the empty packages

* move src/core/server/environment into the new packages

* adapt some imports

* fix more imports

* export dep type

* restore delete packages or idk

* update READMEs

* address review comments
2022-06-29 00:09:16 -07:00
Shahzad
66196769a7
[Exploratory view] Embed util (#135244) 2022-06-29 09:08:04 +02:00
Kibana Machine
d1c08e0fc0
[api-docs] Daily api_docs build (#135389) 2022-06-29 00:43:20 -04:00
Joe Portner
ff57626fec
Preserve originId when overwriting existing objects (#135358) 2022-06-28 19:56:32 -07:00
Lisa Cawley
592e06e5e8
Removes STACK_GETTING_STARTED variable from doc links (#135381) 2022-06-28 16:19:31 -07:00
Luke Elmers
cf6ae210ef
Adds node.roles configuration & exposes via PluginInitializerContext (#135272) 2022-06-28 15:22:43 -07:00
Nathan Reese
3b6fc59e55
[maps] synchronize map views in dashboard and canvas (#134272)
* [maps] sync map panels in dashboard and canvas

* remove console.logs

* action

* clean up

* getters

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

* tooltip

* only show action with multiple maps

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

* tooltip update

* fix issue where action is not available

* clean up

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

* modal

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

* add error message

* auto deselect last 2 panels, auto select first 2 panels

* ts fix

* onMove event

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

* change message to positive

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

* disable autoFitToBounds

* show action for lens regionmaps

* revert changes to lens embeddable and use getSavedVis

* Update x-pack/plugins/maps/public/embeddable/map_embeddable.tsx

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

* Update x-pack/plugins/maps/public/embeddable/synchronize_movement.ts

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

* Update x-pack/plugins/maps/public/embeddable/map_embeddable.tsx

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

* copy update

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
2022-06-28 15:21:11 -06:00
Michael Olorunnisola
c40889a7fa
[Security Solution][Investigations] - fix bottom bar bg color (#135307) 2022-06-28 13:29:36 -07:00
Constance
de20876b30
Upgrade EUI to v60.0.0 (#134919)
* Upgrade EUI to v60.0.0

* reorganize style tag injection using EuiProvider.cache options

* Convert Jest snapshots for EUI Emotion classNames to a static `emotion-` prefix instead of a dynamic hash

- The goal of this is to reduce thrashing on downstream Kibana snapshots whenever EUI CSS changes

+ Add serializer to Canvas' storyshots tests as well

+ Switch several .html() snapshots to .render() - render uses the new serializer logic, but .html() does not and will still output CSS hashes, plus is more difficult to read

* Update downstream tests for EuiStat Emotion/className changes

* Fix WithEuiTheme(EuiAccordionClass) references

* Rename mounted snapshots of EuiButtonContent to EuiButtonContentDeprecated

* add emotion/cache to kbn-ui-shared-deps

* Fix non-rendering server-side Emotion CSS

* Fix failing Security Cypress test

- the Cypress query/command being used wasn't working correctly

Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-28 11:23:59 -07:00
Brian Seeders
0b0b68786a
[CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00
Jordan
3f1f450570
[Cloud Posture] I18n guidelines rules (#135220) 2022-06-28 09:55:25 -07:00