Commit graph

42139 commits

Author SHA1 Message Date
Thomas Watson e2eeb44613
Bump hosted-git-info from 2.5.0/3.0.7 to 2.8.9/3.0.8 (#96987) 2021-04-14 10:36:36 -04:00
Alison Goryachev b401cbb3eb
export DomainDeprecationDetails type from public + fix typo (#96885) 2021-04-14 09:51:47 -04:00
Tiago Costa e36650de70
chore(NA): moving @kbn/config-schema into bazel (#96273)
* chore(NA): moving @kbn/config-schema into bazel

* chore(NA): correctly format packages for the new bazel standards

* chore(NA): correctly maps srcs into source_files

* chore(NA): remove config-schema dep from legacy built packages package.jsons

* chore(NA): include kbn/config-schema in the list of bazel packages to be built

* chore(NA): change import to fix typechecking

* chore(NA): remove dependency on new package built by bazel

* 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-14 14:38:10 +01:00
Scotty Bollinger 366a537d37
[Workplace Search] Add breadcrumbs to Role mappings (#97051)
* Update Workplace Search nav to align with App Search

* Add constants to shared

* [App Search] Use shared constants

* [Workplace Search] Add breadcrumbs to Role mappings

* Enable shouldShowActiveForSubroutes
2021-04-14 08:25:18 -05:00
Scotty Bollinger 1630c14a15
[Workplace Search] Remove shadows from Source overview panels (#97055) 2021-04-14 10:14:12 -03:00
Alexey Antonov bcc1acb1dd
[TSVB][performance] remove visPayloadSchema.validate (#97091)
* [TSVB][performance] remove visPayloadSchema.validate

Part of: #97061

* Update vis.ts
2021-04-14 15:33:41 +03:00
Alexey Antonov 3b7ef07eca
[TSVB] Field validation should not be performed on string indexes. (#97052)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 15:32:44 +03:00
Ahmad Bamieh 69f570f06a
[Usage collection] Usage counters (#96696)
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
2021-04-14 08:21:11 -04:00
Vadim Dalecky e361e21622
UI actions readme (#96925)
* docs: ✏️ improve UI actions plugin readme

* docs: improve trigger description

* docs: remove unnecessary comma

* chore: 🤖 update autogenerated docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 14:12:27 +02:00
Stratoula Kalafateli 23e18b93eb
[TSVB] Enable brush for visualizations created with no index patterns (#96727)
* [TSVB] Enable brush for visualizations created with no index patterns

* Fix comments typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 13:48:00 +03:00
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