Commit graph

46243 commits

Author SHA1 Message Date
Tre 458a57939b
[QA][SO INFO SVC] Docs for using with jq (#112129) 2021-09-14 17:40:00 +01:00
Cauê Marcondes ad5def63bf
[APM] By passing no data screen on settings pages (#111986)
* by passing no data screen on settings pages

* addressing PR comments

* adjusting teste
2021-09-14 12:35:31 -04:00
Paul Tavares eeca80918a
[Security Solution][Endpoint] Unit test for the ArtifactEntryCard (#111995)
* Test file for ArtifactEntryCard
* Fix i18n pluralization
* refactor mapper of trusted apps for tags-to-effectScope from server code to common
* determine EffectScope for Exceptions based on tags
* Fix margin on artifact card divider
* Updated snapshot
2021-09-14 11:58:27 -04:00
Dominique Clarke 4b33115892
[Uptime][Synthetics Integration] add browser callout (#108935)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
2021-09-14 17:42:08 +02:00
James Gowdy ee7e832489
[ML] Re-enabling skipped date nanos test (#112083) 2021-09-14 16:23:55 +01:00
juliaElastic b35b642fb7
[Fleet] Cosmetic fixes (#111725)
* [Fleet] Cosmetic fixes
Made Add integration button filled

* [Fleet] Cosmetic fixes
Filled button fixes

* [Fleet] Cosmetic fixes
3. Assign policy button

* [Fleet] Cosmetic fixes
4. Duplicate policy

* [Fleet] Cosmetic fixes
5. full stop

* [Fleet] Cosmetic fixes
6. enrollment token name

* [Fleet] Cosmetic fixes
2. auth settings

* [Fleet] Cosmetic fixes
review fixes

* [Fleet] Cosmetic fixes
Responsive fix fleet broken icons

* [Fleet] Cosmetic fixes
8. data streams table layout auto

* [Fleet] Cosmetic fixes
responsive 2. fixed icon overlap

* [Fleet] Cosmetic fixes
reduced empty space in header

* [Fleet] Cosmetic fixes
fix add integration form

* improve css selector

* moved css to styled component
2021-09-14 16:39:41 +02:00
Tre 9762da497d
[QA][SO INFO SVC] Add json only option (#112061) 2021-09-14 15:31:08 +01:00
Pierre Gayvallet 138371e50c
Add deprecation warning when unknown SO types are present (#111268)
* Add deprecation warning when unknown types are present

* fix and add service tests

* remove export

* plug deprecation route

* add integration test for new route

* add unit test for getIndexForType

* add unit tests

* improve deprecation messages

* add FTR test

* fix things due to merge

* change the name of the deprecation provider

* improve message

* improve message again
2021-09-14 15:55:30 +02:00
Ahmad Bamieh b74f154903
[core.metrics] Add support for multiple processes in ops metrics & stats API; deprecate process field (#109820)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 16:50:45 +03:00
Tim Roes 4bca9b05bb
Fix wrong timepicker range when brushing (#111989) 2021-09-14 15:47:43 +02:00
Pierre Gayvallet 157c834403
remove async lifecycle from global_search_bar plugin (#112058) 2021-09-14 15:36:37 +02:00
Yaroslav Kuznietsov ec313f6373
[Canvas] Fixes Advanced settings in Datasource recreate on any change. (#111840)
* added useEffectOnce.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 16:24:01 +03:00
Christos Nasikas dd3053d23e
[Cases] Fix hidden lens modal when creating case from flyout (#112067) 2021-09-14 08:59:30 -04:00
Jean-Louis Leysens 4e4afc7503
[Discover/Reporting] Fix export that does not contain relative time filter (#110459)
* version 1 of fix: we set the time range on the search source at CSV generation time

* updated jest tests and updated API for getSharingData

* make time range optional for getSharingData

* pivot to updating "getTime" functionality by introducing a new flag

* update jest snapshots

* update comment

* refactored coerceToAbsoluteTime -> coerceRelativeTimeToAbsoluteTime and updated behaviour to be more specific

* fix jest test

* do not change createFilter API, rather create new createRelativeFilter API, also only use this in one place in discover

* update jest tests

* update mock

* update jest test mock

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 14:40:06 +02:00
Larry Gregory 1187159373
Update renovate config for platform security modules (#112074) 2021-09-14 08:05:14 -04:00
Marco Liberati e37cacbe59
[Lens] Removing trailing semicolor and scrollbar for empty pie chart visualization (#111971)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 14:03:49 +02:00
Uladzislau Lasitsa 6e7e5155f5
[TSVB] Doesn't work correctly with pipeline aggregations in "entire time range" mode (#105073)
* Use date_histogram instead of auto_date_histogram in pipeline aggregations

* Fix ci

* Fix eslint

* start disable parent pipeline aggs and show error

* Fix CI

* Fix eslint

* Fix CI

* Add functional tests

* Some fixes

* Fix lint

* Use agg_utils

* Fix lint

* Fix text

* Fix lint

* Fix tests

* Fixed condition

* Fix math aggregation

* math should pass panel type as prop

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 14:38:51 +03:00
Larry Gregory 22f0e762ed
Upgrade set-value to 4.1.0 (#111988) 2021-09-14 07:03:34 -04:00
Orhan Toy a55c39b624
Show process crawls together with crawl requests (#111398) 2021-09-14 12:59:50 +02:00
Mikhail Shustov 4a2acad218
Functional tests for execution context propagation in alerting and task manager plugins (#111179)
* move execution context tests to x-pack folder

* add execution context tests for alerts and tasks

* cleanup tests

* remove obsolete test folder

* use ToolingLog instead of console.log
2021-09-14 11:52:33 +02:00
Stratoula Kalafateli 8a4355b353
[Visualize] Removes dimming opacity setting (#111704)
* [Visualize] Removes the dimming opacity setting

* Remove from docs

* Fix 18n

* Address PR comments

* More cleaning

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 12:36:08 +03:00
Stratoula Kalafateli 182533f565
[Datatable] Removes the old implementation (#111339)
* [Datatable] Removes the angular implementation

* Fix i18n errors

* Fix types

* Remove unecessary funtional tests

* Fix documentation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 11:57:42 +03:00
Khristinin Nikita 43ea2930cc
Decode file name on upload value lists and fix bug with removing value list (#111838)
* Decode fileName when creating a list

* Return wait_for for delete list item

* Return back import

* Update x-pack/plugins/lists/server/services/items/write_lines_to_bulk_list_items.test.ts

Co-authored-by: Ryland Herrick <ryalnd@gmail.com>

* Use i18n for message

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ryland Herrick <ryalnd@gmail.com>
2021-09-14 10:32:38 +02:00
Candace Park d38d756153
[Security Solution][Endpoint][Trusted Apps] TA delete modal shows # of policies it will impact (#111481) 2021-09-13 23:50:30 -04:00
Lukas Olson fbeefedd98
Make saved queries share-capable (#111462)
* Use resolve instead of get for saved query service

* Update tests

* Update src/plugins/data/public/query/saved_query/saved_query_service.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Revert step 4

* Make saved queries share-capable

* Fix test

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-09-13 21:17:43 -04:00
Davis Plumlee 8a9ce5a1ef
[Security Solution][Detection Alerts] Fixes alert page refresh issues (#111042)
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2021-09-13 20:41:06 -04:00
Lukas Olson a8f9468fe8
Use savedObjectsClient.resolve in saved query service (#111229)
* Use resolve instead of get for saved query service

* Update tests

* Update src/plugins/data/public/query/saved_query/saved_query_service.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Revert step 4

* Fix test

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-09-13 16:00:27 -07:00
Marta Bondyra cae5bdca04
[Lens] Added logger info and restructuring some mounter tests (#111953)
* [Lens] added logger info and restructuring some mounter tests

* snapshot updated
2021-09-13 23:09:43 +02:00
Kaarina Tungseth 9d53e6496d
[DOCS] Adds the 8.0.0-alpha2 release notes (#111648)
* [DOCS] Adds the 8.0.0-alpha2 release notes

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Review comments

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-09-13 16:51:17 -04:00
Xavier Mouligneau 35c83bac5a
[SECURITY SOLUTION] Bring back Drag drop in query tabs of active timeline (#111908)
* bring back drag drop in active timeline detail view

* only allow drag and drop in query tab

* fix snapshot

* fix bug on alert summary to remove dragdrop
2021-09-13 16:04:56 -04:00
Chris Roberson 17150b245a
[Task Manager] Support excluding certain task types from executing (#111036)
* Support excluding certain action types

* Fix types

* Fix jest tests

* Flip this

* Add functional test

* Add to README

* Updated README

* Add startup log

* Update x-pack/plugins/task_manager/README.md

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Add telemetry

* Add test

* Rename internal to unsafe

* Update test config

* Fix tests

* Update x-pack/plugins/task_manager/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* PR feedback

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-13 16:02:23 -04:00
Thomas Neirynck d3dd617cd9
[Fleet] Persist category and search in url on package page (#111571) 2021-09-13 15:12:01 -04:00
Thomas Neirynck fcd27d17c2
[Fleet] Rename tabs (#111657) 2021-09-13 15:10:57 -04:00
Spencer c5887450c6
[ci-stats] retry requests that respond with a 500 or greater (#111967)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-13 11:56:41 -07:00
Scotty Bollinger a76eed4657
Add a React Router helper for EuiListGroupItem (#111977) 2021-09-13 14:15:03 -04:00
Jonathan Buttner a0af91e885
[Security Solution][Timeline] Migrate timeline ids to references (#111043)
* Starting migration class

* Fleshing out migrator

* Adding migration tests

* Refactoring

* Adding migrator to each client

* gzipping file

* Fixing cypress tests

* Cleaning up types and adding additional test

* Addressing feedback
2021-09-13 14:06:29 -04:00
Angela Chuang c8ef1e214f
[Security Solution]Error coming up on clicking create timeline template (#111856)
* do not call addErrorHash if it is timeline template

* unit test

* fix types

* trim kqlQueryExpression

* revert change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 13:43:51 -04:00
Corey Robertson edc147b6f4
Fixes issue with removing first workpad page (#110495)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 13:18:25 -04:00
Madison Caldwell 835e88986c
[RAC][Security Solution] Add RAC event correlation rule (#108056)
* incremental changes

* No more type errors

* Type guards

* Begin adding tests

* Flatten

* Reduce scope of branch

* Revert "Reduce scope of branch"

This reverts commit 8c3a1875c3.

* Remove extraneous argument to filter_duplicate_signals

* Use constants, add producer and space ids

* Make owner and space id required fields

* Implement suggestions

* Add timestamp constant

* partial commit

* Fix apm tests

* more constants

* Fixes?

* Alert group builder + tests

* Fix types

* Finish eql implementation

* Add eql rule creation script
2021-09-13 13:15:05 -04:00
Chris Roberson 74d87db06a
[Actions] Telemetry for calling legacy routes (#111901)
* Telemetry for legacy http api routes

* PR feedback
2021-09-13 12:56:44 -04:00
Chris Roberson f8449a237d
[Alerting] Telemetry for calling legacy routes (#111885)
* Telemetry for calling legacy routes

* Fix types

* Use different counter type

* PR feedback

* Fix this test too
2021-09-13 12:56:27 -04:00
Jonathan Buttner 5e15e2ff1c
[Cases] Fixing newline issue with markdown stringify (#111646)
* Fixing newline issue with markdown stringify

* Adding comments and removing null check

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 12:54:17 -04:00
Jonathan Budzenski 1e70ad1dcf
[yarn.lock] Dedupe babel dependencies (#111810)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 11:50:26 -05:00
Larry Gregory 1b91a5b450
Add renovate config for platform security dependencies (#111950)
* Add renovate config for platform security dependencies

* Fix typo in group name
2021-09-13 12:46:41 -04:00
Dmitry Shevchenko 2bdb3131df
Add missing import statement to schema generator template (#111955) 2021-09-13 18:39:52 +02:00
Stef Nestor daf9cd55b1
[+Doc] ERROR: Kibana server not yet ready (#111230)
Adds section to bottom of [Kibana start-up](https://www.elastic.co/guide/en/kibana/current/access.html#status) for `Kibana server is not ready yet` error since second top Elastic Discuss post last 30d ([specific](https://discuss.elastic.co/t/error-kibana-server-is-not-ready-yet/156834/21) & [general](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/241217)). Copying @markwalkom's work.

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-13 10:12:12 -06:00
Stef Nestor 42aab12085
[DOC] Update Persist Keystore via Docker (#110917)
From feedback from ES Devs summarized in [this Elastic Discuss](https://discuss.elastic.co/t/persist-elasticsearch-kibana-keystores-with-docker/283099), Adding to [this doc section](https://www.elastic.co/guide/en/kibana/7.14/docker.html#bind-mount-config) information on persisting keystores. [ES related PR](https://github.com/elastic/elasticsearch/pull/77155)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-13 10:11:35 -06:00
Walter Rafelsberger 065701a0c3
[ML] APM Correlations: Chart for failed transactions correlations tab. (#110172)
* [ML] Fix tooltip text.

* Revert "[ML] Fix tooltip text."

This reverts commit ca86f769d7.

* [ML] Chart prototype.

* [ML] Hover support for failed transactions chart.

* [ML] Add p-value column.

* [ML] Code consolidation.

* [ML] Fix naming inconsistencies.

* [ML] Fix naming inconsistencies.

* [ML] Fix naming inconsistencies.

* [ML] Consolidate hooks.

* [ML] Consolidate hooks.

* [ML] Consolidate hooks.

* [ML] Use function overloads.

* [ML] Fix naming inconsistencies.

* [ML] Fix jest test.

* [ML] Fix chart loading behavior.

* [ML] Rename values to latencyCorrelations.

* [ML] Clean up types.

* [ML] Add function overloads.

* [Ml] Update API integration tests.

* [ML] Rename values to failedTransactionsCorrelations.

* [ML] Fix naming inconsistencies.

* [ML] Fix naming inconsistencies.

* [ML] Fix naming inconsistencies.

* [ML] Fix jest test.

* [ML] Fix API integration test

* [ML] Clean up chart data.

* [ML] Fix chart props.

* [ML] Tweak types for failed correlations.

* [ML] Improve FieldValuePair type usage.

* [ML] Remove 'async' from variable names.

* [ML] Fix typo.

* [ML] Simplify mock.

* [ML] Refactor code that used type guards.

* [ML] Comment about feature availability.

* [ML] Simplify check.

* [ML] Simplify selectedHistogram.

* [ML] Improve column type safety.

* [ML] Simplify selectedTerm.

* [ML] Simplify sorting.

* [ML] Fix regresssion when there's no data for failed transactions.

* [ML] Rename fieldFilter to termFilters.

* [ML] Update api integration test assertions.

* [ML] Fix failed transactions params.

* [ML] Tweak chart title.

* [ML] Tweak chart colors.

* [ML] Add translation.

* [ML] Tweak selectedTerm if statement.

* [ML] Fix types.

* [ML] Fix assertion text.

* [ML] Refactor replaceHistogramDotsWithBars.

* [ML] Refactor fetchFailedTransactionsCorrelationPValues.

* [ML] Fix score column width.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 17:08:43 +01:00
Michael Marcialis 4dc72140be
Account for presence of top banner when EuiDataGrid and Canvas are full screen (#111038)
* account for banners when data grid is full screen

* account for banner when canvas is full screen

* change height per feedback

* add withKibana

* rm withKibana; move vars out of Fullscreen

* Use hasHeaderBanner$

* add banner height var comments

* fix ts error

Co-authored-by: Catherine Liu <catherine.liu@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 11:58:01 -04:00
Kuldeep M dd1714e8dd
[Workplace Search] better spacing around icon in Group filter popover (#111949)
* better spacing around icon in group filter popover

* prevent flex wrapping on small screens
2021-09-13 16:54:08 +01:00