Commit graph

2851 commits

Author SHA1 Message Date
Ahmad Bamieh 3e755ccf1f
[7.x] [Deprecations service] make correctiveActions.manualSteps required (#100997) (#101156)
* merge conflicts

* update deprecation message
2021-06-02 11:28:22 -04:00
Kaarina Tungseth ef6bc40ddc
[DOCS] Removes 7.13.1 coming tags (#101094) 2021-06-02 09:31:32 -05:00
Anton Dosov 4202cb42dc
[7.x] [Index Patterns] Fix return saved index pattern object (#101051) (#101134)
* [Index Patterns] Fix return saved index pattern object (#101051)

* update docs
2021-06-02 07:38:47 -04:00
Kibana Machine d252c4e794
Migrate kibana.autocomplete config to data plugin (#100586) (#101088)
* Migrate kibana.autocomplete config to data plugin

* Fix CI

* Fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-06-01 17:34:26 -04:00
gchaps e24af8c236
[DOCS] Updates docs landing page (#100749) (#101114)
* [DOCS] Updates docs landing page

* [DOCS] Cleans up docs landing page
2021-06-01 14:25:07 -07:00
gchaps 2cc6873e6c
[DOCS] Updates runtime example in Discover (#100926) (#101112)
* [DOCS] Updates runtime example in Discover

* [DOCS] Updates images

* [DOCS] Adds link to runtime fields
2021-06-01 14:20:47 -07:00
Kaarina Tungseth 4d9fcfdf59
[DOCS] Corrects typo in step 3 (#101079) (#101096) 2021-06-01 14:00:14 -07:00
Kaarina Tungseth 4af061060a
[7.x] [DOCS] Adds the 7.13.1 release notes (#101092)
* [DOCS] Adds the 7.13.1 release notes

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Corrects Sharing bug fix that was organized under Design

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2021-06-01 15:19:16 -05:00
Kibana Machine 313a887d34
Create API keys with metadata (#100682) (#101074)
Co-authored-by: Thom Heymann <190132+thomheymann@users.noreply.github.com>
2021-06-01 18:50:59 +00:00
Kibana Machine 3295128346
[Deprecations service] add deprecationType and use it in configs deprecations (#100983) (#101039)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-06-01 09:05:09 -04:00
Alejandro Fernández Gómez 8a62b29374
[Fleet] Remove beats management plugin (#99789) (#101010)
# Conflicts:
#	.github/CODEOWNERS
#	api_docs/data.json
#	api_docs/data_index_patterns.json
#	api_docs/deprecations.mdx
#	api_docs/security.json
#	api_docs/spaces.json
2021-05-31 13:33:12 -04:00
Kibana Machine 4f0e675d8b
[Lens] [Docs] Add more QA for Lens (#97142) (#101015)
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-05-31 09:25:52 -07:00
gchaps a3da48de12
Remove recommendation of coordinating only node (#100632) (#100932)
* Remove recommendation of coordinating only node

A documentation should be easy and straight forward and giving the user the easiest possible way to get to a fully functioning cluster.

Running a coordinating only node is a bad idea because:

1. Introduces a single point of failure, especially when it is running on the same host as Kibana.
2. Introduces complexity, because you need to run an additional node.

The easiest way to solve the issue of load balancing is to add multiple hosts in the `Elasticsearch.hosts` array in the `Kibana.yml`. This should be far easier than deploying a coordinating node.

* fixed CI errors, there were references to the deleted `load-balancing-es` https://github.com/elastic/kibana/pull/100632

Co-authored-by: Philipp Kahr <philipp.kahr@elastic.co>
2021-05-28 10:37:37 -07:00
gchaps ab0030b43a
[DOCS] Adds video to introduction (#100906) (#100928) 2021-05-28 10:34:27 -07:00
Kibana Machine 64528b1851
chore(NA): moving @kbn/io-ts-utils into bazel (#100810) (#100893)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-28 12:02:21 -04:00
Kibana Machine 41ef9ec8a0
[Alerting] Adding feature flag for enabling/disabling rule import and export (#100718) (#100887)
* Adding feature flag for enabling rule import and export

* Removing item from docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-05-28 11:48:28 -04:00
Kaarina Tungseth 0f50198929
[DOCS] Adds Lens video (#100898) (#100900) 2021-05-28 07:47:18 -07:00
DeDe Morton 112c391a5e
Add known Fleet unenrollment issue (#100829) (#100839) 2021-05-27 16:43:28 -07:00
Yuliia Naumenko 74d3820595
[Actions] Converted rejectUnauthorized config usages to verificationMode. (#100179) (#100830)
* [Actions] Converted `rejectUnauthorized` config usages to `verificationMode`.

* added new verificationMode config options for tls, proxy tls and custom hosts

* added unit tests

* added unit tests

* added kibana docker

* Apply suggestions from code review

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

* Update alert-action-settings.asciidoc

* Apply suggestions from code review

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

* removed legacyRegectUnauthorized logic from getNodeTLSOptions

* added deprecations

* fixed doc links

* fixed docs

* Update x-pack/plugins/actions/server/builtin_action_types/lib/send_email.ts

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

* [DOCS] Fixes build error

* fixed deprecations to set custom message

* fixed doc

* changed to not throw exception on non existing verification mode

* added tests

* fixed tests

* fixed tests

* added integration tests for legacy rejectUnauthorized fale

* fixed tests

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-27 19:20:58 -04:00
Kibana Machine 6b6c48dbcb
Automated package testing (#88900) (#100812)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-05-27 20:33:04 +00:00
Kibana Machine 72e000f14e
chore(NA): moving @kbn/monaco into bazel (#100709) (#100808)
* chore(NA): moving @kbn/monaco into bazel

* chore(NA): update register globals definitions

* chore(NA): remove build script

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-27 15:51:54 -04:00
Anton Dosov 64017d65cc
[Index patterns] Default index pattern REST API (#100691) (#100798) 2021-05-27 14:00:43 -04:00
Kibana Machine 12ec99f3fd
[Alerting] Link to action config settings from connector docs (#100358) (#100751)
* wip

* Adding section about connector networking config to all connectors

* Updating wording

* Changing header size

* Updating links

* Apply suggestions from code review

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

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

Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-05-26 18:07:58 -07:00
Lisa Cawley 7b977771d9
[7.x]Use documentation link service for index pattern field editor #100609 (#100708) 2021-05-26 12:30:35 -07:00
Kibana Machine 2028d54b3e
[Maps] filter dashboard by map extent (#99860) (#100690)
* [Maps] filter dashboard by map extent

* clean up

* remove warning from filter pill

* tslint

* API doc updates, i18n fixes, tslint

* only show context menu option in edit mode

* add functional test

* review feedback

* do not use search session when filtering by map bounds

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-05-26 12:45:01 -04:00
Anton Dosov a4921f3cbc
[Docs] Index patterns REST API docs (#100549) (#100703) 2021-05-26 09:43:14 -07:00
Spencer b601c5c3b4
[ftr] implement FtrService classes and migrate common services (#99546) (#100585)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/common/services/deployment.ts
#	test/common/services/index.ts
#	test/common/services/saved_object_info.ts
#	test/functional/apps/visualize/index.ts
2021-05-25 16:31:02 -04:00
Sergi Massaneda 311db21456
[Security Solution] Application register deepLinks instead of meta.searchDeepLinks (#100129) (#100573)
* refactor meta.searchDeepLinks to deepLinks and remove meta

* remove comments

* obsolete snapshot removed

* documentation updated

* [deepLinks] refactor ml nav ids and translation keys

* flaky test fix attempt [sync with glo]

* default deepLinks navLinkStatus

* api_docs restored

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-25 14:54:54 -04:00
Kaarina Tungseth 8ee2bfc9a7
Docs/7.13 security update (#100574)
* [DOCS] Adds the security updates to the 7.13 release notes

* Corrects URL redirection flaw affected versions
2021-05-25 10:26:57 -07:00
Lisa Cawley f841748f76
[DOCS] Remove redundant maps attribute (#100426) (#100556) 2021-05-25 08:01:21 -07:00
Kaarina Tungseth 31b1cf7226
[7.x] [DOCS] Removes 7.13 coming tags from release notes (#100496) 2021-05-25 07:22:56 -05:00
Kibana Machine 8d82359c3b
[Security Solution] Utilizes constants package and deletes duplicate code (#100513) (#100520)
## Summary

Utilizes constants package and deletes duplicate code

* Renames the `securitysolution-constants` to be `securitysolution-list-constants` to be specific
* Deletes duplicated code found during cleanup
* Moves more tests into the packages found along the way with the duplicated code
* Moves `parseScheduleDates` from `@kbn/securitysolution-io-ts-types` to `@kbn/securitysolution-io-ts-utils`

### 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

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-05-24 22:37:30 -04:00
Kibana Machine f830abb3c3
[Alerting] Update README (#100478) (#100502)
* Updating readme

* Updating readme

* Fix plugin list docs

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-05-24 18:17:35 -04:00
Kaarina Tungseth b34b129cb8
[DOCS] Updates release version for release notes (#100503) 2021-05-24 15:40:51 -05:00
Kaarina Tungseth acdd723d4a
[DOCS] Dashboard changes for 7.13 (#99681) (#100498)
* [DOCS] Dashboard changes for 7.13

* Review comments

* Review comments

* Fixes link

* Fixes lens link
2021-05-24 13:23:37 -07:00
Kaarina Tungseth b712e6b8e2
[7.x] [DOCS] 7.13 release notes (#100493)
* [DOCS] 7.13.0 release notes

* [DOCS] Fix capitalization in ML PRs

* Documenting issue 100285 as a known issue for 7.13.

* [DOCS] Adds another featured ML PR

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>

* Review comments

* [7.x] [DOCS] 7.13 release notes

* Adds back pre 7.13 rn

Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: nastasha.solomon <nastasha.solomon@elastic.co>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
Co-authored-by: DeDe Morton <dede.morton@elastic.co>
Co-authored-by: EamonnTP <Eamonn.Smith@elastic.co>
2021-05-24 14:59:09 -05:00
Kibana Machine ca724ab1fa
Remove chrome.navLinks.update (#99633) (#100483)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-05-24 15:55:43 -04:00
Jorge Sanz 2da39ff44e
[Maps][Docs] Fix ems server config path in compose example (#100463) (#100484) 2021-05-24 11:19:47 -07:00
Matthew Kime 292563d395
[7.x] [index patterns] deprecate IIndexPattern and IFieldType interfaces (#100013) (#100337)
* [index patterns] deprecate IIndexPattern and IFieldType interfaces (#100013)

* deprecate IIndexPattern and IFieldType

* update api docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* update docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-20 20:23:26 -04:00
Kibana Machine f7d8775477
[data.search] Add Kibana request to search strategy dependencies (#98566) (#100425)
* [data.search] Add Kibana request to search strategy dependencies

* Don't register internal strategy

* Update docs

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-05-20 19:06:36 -04:00
Kibana Machine 533d32f7fa
Adds two more packages and moves files into the packages (#100375) (#100418)
## Summary

* Adds package `kbn-securitysolution-list-api`
* Adds package `kbn-securitysolution-list-hooks`
* Moves files into the packages
* Moves a few additional types into the other packages such as the `kbn-securitysolution-io-ts-types` package to remove more things from the shard_export/shared_import between lists and security solution
* Removes more duplicated code

### 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

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-05-20 16:33:34 -04:00
Kibana Machine f820c78760
[Dashboard] Embeddable Migrations for By Value Panels (#99715) (#100364)
* Implemented embeddable by value migrations

Co-authored-by: Devon Thomson <devon.thomson@hotmail.com>
2021-05-20 12:34:15 -04:00
Kaarina Tungseth 0cec744242
[DOCS] Fixes Discover link on runtime fields page (#100335) (#100402) 2021-05-20 06:51:59 -07:00
Jean-Louis Leysens 3629e76251
[7.x] [Screenshot mode] Create plugin to provide "screenshot mode" awareness (#99627) (#100331)
* [Screenshot mode] Create plugin to provide "screenshot mode" awareness (#99627)

* initial version of the screenshot mode service

* First iteration of client side of screenshot mode plugin

Also hooked it up to the chromium browser imitating the preload
functionality of electron to set up the environment before
code runs.

* First implementation of server-side logic for detecting
screenshot mode

* fix some type issues and do a small refactor

* fix size limits, docs and ts issues

* fixed types issues and made sure screenshot mode is correctly detected on the client

* Moved the screenshot mode header definition to common
Added a server-side example for screenshot mode
Export the screenshot mode header in both public and server

* move require() to screenshotMode plugin

* Update chromium_driver.ts

* cleaned up some comments, minor refactor in ReportingCore and
changed the screenshotmode detection function to check for a
specific value.

* fix export

* Expanded server-side screenshot mode contract with function that
checks a kibana request to determine whether we in screenshot
mode

* added comments to explain use of literal value rather than external reference

* updated comment

* update reporting example

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/reporting/server/core.ts
#	x-pack/plugins/reporting/server/plugin.ts

* satisfy for tslint formatting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-20 07:58:50 -04:00
Pierre Gayvallet e1e68fe949
remove ui settings client-side validation (#100311) (#100379)
* remove ui settings client-side validation

* fix linter

* fix tests

* update generated doc
2021-05-20 07:33:58 -04:00
Kibana Machine 7d0deec6cb
[Security Solutions] Re-arranges and adds more packages to remove copied code (#100310) (#100369)
## Summary

* Creates a `securitysolution-list-utils` packaged and moves the first set of utilities into there
* Fixes a slight bug with `kbn-securitysolution-io-ts-list-types` where the wrong name was used
* Moves _all_ of the lists schemas and types into the package `kbn-securitysolution-io-ts-list-types`
* Removes copied code found in a few places

## Tech debt
* Some spots I have to use an `any` in the package as Kibana kbn packages don't have the types I need
* Some spots I copy constants until we can straighten out those pieces.
* I keep copied mock files until we figure out how to share mocks from these packages without adding weight or we create dedicated mock packages for all of this. 


### 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

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-05-19 19:56:33 -04:00
Stratoula Kalafateli 62601d2d2f
[Timelion] Changes the version of removal message (#100022) (#100266)
* Change the version of timelion removal on our documentation and warnings

* Remove translations in order to be revisited

* Remove double

* Update docs/user/dashboard/timelion.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update src/plugins/timelion/public/components/timelion_deprecation.tsx

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update src/plugins/timelion/server/deprecations.ts

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update src/plugins/timelion/server/deprecations.ts

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-18 12:28:28 -04:00
Mikhail Shustov b66df95440
Improve migration perf (#99773) (#100252)
* Do not clone state, use TypeCheck it's not mutated

* do not recreate context for every migration

* use more optional semver check

* update SavedObjectMigrationContext type

* add a test model returns new state object

* update docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-18 06:52:37 -04:00
Tiago Costa 9da08aee5c
chore(NA): moving @kbn/i18n into bazel (#99390) (#100169)
* chore(NA): moving @kbn/i18n into bazel

* chore(NA): include javascript locales.js files

* chore(NA): remove build scripts

* chore(NA): remove node types on browser

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-i18n/scripts/build.js
2021-05-14 18:18:53 -04:00
Kibana Machine 74f27a9264
chore(NA): moving @kbn/server-http-tools into bazel (#100153) (#100168)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-14 18:13:53 -04:00