Commit graph

42079 commits

Author SHA1 Message Date
Alejandro Fernández Haro f4f49bc32e
[Data telemetry] Add Async Search to the tests (#96693)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 06:32:40 -04:00
Jean-Louis Leysens 8c8fcf16c4
added missing optional chain for bracket notation (#96939) 2021-04-14 11:46:12 +02:00
Matthias Wilhelm 3a7f23efac
[Discover][DocViewer] Fix toggle columns from doc viewer table tab (#95748) 2021-04-14 11:00:06 +02:00
Wylie Conlon b0772471ce
[TSVB] Fix per-request caching of index patterns (#97043) 2021-04-14 10:52:12 +03:00
Stratoula Kalafateli f0b1b903d5
[Datatable] Fix filter cell flakiness (#96934) 2021-04-14 08:34:50 +03:00
Stratoula Kalafateli 8db70bca19
Unskip heatmap suite and fixes flakiness (#96941) 2021-04-14 08:33:27 +03:00
Jen Huang 39e4ea8f44
[Fleet] Improve performance of data stream API (#97058)
* Improve performance of data stream API

* Remove extra logger, replace filter with reduce

* Remove unused import
2021-04-13 20:52:17 -07:00
Melissa Alvarez 2c73115b74
[ML] Data Frame Analytics: remove beta badge (#96977)
* remove beta badge from DFA jobs list

* remove unused translations
2021-04-13 21:46:05 -04:00
Byron Hulcher 71672c4c38
[App Search] Migrate expanded rows for meta engines table in Engines Overview (#96251)
* Pull out columns to be re-used for MetaEnginesTable

* Add route to get source engines for meta engines

* New MetaEnginesTableLogic

* New MetaEnginesTable component

* Remove isMeta prop from EnginesTable

* Swap EnginesTable with MetaEnginesTable in EnginesOverview for meta engines

* Missing test for MetaEnginesTableNameColumnContent

* Created new /app_search/components/engines/components/tables directory

* Moving columns to shared_columns.tsx file

* Updates to MetaEnginesTableExpandedRow and MetaEnginesTableNameColumnContent

* Fixes to EnginesTable, MetaEnginesTable, MetaEnginesTableLogic

* Remove flatten import

* Fix i18n

* PR Feedback

* DRY out shared engine link helpers

* DRY out shared ACTIONS_COLUMN

* Tests: DRY out shared columns/props tests

+ update to account for 2 previous DRY commits (e.g. deleteEngine mock)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance Chen <constance.chen.3@gmail.com>
2021-04-13 21:15:37 -04:00
Nathan L Smith dfca5d440c
Instances latency distribution chart tooltips and axis fixes (#95577)
Fixes #88852
2021-04-13 16:02:55 -05:00
igoristic 355c949463
[Monitoring] Using primary average shard size (#96177)
* Using shard size avg instead of primary total

* Added ui text

* Changed to primary average instead of total

* Addressed cr feedback

* Added zero check

* Fixed threshold checking

* Changed description

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 17:01:39 -04:00
Scotty Bollinger 448562f758
[Workplace Search] Hide Kibana chrome on 3rd party connector redirects (#97028) 2021-04-13 16:57:38 -04:00
Andrew Goldstein a66bb5394d
## [Security Solution] Fixes Exit full screen and Copy to cliboard styling issues (#96676)
## [Security Solution] Fixes `Exit full screen` and `Copy to clipboard` styling issues

Note: This PR is `release_note:skip` because the styling issues below do not effect any previous release.

- Fixes issue https://github.com/elastic/kibana/issues/96209 where the `Exit full screen` button in Timeline's `Pinned` tab is rendered adjacent to, instead of above, the table:

### Before: Exit Full Screen (`Pinned` tab)

![exit-full-screen-before](https://user-images.githubusercontent.com/4459398/114104665-89372980-9888-11eb-9158-ffa9c5a5ce17.png)

_Before: The `Exit full screen` button on Timeline's `Pinned` tab_

### After: Exit Full Screen (`Pinned` tab)

![exit-full-screen-after](https://user-images.githubusercontent.com/4459398/114106055-3743d300-988b-11eb-9c4d-c08679702d05.png)

_After: The `Exit full screen` button on Timeline's `Pinned` tab_

- Fixes an issue where the `Copy to clipboard` hover menu action was not aligned with the other hover menu actions:

### Before: Copy to clipboard hover action

![copy-to-clipboard-before](https://user-images.githubusercontent.com/4459398/114106138-5c384600-988b-11eb-942e-ae4e09848b09.png)

_Before: The `Copy to clipboard` hover action was not aligned_

### After: Copy to clipboard hover action

![copy-to-clipboard-after](https://user-images.githubusercontent.com/4459398/114106236-8db11180-988b-11eb-85ae-476ac6d1df4e.png)

_After: The `Copy to clipboard` hover action is aligned_

### Desk Testing

Desk tested in:

- Chrome `89.0.4389.114`
- Firefox `87.0`
- Safari `14.0.3`
2021-04-13 14:55:04 -06:00
Matthew Kime 1cd90d744f
Index pattern field editor - Add warning on name or type change (#95528)
* add warning on name or type change
2021-04-13 15:52:37 -05:00
Constance d774a41aef
[App Search] Add small engine breadcrumb utility helper (#96917)
* Add new getEngineBreadcrumbs utility helper

* Update all routes passing engineBreadcrumb as a prop to use new helper
2021-04-13 12:56:22 -07:00
John Schulz 58b1d10f0b
Copy esArchiver commands from ./reassign.ts to fix tests (#97012)
## Summary

Seeing failures like this locally for `x-pack/test/fleet_api_integration/apis/agents/unenroll.ts` tests
<details><summary>screenshot of error</summary>
<img width="1121" alt="Screen Shot 2021-04-13 at 10 06 51 AM" src="https://user-images.githubusercontent.com/57655/114592495-fec04280-9c58-11eb-939c-b84aa7469c2a.png">
</details>
Copied the `esArchiver` patterns from `x-pack/test/fleet_api_integration/apis/agents/reassign.ts` in https://github.com/elastic/kibana/pull/96837 and the error is gone

### 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
2021-04-13 15:42:36 -04:00
Garrett Spong 7e20bf85e0
[Security Solution][Detections] Updates MITRE Tactics, Techniques, and Subtechniques for 7.13 (#97011)
## Summary

This PR updates the MITRE Tactics, Techniques, and Subtechniques used within Security Solution Detection Rules. See https://github.com/elastic/kibana/issues/89876 for details on automating this task. 🙂
2021-04-13 13:40:13 -06:00
Matthew Kime d80c257f81
Index patterns server - throw correct error on field caps 404 (#95879)
* throw correct error on field caps 404 and update tests
2021-04-13 14:14:19 -05:00
Nathan L Smith d5bb7d6645
Use EuiThemeProvider in lists plugin tests and stories (#96129)
Remove `getMockTheme` and use `EuiThemeProvider` from the kibana_react plugin.

Use the CSF-style decorators with `EuiThemeProvider` in the stories.

No functional changes, but should be less code to maintain.
2021-04-13 13:49:25 -05:00
Spencer 0500289699
[npm] upgrade caniuse database (#97002)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-13 14:35:14 -04:00
Tiago Costa 47065acb05
chore(NA): moving @kbn/apm-utils into bazel (#96227)
* chore(NA): moving @kbn/apm-utils into bazel

* chore(NA): add kbn/apm-utils into package.json

* chore(NA): missing standard on build file globs

* chore(NA): be more explicit about incremental setting

* chore(NA): include pretty in the args for ts_project rule

* docs(NA): include package migration completion in the developer getting started

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 19:14:06 +01:00
Sébastien Loix 67e512fe27
[ILM] Add UI validation for min age value (#96718) 2021-04-13 18:47:20 +01:00
Mike Côté 8e9ca66520
Fix alerting flaky test by adding retryIfConflict to fixture APIs (#96226)
* Add retryIfConflict to fixture APIs

* Fix

* Fix import errors?

* Revert part of the fix

* Attempt fix

* Attempt 2

* Try again

* Remove dependency on core code

* Comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 13:29:22 -04:00
Lisa Cawley 27cd514cab
Use doc link services in index management (#89957)
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2021-04-13 10:21:06 -07:00
Catherine Liu 74d93a2f6d
[Presentation Util] Shared toolbar component (#94139) 2021-04-13 09:24:17 -07:00
Joe Reuter 7edacdade1
give test more time (#96955) 2021-04-13 18:20:44 +02:00
Pete Harverson c937fc35e3
[ML] Fix check for too many selected buckets in Anomaly Explorer charts (#96771) 2021-04-13 16:50:04 +01:00
Alejandro Fernández Haro ff6d1d709e
.editorconfig MDX files should follow the same rules as MD (#96942)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 11:40:42 -04:00
Nicolas Chaulet 0e7612dd1a
[Fleet] Fix Fleet API integration tests (#96837) 2021-04-13 11:16:32 -04:00
Marco Liberati 0260dacfc8
[Graph] Enable partial pasting in drilldowns (#96830) 2021-04-13 17:15:41 +02:00
Tim Sullivan f67f0e80e7
Reporting: Fix _index and _id columns in CSV export (#96097)
* Reporting: Fix _index and _id columns in CSV export

* optimize - cache _columns and run getColumns once per execution

* Update x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

* feedback

* fix typescripts

* fix plugin list test

* fix plugin list

* take away the export interface to test CI build stats

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
2021-04-13 08:03:09 -07:00
gchaps 417776d9b6
[DOCS] Adds concepts section for analysts (#96675)
* [DOCS] Adds concepts section for analysts

* [DOCS] Minor tweaks to concepts doc

* Update docs/concepts/index.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/concepts/save-query.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2021-04-13 07:49:38 -07:00
Spencer 27c191d405
[plugin-generator] don't generate .eslintrc.js files for internal plugins (#96921)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-13 07:43:03 -07:00
Craig Chamberlain bedf92f001
Adds Network ML module with four ML jobs for ECS network data (#96480)
* network module

adds the network module with four ml jobs for the 7.13 release

* Update datafeed_high_count_network_denies.json

json formatting

* update test

added the security_network module to the list

* renames

module name change to security_network / Security: Network

* formatting

change hyphen char to underscores

* fixes and name changes

fixes to df queries, descriptions. created_by param

* update tests

tests need the security_network module added

* formatting

change hyphens to underscores

* descriptions

format descriptions

* Update datafeed_high_count_network_events.json

indentation fixes

* Update x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/manifest.json

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update datafeed_high_count_network_events.json

change to a filter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-04-13 10:35:01 -04:00
Anton Dosov 98f799953b
[Search Sessions] Remove auto-refresh limitation (#96539) 2021-04-13 16:13:25 +02:00
Melissa Alvarez 3acabf32b4
ensure ROC chart gets loaded correctly (#96890) 2021-04-13 10:12:22 -04:00
Elizabet Oliveira ba091c00cf
[K8] [Maps] Fix toolbar overlay styles (#96352)
* Fix toolbar overlay styles

* More styles

* Updating test

* Better focus state for mapbox buttons

* Mapbox buttons focus

* Focus againa

* Focus states again

* no background only for focus not hover

* Adding mixin for button group border radius

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 15:04:07 +01:00
Tyler Smalley 22dd61d919
[keystore] Fix openHandle in Jest tests (#96671)
```
[2021-04-07T00:19:27Z] Jest did not exit one second after the test run has completed.
[2021-04-07T00:19:27Z]
[2021-04-07T00:19:27Z] This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
```

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 06:55:50 -07:00
Matthias Wilhelm 8cce4805d4
[Discover][EuiDataGrid] Add document selector (#94804)
Co-authored-by: Ryan Keairns <rkeairns@chef.io>
2021-04-13 15:54:42 +02:00
Patryk Kopyciński 73ccf7844a
[Fleet] Add support for long and double field type in multi_fields (#96834) 2021-04-13 15:38:12 +02:00
Rob Bavey 46179d6432
[Telemetry] Fix Logstash telemetry collection for multi node clusters (#96831)
Prior to this fix, each Logstash node was overwriting the collected list of ephemeral ids used to
collect pipeline details. This meant that pipeline details were only being collected for the
last Logstash node retrieved for each cluster.
2021-04-13 09:31:18 -04:00
Scotty Bollinger 93e270e60a
[Enterprise Search] Design Pass: Role mappings (#96882)
* Update shared button color and panel shading

* Vertically align table cells to top

* [App Search] Update panels to have backgrounds not borders

* [Workplace Search] Update panels to have backgrounds not borders

* re-align last cell to right

Accidentally deleted it refactoring

* Conditionally have border for App Search

Requested to remove for empty state
2021-04-13 10:31:00 -03:00
Dmitry Tomashevich bc59d55d67
[TSVB] Fix annotation line doesn't work if no index pattern is applied (#96646)
* [TSVB] fix annotation line doesnt work if no index pattern is applied

* [TSVB] remove series from annotations, remove timeField placeholder

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 09:26:49 -04:00
Thomas Neirynck 25000b4091
[Maps] wrap flaky test in retry block (#96448) 2021-04-13 09:21:21 -04:00
Thomas Neirynck 451c5a6fae
[Maps] Enable filtering with spatial relationships on geo_point fields (#96849) 2021-04-13 09:20:11 -04:00
Pierre Gayvallet bfd5b7bda6
Exclude non-persisted sessions from SO migration (#96938) 2021-04-13 14:34:32 +02:00
Jean-Louis Leysens b9c4d248ae
[ESUI] More robust handling of error responses (#96819)
* more robust handling of error responses

* added tests and further hardening of how we handle error values
2021-04-13 14:15:34 +02:00
Matthias Wilhelm d8b4316783
[Discover] Close inspector when switching app (#92994) 2021-04-13 14:12:19 +02:00
Uladzislau Lasitsa 6ddc4bff06
[TSVB] Wrong custom values formatting for the empty buckets (#96293)
* Don't apply formatter for default value

* Remove the logic to overwrite the default value because it is not being used

* Fix remark

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 14:32:11 +03:00
Thom Heymann 69f013e2fb
Added ability to create API keys (#92610)
* Added ability to create API keys

* Remove hard coded colours

* Added unit tests

* Fix linting errors

* Display full base64 encoded API key

* Fix linting errors

* Fix more linting error and unit tests

* Added suggestions from code review

* fix unit tests

* move code editor field into separate component

* fixed tests

* fixed test

* Fixed functional tests

* replaced theme hook with eui import

* Revert to manual theme detection

* added storybook

* Additional unit and functional tests

* Added suggestions from code review

* Remove unused translations

* Updated docs and added detailed error description

* Removed unused messages

* Updated unit test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-04-13 12:21:11 +01:00