Commit graph

1486 commits

Author SHA1 Message Date
Melori Arellano 7a1db7f23b
[DOCS]Clarify that by default server.host only allows local connections (#52802)
* [DOCS]Clarify that by default server.host only allows local connections

* Update docs/setup/access.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/setup/settings.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/setup/settings.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-12-11 13:22:45 -07:00
Lukas Olson 8395596159
[Search service] Add timeout parameter from config to requests (#52352)
* Add timeout parameter to requests

* export SharedGlobalConfig from `core/server`
2019-12-11 10:57:19 -07:00
Brandon Morelli b91c24c0b3
docs: unknown route (#52703) 2019-12-11 09:53:44 -08:00
Aleh Zasypkin 2ec82d3dd9
Migrate the rest of the API endpoints to the New Platform plugin (#50695) 2019-12-11 18:35:49 +01:00
Josh Dover a91e53f18f
Add asResponse option to HttpService methods (#52434) 2019-12-11 10:53:17 -06:00
gchaps 6e476e845d
[DOCS] Updtes description of elasticsearch.requestHeadersWhitelist (#52675) 2019-12-10 12:30:11 -08:00
Spencer 6ea1b2ccee
[ftr/lifecycle] refactor to be typesafe (#52453)
* [ftr/lifecycle] refactor to be typesafe

* update test fixture
2019-12-09 18:46:45 -07:00
Tiago Costa 6d5c8caadc
Adds support for log rotation (#49750)
* chore(NA): add log options to config yml

* chore(NA): remove unwanted option from config declaration

* chore(NA): add the bootstrap for the logging rotate feature

* feat(NA): base interface setup for log rotation feature

* docs(NA): add documentation for the new logging rotate options. chore(NA): added new schema validations

* chore(NA): base lifecycle methods and logic

* feat(NA): monitor logic for log rotate feature

* fix(NA): basic log rotation lifecycle

* chore(NA): fix typo on config file

* feat(NA): add rotate files feature to log rotator

* chore(NA): fix log rotate config

* chore(NA): some tests to try logging rotate lifecycle

* feat(NA): correct log rotation logic

* fix(NA): lifecycle for the log rotator

* test(NA): add a test case

* chore(NA): correctly add the new defaults to the config schema

* test(NA): change dir generation for test

* chore(NA): mock log rotate for logging service test

* test(NA): fix temp dir permission issue

* test(NA): try to fix test

* chore(NA): remove usage of mkdtemp

* refact(NA): feature logging rotation reimplementation in order to make it work across platforms

* fix(NA): bug on file size monitor handle

* fix(NA): remove wrong commented out code

* chore(NA): correctly identify if we should use polling

* chore(NA): fix some code comment

* refact(NA): minor implementation details

* chore(NA): change the order of logging mix

* test(NA): add some more test cases

* test(NA): add the majority of the test cases

* test(NA): add last test case

* test(NA): fallback conditions

* chore(NA): add logging rotate config keys to the docker image

* chore(NA): move logging.rotate.enable setting to enabled

* chore(NA): clarify documentation for logging rotate

* chore(NA): use regular instead of logWithMetadata

* chore(NA): move chokidar to a prod dep

* chore(NA): add log explaining why we had fallback to use polling

* test(NA): fix unit tests

* test(NA): fix unit tests

* chore(NA): correctly place this.running condition

* chore(NA): remove redundant call

* fix(NA): log filename containing numbers would produce invalid sorting

* chore(NA): remove existsSync function call from readRotatedFilesMetadata function

* chore(NA): Update docs/setup/settings.asciidoc

Co-Authored-By: Tyler Smalley <tylersmalley@me.com>

* chore(NA): Update docs/setup/settings.asciidoc

Co-Authored-By: Tyler Smalley <tylersmalley@me.com>

* chore(NA): Update docs/setup/settings.asciidoc

Co-Authored-By: Tyler Smalley <tylersmalley@me.com>

* chore(NA): Update docs/setup/settings.asciidoc

Co-Authored-By: Tyler Smalley <tylersmalley@me.com>

* chore(na): update src/legacy/server/logging/rotate/index.js

Co-Authored-By: Tyler Smalley <tylersmalley@me.com>

* chore(NA): remove unused config line from docker vars

* chore(NA): update documentation to include info about non exact limits

* chore(NA): remove redudant if clause

* fix(NA): correctly work with new keepFiles limit after start

* fix(NA): warning log for logging rotate

* chore(NA): replace logwithmetadate with log

* docs(NA): correct log to right terms

* docs(NA): add comment about usage of slice(-1)

* refact(NA): changing polling interval from seconds to milliseconds

* docs(NA): fix comments for shouldRotate method

* chore(NA): update src/legacy/server/logging/rotate/log_rotator.js

Co-Authored-By: Mikhail Shustov <restrry@gmail.com>

* chore(NA): update src/legacy/server/logging/rotate/log_rotator.js

Co-Authored-By: Mikhail Shustov <restrry@gmail.com>

* refact(NA): small change

* refact(NA): bound stop

* refact(NA): shouldUsePolling test function

* refact(NA): move named truncate function to delete

* refact(NA): typescript conversion

* chore(NA): type update for log rotation index file

* docs(NA): add experimental tag on docs

* chore(NA): add call protection of clearTimeout

* refact(NA): cleanup comments and wrong added logs plus inline config

* chore(NA): replace ts-ignore by non null assertion operator

* docs(NA): extend documentation for _renameRotatedFilesByOne call

* chore(NA): fix type problems for process.emit on nodejs
2019-12-10 01:32:20 +00:00
Rudolf Meijering e9299092f0
Expose SavedObjectsStart from AppMountContext (#52059) 2019-12-09 12:37:54 +01:00
Maja Grubic 1f9f3a559b
Re-introducing docs on image url (#52458) 2019-12-07 14:54:56 +00:00
Nathan Reese d4479b8221
[skip-ci][Maps] Connecting to Elastic Maps Service from an internal network documentation (#48927)
* [skip-ci][Maps] Connecting to Elastic Maps Service from an internal network documenation

* use ascii docs list format

* review feedback
2019-12-06 14:34:34 -07:00
Tony Sleva b1eebaa2a5
Update most-frequent.asciidoc (#52241)
Backporting https://github.com/elastic/kibana/pull/52240
2019-12-06 12:24:14 -09:00
Mikhail Shustov 2ef6d8d8f7
Add pre-response http interceptor (#52366)
* add onPreResponse interceptor

* expose registerPreResponse to plugins

* address comments

* regen docs
2019-12-06 17:46:25 +01:00
Dan Roscigno 84bba66e1d Add tutorial for using RBAC with Spaces (#52197)
* add spaces with RBAC tutorial

* add tutorial

* removed extra dir

* revert

* init tutorial

* link tutorial

* fix images dir

* fixed links

* editing

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* show path

* added path to crate user

* rearrange

* remove image

* specify admin role

* replace we with you

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* remove excess words

* remove excess words

* spelling

* spelling

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* resolve reviewer comments

* review updates

* address review comments

* removed monitor cluster priv

* reviewer comments
2019-12-05 17:01:04 -08:00
Ahmad Bamieh 9fe302cf17
[Cloud] move cloud plugin to np (#51789)
* move cloud dir to plugins from legacy

* first iteration moving to NP

* config as observable

* finish plugin

* migrate xpack.cloud.apm.*

* self code review

* remove unused lodash get

* use lodash get to get configs

* export SerializedDatatable

* eslint fix

* eslint fix

* fix setup type

* fix monitoring tests

* fix test mock function

* resolve ELASTIC_SUPPORT_LINK in core

* running check_core_api_changes script

* review feedback

* mock setHelpSupportUrl

* update snapshots
2019-12-05 08:20:28 -05:00
Alejandro Fernández Haro bd3857a79b
[NP] Expose global config to the plugins (#51478)
* [NP] Expose global config to the plugins

* globalConfig in Plugin context: expose read-only methods only

* SharedGlobalConfig rework + Moving pkg, fromRoot & path utils from legacy to NP

* Updated API docs

* Fix test references to the moved utils

* Replace zip with combineLatest

* Change tests to describe/it + remove "(deprecated)" from the test description

* Moving path files to a folder + exposing the config path in the contract

* deepFreeze the globalConfig in the pluginContext

* Fix types in tests with new path.config

* Move fromRoot and package_json utils to core/server/utils

* Rename globalConfig to legacy.globalConfig$

* path.config renamed to path.configDir (not renaming path.data because it might be a breaking change)

* Change configDir in mocker as well

* Fix test after config renamed to configDir

* Fix API docs conflicts

* Rename the path properties when exposing them

* path.configDir removed from the path config-schema

* Remove path.configDir. It is already in env.configs

* Add Migration documentation and examples

* Fix 'kibana/server' imports in the MIGRATION docs
2019-12-05 10:25:32 +00:00
Michail Yasonik e8f3fa91d9
Updating accessibility guide and contributing readmes (#52038)
* updating accessibility guide and contributing readmes

* updating dev docs
2019-12-04 19:11:16 -06:00
Rudolf Meijering 7f4bdb2d57
static createRepository factory function (#52056)
* static createRepository factory function

* Fix API docs after master merge
2019-12-04 13:15:37 +01:00
Pierre Gayvallet 99c6396fd5
Migrate Capabilities to new platform (#51438)
* create service skeleton

* move registerCapabilitiesModifier to capabilities service and rename to registerCapabilitiesSwitcher

* starts to move capabilities logic to CapabilitiesService

* move capabilities route to service

* add initial integration test for capabilities route

* capabilitiesMixin now delegates to capability service

* use server-side Capabilities import in server code

* update generated doc

* remove capabilities from injectedMetadatas

* use applications sent from client instead of server-registered navLinks

* disable authRequired for capabilities route

* (temp) exposes two endpoints for capabilities

* Add fetch-mock on capabilities call for karma tests

* adapt xpack Capabilities test - first attempt

* adapt x-pack ui_capabilities test

* add '/status' to the list of anonymous pages

* Add documentation on Capabilities APIs

* move Capabilities to core/types

* update generated docs

* add service tests

* protecting resolveCapabilities against added/removed capabilities

* update generated docs

* adapt mocks due to rebase

* add forgotten exports

* improve capabilities routes registering

* name capabilities registering methods

* resolve conflicts due to merge

* address review issues

* add comment about reason for exposing two routes

* extract createHttpServer test helper

* fix merge conflicts

* improve documentation

* remove `/status` anon registration as now done in NP status plugin

* fix merge conflicts
2019-12-03 09:34:49 +01:00
Karen Metts f7f72cb737
[Doc]Replace outdated screenshots and change graphic format (#52017)
* Replace outdated screenshots and change graphic format

* Added screenshot role per review comments
2019-12-02 16:32:35 -05:00
Lisa Cawley e68b39b72d
[DOCS] Fixes xpack-ref links (#51936) 2019-12-02 09:43:25 -08:00
Joe Portner 5906801b4f
Http compression config (#50738)
HTTP compression for responses may be disabled entirely, or it may
be conditionally enabled based on a whitelist of trusted referrers.
2019-12-02 11:43:06 -05:00
Mikhail Shustov 0f8533730c
Unify uiSettingsClient contracts (#51167)
* introduce IUiSettingsClient on the client

* switch uiSettings service to  IUiSettingsClient

* update uiSettings service tests

* all plugins should use IUiSettingsClient

* stop is not public methods anymore

* remove savedobject attribute type references

* regen docs

* remove all references to UiSettingsClient class

* regen docs

* add migration example for uiSettings

* update consumer types and tests

* address comments
2019-11-28 22:53:02 +01:00
Alejandro Fernández Haro 066613e2a6
Allow routes to define some payload config values (#50783)
* Allow routes to define some payload config values

* Documentation typo

* Move hapi `payload` config under `body` + additional validations

* Update API docs

* Amend explanation in API docs

* Add stream and buffer types to @kbn/config-schema

* Fixes based on PR feedback:
- Add 'patch' and 'options' to valid RouteMethod
- Add tests for all the new flags
- Allow `stream` and `buffer` schema in the body validations (findings from tests)

* API documentation update

* Fix type definitions

* Fix the NITs in the PR comments + better typing inheritance

* API docs update

* Fix APM-legacy wrapper's types

* Fix KibanaRequest.from type exposure of hapi in API docs

* Move RouterRoute interface back to private + Expose some public docs

* Update @kbn/config-schema docs
2019-11-28 09:23:56 +00:00
Rudolf Meijering f29af1219d
Split legacy plugin discovery, expose SavedObjects scopedClient, wrappers, repository (#48882)
* Split legacy plugin discovery, expose internal SavedObjectsClient

* Expose internal SavedObjectsClient to plugins

* Add more documentation

* Expose client wrappers, repository, scoped client from SavedObjects

* Remove unused onBeforeWrite

* Refactor Service / Repository for testability

* Bind exposed clientProvider methods

* Fix eArchiver's KibanaMigrator

* Cleanup

* Use APICaller type

* Expose SavedObjectsServiceStart to plugins

* API documentation

* Rename API methods to be verbs
2019-11-27 16:47:22 +01:00
Joe Portner 7830946f6a
Fix infinite redirect loop when multiple cookies are sent (#50452)
Cookies are now checked for attributes that match the current
Kibana configuration. Invalid cookies are cleared more reliably.
2019-11-27 09:26:21 -05:00
Lisa Cawley a234e8b836
[DOCS] Fixes broken links (#51634) 2019-11-26 12:36:35 -08:00
Alexey Antonov c415311221 Move @kbn/es-query into data plugin (#51014) 2019-11-26 13:28:04 -07:00
Joe Portner 38c17d6c7d
Improve session idle timeout, add session lifespan (#49855)
This adds an absolute session timeout (lifespan) to user sessions.
It also improves the existing session timeout toast and the overall
user experience in several ways.
2019-11-26 10:47:40 -05:00
Søren Louv-Jansen e8e517475a
[Security] Add message to login page (#51557)
* [Security] Add loginAssistanceMessage to login page

* Fix tests

* Fix login_page.test.tsx

* Fix defaultValue

* Render login assistance message independently of other messages and use EuiText instead of EuiCallOut

* Use small text

Co-Authored-By: Caroline Horn <549577+cchaos@users.noreply.github.com>

* Flip order of message around
2019-11-26 13:19:11 +01:00
Pierre Gayvallet 7fef618ea6
Add compatibility wrapper for Boom errors thrown from route handler (#51157)
* add wrapErrors method to router

* add RouteRegistrar type

* update generated doc

* add migration example

* rename wrapErrors to handleLegacyErrors
2019-11-26 10:21:49 +01:00
Josh Dover fff493e54e
Build bundles for all new platform plugins (#51525) 2019-11-25 16:29:35 -06:00
Catherine Liu bcd0c09899
[Canvas][Docs] Updates function reference (#50393)
* Updates Canvas function reference doc

* Added context examples

* Addressed feedback

* escapes curly braces

* Updated location help text

* Fixes doc build error
2019-11-22 16:05:09 -07:00
Spencer b2e200437e
[master] Update where log files are written using systemd (#47… (#51463)
At least for kibana-oss 7.4, this is how I can access Kibana logs. 
The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. 
See also:
https://github.com/elastic/kibana/issues/6579
2019-11-22 09:53:25 -07:00
Tim Vernum 2193970928
Update explanation of elasticsearch.ssl.key (#50748)
The docs for `elasticsearch.ssl.certificate` and `elasticsearch.ssl.key` were not entirely accurate and referenced an out of date ES setting.
2019-11-22 13:05:54 +11:00
Spencer b934f8dd49
[master] Polish SHA comparison in reference doc (#46432) (#51407)
* Polish SHA comparison in reference doc

* Update targz.asciidoc
2019-11-21 17:29:56 -07:00
Jose Sanchez Robles 2b04ba199c Added Wazuh plugin to known plugins list (#50751) 2019-11-21 17:16:46 -07:00
Janeen Mikell-Straughn 1142f4b277
Added endgame-* index and new heading 3 Elastic Endpoint SMP. (#51071) 2019-11-21 16:46:34 -05:00
gchaps 104fd5571a
[DOCS] Updates Reporting docs (#50989)
* [DOCS] Updates Reporting docs

* [DOCS] Adds more information on roles and privileges

* [DOCS] Incorporated review comments in Reporting doc

* [DOCS] removes xpack from url

* [DOCS] Replaces low values in watcher reporting example
2019-11-21 13:02:44 -08:00
Kaarina Tungseth 85568b98c5
[Reporting/Docs] add information about puppeteer debug method (#49526) 2019-11-21 14:32:35 -06:00
Larry Gregory a853609332
Feature Controls - adds matrix for feature availability (#39078)
* document feature availability

* move feature table
2019-11-21 15:09:17 -05:00
Kaarina Tungseth bb6421238e
[DOCS] Compresses gifs (#51332) 2019-11-21 14:02:23 -06:00
Wylie Conlon 5f2a326d89 [Docs] Update and improve docs for Visualize and Discover (#49810)
* [Docs] Update and improve docs for Visualize and Discover

* Create a new section for default editor docs

* Fix significant terms link

* Writer changes

* Remove pages that aren't helpful to users

* More writer changes
2019-11-21 13:57:21 -06:00
gchaps 6a46087556
[DOCS] Fixes reporting + reverse proxy documentation (#51113)
* [DOCS] Fixes reporting + reverse proxy documentation

* [DOCS] Updates Reporting settings doc per review comments

* [DOCS] Incorporates review feedback

* [DOCS] Combines notes in on section
2019-11-21 11:30:03 -08:00
Brandon Morelli 8ad045bc3c
[logs-ui][docs] Logs analysis docs (#50832) 2019-11-21 09:34:51 -08:00
gchaps 0d612b345b
[DOCS] Adds clarification ot encryption key setting (#51244) 2019-11-21 08:42:07 -08:00
Pierre Gayvallet 1bef133519
Expose whitelisted config values to client-side plugin (#50641)
* introduce PluginConfigDescriptor type

* inject client plugin configs in injectedMetadata

* expose client config in PluginInitializerContext

* add example implementation in testbed

* update generated doc

* only generates ui config entry for plugins exposing properties to client

* separate plugin configs from plugins

* restructure plugin services tests

* fix test/mocks due to plugin configs api changes

* add unit tests

* update migration guide

* update tsdoc

* fix typecheck

* use sync getter for config on client side instead of observable

* change type of exposeToBrowser prop

* updates generated doc

* fix doc and address nits
2019-11-21 12:37:23 +01:00
Jonathan Budzenski 1dc08d4738
Fix wrong path in brew doc (#50659) (#51248)
* Fix wrong path in brew doc

* Update brew.asciidoc
2019-11-20 18:51:39 -06:00
Christiane (Tina) Heiligers 1fdf423be4
Updates dev docs for creating a new tutorial (#51073)
* Partially updates the dev docs for registering a new tutorial. Adds comments on further changes that will be needed at a later stage

* Fixes broken link to the tutorial schema
2019-11-20 13:10:10 -07:00
Caroline Horn 87e77e9638
[Chrome] More Help Menu extensions with semantic links (#50736)
* Update help menu util to allow common types of links

- Github, Docs, and custom

* Fix test?

* Updating API docs?

* Quick layout fix

* Kibana core apps updated (Visualize, Dashboard, Discover)

* Updated Canvas usage

* Updated Maps usage

* Added a `discuss` link type

* Updated Logs and Metrics usage

* Update APM usage

* Update Uptime usage

* Update SIEM usage

* Removing old Uptime file

* Update Lens usage

* Update API doc

* [Uptime] Remove test for file that no longer exists

* One more snap and i18n tokens

* PR feedback

- Wrap feedbackText in method
- Use `rel: noopener` on external links
- Rename HeaderHelpMenuUIExtraLink -> ChromeHelpExtensionMenuExtraLink and export

* [APM] Use ‘custom’ style link for Upgrade assistant

* API docs

* i18n

* Fix link

* Documented ChromeHelpExtension props

* Use heading levels

* Update names of props, document prop, and update API docs

* Remove `ae-missing-release-tag` warnings
2019-11-20 14:39:33 -05:00
Kaarina Tungseth 825d1eb85a
[DOCS] Fixes moment.js link (#51210) 2019-11-20 13:08:27 -06:00
Brandon Morelli 063a4f2935
[APM][docs] Updates to documentation for 7.5 (#50988) 2019-11-20 07:36:59 -08:00
cachedout ddb3c678dd
Clarify that these auth settings are for sending data (#48437)
* Clarify that these auth settings are for sending data

* Apply review feedback
2019-11-20 15:16:43 +00:00
Larry Gregory 014f095f5c
[Docs] - adding defaultRoute setting docs (#50952)
* adding defaultRoute setting docs

* improving documentation

* Apply suggestions from code review

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* address PR feedback


Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-11-20 08:53:04 -05:00
Artyom Gospodarsky 3a915b22a0
Use NP registry instead of ui/registry/field_formats (#48108)
* Create Field Format Provider

* Pass Field Format as a start dependency

* Register utils in the new field formats

* Fix types issue

* Make FieldFormats instance as a service

* Exclude importing of register.js

* Remove uiExports/fieldFormats imports

* Migrate some dependencies to new Field Format

* Migrate field format to new instance

* Fix type errors

* Fix Jest tests

* Move from getFieldFormat to npSetup

* Fix types errors

* Fix reviews

* Fix types errors

* Fix types

* fix CI

* Bind getConfig to FieldFormatRegisty

* Mock FieldFormat in FieldItem

* Fix DataPanel tests

* Fix DataPanel tests

* Fix Jest tests

* Create a fieldFormats mock for mocha tests

* fix CI

* fix CI

* Mock fieldFormatsRegistry in all visualizations

* Fix 'should create scripted field' functional test

* Change FieldFormat.from return type

* Fix reviews

* Fix mocha test

* Fix mocha tests

* Encapsulate FieldFormatRegistry

* Pretty field_item.tsx

* Fix reviews

* Fix PR comments

* Fix CI

* Replace any by a specific type

* Fix mocha tests

* Remove config from url converter

* Expand Field Format ID type for creating custom converters

* Fix a jest test

* Update migration doc

* Add quote and semicolon

* Fix types errors which doesn't relate to the aim of PR
2019-11-20 16:30:33 +03:00
Matt Bargar 7f924f96ae
Lucene uses or by default (#50987) 2019-11-19 13:10:23 -05:00
Matt Bargar b354e7dc59
[docs] Improve KQL nested query syntax explanation (#49918) 2019-11-19 12:33:09 -05:00
Kaarina Tungseth 3fd99c9623
[DOCS] [LENS] New Lens docs (#50746)
* [DOCS] New Lens docs

* Reformatting

* Images

* Updated images

* Updated beta tag

* Comments from Gail pt 1

* Comments from Gail pt 2

* Fixes

* [DOCS] New Lens docs

* Final clean up

* Remove reference and provide more task documentation for Lens

* Reformatting and style guuide changes

* Comments from Gail
2019-11-19 10:24:22 -06:00
Pierre Gayvallet 01bbbf4b03
Remove react references from core OverlayService apis (#48431)
* move/rename overlay mount and unmount types from banner to parent module

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* migrate openModal / modalService

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

fix I18nProvider import path

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* updates core doc

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

update doc bis

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* migrate openFlyout / flyout service

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove CoreStart export from kibana-react

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* adapt some calls to new signature

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* adapt new calls

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* adapt js call

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add flex layout on mountWrapper component to avoid losing scroll on overlays

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* create proper flyout/modal services

* update generated doc

* update snapshot on data/query_bar

* use ReactNode instead of ReactElement

* rename mountForComponent to reactMount

* change reactMount usages to toMountPoint

* remove duplicate MountPoint type in overlays

* remove duplicate mount utilities from overlays

* allow to specify custom class name to MountWrapper

* Allow to specialize MountPoint on HTMLElement subtypes

* updates generated doc

* undeprecates openFlyout/openModal & remove direct subservice access from overlayService

* adapt toast api to get i18n context from service

* use MountPoint instead of inline definition
2019-11-19 10:08:16 +01:00
Joe Reuter 600862ef64
Migrate share registry (#50137) 2019-11-19 09:50:54 +01:00
Nathan Reese e2dc9213ca
[Maps] move apply global filter settting from layer to source (#50523)
* [Maps] move apply global filter settting from layer to source

* add checkbox to join UI

* update edit UI for grid and pew-pew source

* add migrations

* update docs

* remove setting of applyGlobalQuery from geojson upload

* upgrade SIEM layer descriptors

* fix jest tests and api integration tests

* fix functional tests

* fix functional test

* i18n

* review feedback

* doc re-wording

* i18n fixes
2019-11-18 13:59:27 -07:00
DeDe Morton 6729d513d7
[DOCS] Mark Beats central management as discontinued (#49423) 2019-11-18 11:17:40 -08:00
Kaarina Tungseth d04d5e9eef
[DOCS] Shareables naming convention (#50497)
* [DOCS] Shareables

* Updated topic titile
2019-11-18 12:36:11 -06:00
Mikhail Shustov 2166044671
remove outdated comment (#50895) 2019-11-18 14:41:15 +01:00
gchaps bd96d738dc
[DOCS] Adds documentation on telemetry settings (#50739)
* [DOCS] Adds documentation on telemetry settings

* [DOCS] Adds not that both settings can't be false at the same time
2019-11-14 15:28:32 -08:00
Nate Archer 51a6eeb6c2
[DOCS][SIEM]: Change Kibana advanced settings to match UI (#50679)
* [DOCS] Fix beta tag in Code Docs

* Change kibana advanced settings to match UI

* Add random line break for illustration
2019-11-14 14:42:48 -06:00
gchaps 930c156585
[DOCS] Adds note about backups to Upgrade doc (#50525)
* [DOCS] Adds note about backups to Upgrade doc

* [DOCS] Incorporates review comments in upgrade doc

* [DOCS] Fixes typo
2019-11-14 11:24:53 -08:00
gchaps fef7be495e
[DOCS] Adds link to content security policy doc (#50698) 2019-11-14 10:32:35 -08:00
cachedout 30a70b3f3a
Add filebeat notice (#49065)
* Add filebeat notice

Refs https://github.com/elastic/kibana/pull/48929

* Update docs/user/monitoring/monitoring-troubleshooting.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/user/monitoring/monitoring-troubleshooting.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/user/monitoring/monitoring-troubleshooting.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/user/monitoring/monitoring-troubleshooting.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/user/monitoring/monitoring-troubleshooting.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/user/monitoring/monitoring-troubleshooting.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Fixup per review comments
2019-11-14 17:03:37 +00:00
gchaps 0af6ea3ba3
[DOCS] Updates Graph documentation (#50410)
* [DOCS] Updates graph documentation

* [DOCS] Adds information about terms per hop

* [DOCS] Incorporates review comments in Graph docs
2019-11-14 06:41:23 -08:00
Pierre Gayvallet e04adbe34b
Remove react references from core Notifications apis (#49573)
* add reactMount util to kibana_react

(kibana-react) properly export reactMount

* add MountPoint types and utility

* adapt toast API to no longer accept react elements

(toast API) properly export new Toast type

* adapt calls by using reactMount

createNotifications: do not wrap if text

* update generated doc

* add custom snapshot serializer for reactMount

* fix unit tests

fix xpack unit tests

* adapt non-ts calls

* do not add __reactMount__ property in production

* remove string check on createNotifications

* fix typo and small fix using obj spread

* improve react mount snapshot serializer

* simplify convertToEui

* rename reactMount to toMountPoint

* adapt newly added calls

* move mount types to proper file

* use new Mount types for OverlayBanner apis

* fixing typo

* adapt new calls

* use destructured imports
2019-11-14 08:40:14 +01:00
gchaps f11f0ff5ab
[DOCS] Removes dashboard-only mode doc (#50441) 2019-11-13 14:57:17 -08:00
Nathan Reese 9212eb2d5f
[Maps] make grid rectangles the default symbolization for geo grid source (#50169)
* [Maps] default grid aggregation source rendering to grid

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* add animated gif and text describing the animation

* clean up text

* simply text

* combine link to getting started with previous paragraph
2019-11-13 14:28:51 -07:00
Eli Perelman 6955593d01
Allow registered applications to hide Kibana chrome (#49795)
* Allow registered applications to hide Kibana chrome

* Fix bug in flipped value of application chromeHidden

* Add additional test for app chrome hidden versus chrome visibility

* Rename chromeHidden to chromeless

* Default chrome service app hidden observable to same value as force hidden

* Consolidate force hiding in chrome, add functional tests

* Move chromeless flag to App interface to prevent legacy applications from specifying

* Address review nits to improve separation
2019-11-13 14:57:15 -06:00
Yuliia Naumenko a50dbefb62 [Newsfeed] UI plugin for Kibana (#49579)
* Added base folder structure for Newsfeed plugin

* Added base folders for lib and component

* Added newsfeed button to navigation controls on the right side

* add getApi() to return api data observable (#49581)

* Added flyout base body and provided EuiHeaderAlert component inside the newsfeed plugin

* Moved newsfeed plugin to OSS and added for the styles purpose new folder for legacy plugin 'newsfeed' with the same id to support this

* Added subscribe on fetch newsfeed change

* Add NewsfeedApiDriver class (#49710)

* add NewsfeedApiDriver class

* fix xpack prefix

* add corner case handling

* Added data binding to the ui

* added EuiHeaderAlert style overrides (#49739)

* Fixed due to comments on PR

* add missing fields to NewsfeedItem and FetchResult

* fix templating of service url

* gracefully handle temporary request failure

* Mapped missing fields for data and badge

* Fixed typos issues

* integrate i18n.getLocale()

* allow service url root to be changed in dev mode

* replace a lot of consts with config

* fix flyout height (#49809)

* Add "error" field to FetchResult: Error | null

* simplify fetch error handling

* Do not store hash for items that are filtered out

* add expireOn in case it is useful to UI

* always use staging url for dev config

* unit test for newsfeed api driver

* simplify modelItems

* Fixed eslint errors

* Fixed label translations

* Add unit test for concatenating the stored hashes with the new

* add newsfeed to i18n.json

* Fixed expression error

* --wip-- [skip ci]

* fix parse error

* fix test

* test(newsfeed): Added testing endpoint which simulates the Elastic Newsfeed for consumption in functional tests

* add tests for getApi()

* add tests for getApi

* Added no news page

* fix fetch not happening after page refresh with sessionStorage primed

* test(newsfeed): Added testing endpoint which simulates the Elastic Newsfeed for consumption in functional tests

* Added loading screen

* Small fixes due to comments

* Fixed issue with stop fetching news on error catch

* test(newsfeed): Configure FTS to point newsfeed to the simulated newsfeed endpoit

* Fixed browser error message: Invariant Violation: [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.

* Fixed typo issue in label name

* polish the code changes

* Add simple jest/enzyme tests for the components

* honor utc format

* Filter pre-published items

* Fall back to en

* retry tests

* comment clarfication

* Setup newsfeed service fixture from test/common/config

* Added base functional tests for newsfeed functionality

* valid urlroot is for prod

* add documentation for the supported enabled setting

* more urlRoot

* --wip-- [skip ci]

* add the before for fn

* add ui_capabilties test

* update jest snapshot

* Fixed failing test

* finish newsfeed error functional test

* include ui_capability config

* error case testing in ci group 6

* refactor(newsfeed): moved newsfeed api call so that it is done before its use

* code polish

* enabled newsfeed_err test in CI
2019-11-13 08:48:34 -07:00
Pierre Gayvallet e6ea2bf16b
Remove internal platform types exports (#50427)
* remove exports of internal core types

* updates documentation

* rename internal types file
2019-11-13 09:30:38 +01:00
Dario Gieselaar 6c3ee583c8
[APM] Document apm_oss.metricsIndices and `apm_oss.sourcemap… (#50312)
Closes #49847.
2019-11-13 08:54:18 +01:00
Nathan Reese 9fdbf82ab3
[skip-ci] Replace coordinate map in Kibana getting started docs with Maps (#50167)
* [Maps] replace coordinate map with Elastic Maps in Kibana getting started docs

* update dashboard getting started page

* update screen shot

* Update docs/getting-started/tutorial-visualizing.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* update dashboard instructions to include step to set time fitler

* clean up more instances for vector style

* review feedback
2019-11-11 15:34:45 -07:00
István Zoltán Szabó 4860c055e1
[DOCS] Fixes typo in ML related privileges. (#50142) 2019-11-11 07:44:37 -05:00
Lisa Cawley 0d45daf6d4
[DOCS] Removes Extend your use case section (#49812) 2019-10-31 12:18:07 -07:00
Kaarina Tungseth ded8950559
[DOCS] Canvas embeddable workpads (#45027)
* [DOCS] New Canvas snapshots documentation

* Changes from 1-Oct meeting

* Some tweaks

* Added beta tag

* Fixes to images

* Comments from Gail and Tim

* New images

* Final changes
2019-10-31 10:45:43 -05:00
Aleh Zasypkin 27c464e35d
Fix link to OpenID Connect Elasticsearch guide from the Kibana OpenID Connect docs. (#49731)
Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
2019-10-30 19:40:29 +01:00
Matt Bargar 1dcec9d210
Add nested field support to KQL (#47070)
This PR adds a new syntax to KQL for querying nested fields.

Nested fields can be queried in two different ways:

Parts of the query may only match a single nested doc (bool inside nested). This is what most people want when querying on a nested field.
Parts of the query may match different nested docs (nested inside bool). This is how a regular object field works but nested fields can be queried in the same way. Although generally less useful, there are occasions where one might want to query a nested field in this way.
The new KQL syntax supports both.
2019-10-30 13:07:43 -04:00
Larry Gregory 29c5b44403
[DOCS] - fixing references to kibana_user role (#49309)
* fixing references to kibana_user role

* Update docs/uptime-guide/security.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>


Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-10-30 07:08:01 -04:00
Marjorie Jones 5e05bbd05f
[DOCs] Rename some instances of Infrastructure to Metrics (#49195)
* Renaming Infrastructure to Metrics whenever the context is the metrics app.

* More renames, and picking up a few stray references to Infrastructure/Metrics/Logs UI too.

* Fixing typo
2019-10-29 11:29:21 +00:00
Nathan Reese ce521bb281
[Maps] hide map visualization types with default kibana.yml settings (#49103)
* [Maps] hide map visualization types with default kibana.yml settings

* add docs explaining xpack.maps.showMapVisualizationTypes

* clean up docs

* fix docs build

* fix typescript failures

* move docs to troubleshooting section

* add message about xpack.maps.showMapVisualizationTypes in coordinate map and region map docs

* doc updates based on gchaps feedback

* Update docs/visualize/regionmap.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/visualize/tilemap.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-10-28 18:30:25 -06:00
Mikhail Shustov b6591eb0bd
Provide uiSettings service in NP (#48413)
* provide ui settins client via context

* update mocks

* update types and expose setDefaults to plugins

* move ui settings routes to NP

* add typings fro test kbn server

* move integration test & improve typings

* hide client private methods, update tests

* add unit tests for get_upgradable_config

* inline writeErrors into createOrUpgradeConfig to simplify testing

* regen docs

* add functional tests for ui_settings service

* unify test suites

* add types for sipertest in core_plugin tests

* tsify core_plugins tests

* add test for empty saved config

* update renovate

* rename get/setDefaults to reguster

* regen docs

* regen docs

* Update src/core/MIGRATION.md

Co-Authored-By: Josh Dover <me@joshdover.com>
2019-10-28 16:06:12 -04:00
Josh Dover 2d1c239fdd
Migrate necessary ui/autoload functionality to NP (#48689) 2019-10-28 12:58:29 -05:00
Court Ewing 0b82cfeae7
Remove experimental code app (#49404)
* Fix erroneous code plugin import in apm

* Stop running legacy code plugin

* Stop testing code app and apis

* Remove code plugin source and deprecate config

* Remove code plugin docs

* Remove xpack.code translations

* Remove code import on api_integration

* Remove code privilege from security test

* remove two more mentions of code

* remove code es_archives

* remove code doc images
2019-10-28 11:40:27 -04:00
Marjorie Jones cbe6fd3e3d
[DOCS] Changes to support the split of the Metrics Guide and the Logs Guide (#48633)
* Linking to new Metrics and Logs documents

* Linking to new Metrics and Logs documents
2019-10-28 09:39:53 +00:00
Catherine Liu 9482ba5765
Fixed typo in formatnumber example (#49379) 2019-10-26 06:25:09 -07:00
Nick Peihl 3e89cb54de
Remove mapping type from example url (#49425) 2019-10-25 17:35:16 -07:00
gchaps 9bd8f74ff8
[DOCS] Updates Snapshot docs to include retention (#49007)
* [DOCS] Updates Snapshot docs to include retention

* [DOCS] Creates tutorial for snapshot & restore

* [DOCS] Incorporates review comments for Snapshot doc

* [DOCS] Fixes typo

* [DOCS] Adds x-pack label
2019-10-25 13:27:55 -07:00
gchaps 243a9815e3
[DOCS] Adds docs for API Keys UI (#49135)
* [DOCS] Adds docs for API Keys UI

* [DOCS] Incorporates review comments into API keys doc

* [DOCS] Fixes typo
2019-10-25 11:59:01 -07:00
Tim Schnell a4d2638d48
[skip ci] Function Reference Docs Update (#48791)
* setting up function reference pattern

* adding functions A-F

* grammar fixes

* Apply suggestions from code review

Co-Authored-By: Catherine Liu <catherineqliu@outlook.com>

* more review updates
2019-10-25 12:27:11 -05:00
Gidi Meir Morris 2ac82dec61
[Saved Objects] Adds support for custom Refresh settings on mutating operations (#48932)
Adds the ability to override the Refresh setting of mutating operations (Update, Delete, Bulk, Index) of Saved Objects.
2019-10-25 08:28:55 +01:00
Pierre Gayvallet ccd01a3af0
Migrate ui/doc_title to New platform (#48121)
* create NP docTitle service and bridge LP to it

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* properly prefix the docTitle public types

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update documentation

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* replace direct NP access with closure to avoid error when importing module in tests with no usages

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove arrow functions for doc generation

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove get$ from the api

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove apply param and excludeBase option

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove removed export

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* adapt legacy service to new api

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add entry about docTitle in the migration guide

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add link in migration guide

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update generated doc

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update chrome mock

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update snapshots due to api change

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove ChromeDocTitleChange in favor of inline type

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>
2019-10-24 16:21:46 -07:00
Nathan Reese 48313f73f6
[Maps] add unique count metric aggregation (#48961)
* [Maps] add unique count metric aggregation

* do not format unique_count aggregation results

* do not format value in legend for unique count

* update heatmap docs

* one more doc change
2019-10-24 14:57:46 -06:00
Brandon Kobel a149497b73
NP Security HTTP Interceptors (#39477)
* We have a NP plugin! :celebration:

* Redirecting to login on all 401s

* Adding commented out code for when credentials are omitted

* Fixing types

* Respond 403 when user changes password with incorrect current password

* Adding AnonymousPaths where we ignore all 401s

* Adding anonymous path tests

* Extracted a dedicated SessionExpires class and added tests

* Fixing plugin after refactoring to add SessionExpired

* Beginning to work on the session timeout interceptor

* Fixing UnauthorizedResponseInterceptor anonymous path test

* Removing test anonymous path

* Trying to improve readability

* Displaying session logout warning

* Mocking out the base path

* Revert "Mocking out the base path"

This reverts commit 824086c168.

* Changing coreMock to use a concrete instance of BasePath

* Adding session timeout interceptor tests

* Adding session timeout tests

* Adding more tests for short session timeouts

* Moving some files to a session folder

* More thrashing around: renaming and reorganizing

* Renaming Interceptor to HttpInterceptor

* Fixing some type errors

* Fixing legacy chrome API tests

* Fixing other tests to use the concrete instance of BasePath

* Adjusting some types

* Putting DeeplyMocked back, I don't get how DeeplyMockedKeys works

* Moving anonymousPaths to public core http

* Reading sessionTimeout from injected vars and supporting null timeout

* Doesn't extend session when there is no response

* Updating docs and snapshots

* Casting sessionTimeout injectedVar to "number | null"

* Fixing i18n issues

* Update x-pack/plugins/security/public/plugin.ts

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>

* Adding milliseconds postfix to SessionTimeout private fields

* Even better anonymous paths, with some validation

* Adjusting public method docs for IAnonymousPaths

* Adjusting spelling of base-path to basePath

* Update x-pack/plugins/security/public/session/session_timeout.tsx

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>

* Update src/core/public/http/anonymous_paths.ts

Co-Authored-By: Josh Dover <me@joshdover.com>

* Update src/core/public/http/anonymous_paths.ts

Co-Authored-By: Josh Dover <me@joshdover.com>

* AnonymousPaths implements IAnonymousPaths and uses IBasePath

* Removing DeeplyMocked

* Removing TODOs

* Fixing types...

* Now, ever more normal
2019-10-24 08:59:45 -07:00
István Zoltán Szabó 8a529f11ab
[DOCS] Adds list of privileges to file data viz (#49156) 2019-10-24 14:39:29 +02:00
Nathan Reese 531448e981
[skip-ci][Maps] clean-up documenation references to match UI text updates (#48993) 2019-10-23 07:52:38 -06:00
Nathan Reese 33d704b3d5
[skip-ci][Maps] Add tooltip documenation (#48171)
* [skip-ci][Maps] Add tooltip documenation

* mention field formatters

* gchap's updates
2019-10-21 12:02:34 -06:00
Eli Perelman ab147e16fc
Pass along request object to all HTTP interceptors (#47258)
* Pass along request object to all HTTP interceptors

* Do not trigger response interceptors from request errors; make request readonly

* Update core API

* Fix failing test

* Add tests to ensure that interceptors accumulate request and response across calls

* Make request readonly for request error interception, simplify response interception return types

* Update docs from request and response interception API change

* Add missing InterceptedHttpResponse generated docs
2019-10-18 15:23:03 -05:00
Melori Arellano 8d34f25134
[DOCS] Add space_id path parameter to saved_object APIs (#47627)
* [DOCS] Add space_id path parameter to saved_object APIs

* [DOCS] Apply suggested edits for #47627

* [DOCS] Apply suggested edits for #47627 to delete API
2019-10-18 11:17:54 -06:00
Lisa Cawley ed9abf057c
[DOCS] Updates links to Stack Overview (#48582) 2019-10-17 14:41:13 -07:00
Eli Perelman 1762782943
Supply deprecated req and res properties on IHttpFetchError for legacy compatibility (#48430) 2019-10-17 10:52:25 -05:00
Gidi Meir Morris 3f4024c398
[Saved Objects] Add support for bulkUpdate to SavedObjectsClient (#47540)
This PR adds support for `bulkUpdate` to the Saved Objects API and exposes it on all Saved Objects clients (base client, encrypted, spaces etc.).
2019-10-17 11:12:27 +01:00
Kaarina Tungseth 1e3f14395c
[DOCS] API intro (#47164)
* [DOCS] API intro

* Logstash configuration management

* Reformatting

* Comments from Josh

* Commets from Gail

* Fixed broken things
2019-10-16 15:10:40 -05:00
Mikhail Shustov 5676ac00ab
UI settings move to NP (#47590)
* add tests for logWithMetadata in LP

* allow passing metadata to log in NP & LP

* move ui_settings_client to NP

* add ui_settings config

* add ui_settings_service

* switch to NP logging

* export types

* bootstrap uiSettings service in NP

* pass NP uiSettings to LP

* move ui_settings mock to NP

* add  test for mixin and switch to NP logger

* make UiSettingsClient.getDefaults sync as it is

* ui_settings_client uses private fields

* ui_settings_client uses private methods

* keep uiSettings config validation in NP only

* update mocks

* core context should know it is mocked

* add tests for ui_settings_service

* remove unused code from ui_settings_mixin test

* improve types in ui_settings_mixin test

* gen docs

* test moved to NP

* set pkg version in tests explicitly

* update mocks in tests

* UiSettingsServiceSetup --> InternalUiSettingsServiceSetup

* add links to types

* address eli comment

* regen docs

* remove unused types
2019-10-16 14:18:34 +02:00
Pierre Gayvallet 7df981fbf8 Ignore missing references on saved object exports (#47685)
* add saved object export details in ndjson response

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update core doc

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* exclude export details for space copy

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* fixing tests

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* display warning instead of success if export contains missing refs

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* nits/typo

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* properly updates api integration tests

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* fix typings

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add test on objects_table component

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove added translations from jp/cn bundles

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* restoring line feeds

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* improve doc and user alert message

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* restoring line feeds on server.api.md

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* warning test label

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>
2019-10-16 12:48:34 +02:00
Rudolf Meijering 3d28467d00
Server saved objects client through request context (#44143)
* Expose Saved Objects client in request context

* API Integration test for savedobjects in req context

* SavedObjectsClient docs

* SavedObjectsClient#find remove dependency on indexPatterns

And use the saved objects mappings instead

* Review comments

* Review comments, fixes and tests

* Use correct type for KQL syntax check
2019-10-16 10:36:40 +02:00
Ahmad Bamieh a42a767285
[Telemetry] Move to OSS (#45769)
* update paths and licenses

* localization collector in oss

* node-crypto typings in oss

* update telemetry i18n labels

* update translation rc files

* remove duplicate components in home for telemetry

* update tests

* finalize collection + move csp collector to oss

* self review

* use apm instead of beats

* xpack collection

* fix collection tests

* remove space specific settings

* mock npSetup and npStart

* disable banner in tests

* remove commented mock

* monitoring np telemetry fixes

* replace telemetryOptedIn in oss instead of xpack_main

* fix telemetry OptIn test
2019-10-16 10:24:20 +03:00
Lisa Cawley 611409f160
[DOCS] Fixes link to node.js documentation (#48334) 2019-10-15 17:33:08 -07:00
Lisa Cawley 0ed925b077
[DOCS] Fix missing attribute (#48298) 2019-10-15 16:07:31 -07:00
Luca Belluccini b0dd6c8c71 Provide an example for timepicker:refreshIntervalDefaults (#47345)
* Provide an example for timepicker:refreshIntervalDefaults

Add an example for `timepicker:refreshIntervalDefaults`

* align with master
2019-10-15 10:14:09 -07:00
Josh Dover 01ac90f81e
Make generated type docs more explorable (#47069) 2019-10-15 11:53:36 -05:00
Greg Thompson 71b1bbd4cb
Upgrade EUI to 14.5.0 (#48119)
* eui 14.5.0

* snapshot updates

* update ChromeBreadcrumb interface

* change bad id selector to data-test-subj selector
2019-10-15 09:59:38 -05:00
Marjorie Jones 24ab2e1959
Change Configuration button to Settings tab (#47960) 2019-10-15 14:05:42 +01:00
Mikhail Shustov 27dbcb2796
Expose package info to NP plugins (#48101)
* provide packageInfo to server plugins

* provide env to kbn server

* provide env to client plugins

* update server mocks and tests

* update client mocks and tests

* add integration test

* regen docs

* remove weird file

* export types for the client from special folder

* env should not affect test ourcome
2019-10-15 14:19:11 +02:00
Mikhail Shustov 92917c1c19
Document custom validation for http request (#47699)
* document custom validation for http request

* generate docs
2019-10-15 10:51:45 +02:00
Kaarina Tungseth ca33b6ee23
[DOCS] Improvements to the upgrade docs (#48126) 2019-10-14 14:35:14 -05:00
Pengcheng Xu ce67c5b30e
[Code] Add Java security manager options for Java langserver (#45862)
* [Code] Add Java security manager options for Java langserver

* [Code] Fix typo

* Fix some minor issues

* Adapt to new platform
2019-10-14 21:25:07 +08:00
Nik Everett 5ea66df44d
Docs: Fixup deprecation for asciidoctor (#48018)
Asciidoctor sees `,` as the edge of parameters and chokes on one of our
deprecation warnings, rendering funny looking garbage. This wraps the
whole parameter in `"` which makes it look good. It *does* add `"`s
around the result in AsciiDoc, but we plan to migrate from AsciiDoc
"real soon now".
2019-10-11 15:56:52 -04:00
Rob Waight e9e8b1ddc8
[DOCS] Include server.cors configuration settings (#47701)
* Include `server.cors` configuration settings

Include `server.cors` configuration settings

* [DOCS] Update `server.cors` formatting

Update formatting in the `server.cors` configuration settings
2019-10-11 10:29:34 -05:00
Dario Gieselaar 819f334c85
[APM] Replace ui/kfetch with core.http (#47635)
* [APM] Replace ui/kfetch with core.http

Closes #46548.

* Remove kfetch mocks in tests

* Expose HttpFetchError from src/core/public/index

* Make HttpFetchError public

* Simplify tests for ServiceOverview
2019-10-11 16:35:29 +02:00
Sebastian Grodzicki 9f7bc6482f
[Infra UI] Update docs to reflect renaming to Metrics (#47927)
* Rename Infrastructure UI to Metrics UI

* Rename Infrastructure app to Metrics app

* Rename Infrastructure to Metrics
2019-10-11 15:49:38 +02:00
Nik Everett fd94e17fb5
Docs: Fix for asciidoctor (#47876)
Asciidoctor is a bit more picky about somethings. This fixes them for
it.
2019-10-10 17:18:38 -04:00
Nate Archer 30302fa2cc
[DOCS][CODE]: Add GO as a supported language server (#47550)
* [DOCS] Fix beta tag in Code Docs

* Add additional content about cloning repos

* More grammar edits

* Address Gail's feedback.

* Fix build errors

* Another build fix

* [DOCS][CODE]: Add GO as a supported language server

* Update code-install-lang-server.asciidoc
2019-10-10 11:34:39 -05:00
Lisa Cawley 7a70c6bf71
[DOCS] Removes redundant CCS security (#47743) 2019-10-09 16:23:44 -07:00
Nathan Reese c17081ad4d
[Maps] Move sort out of top hits configuration for ES documents source (#47361)
* [Maps] Move sort out of top hits configuration for ES documents source

* add migration script to convert topHitsTimeField to sortField

* update i18n translations

* add jest test for es docs source UpdateSourceEditor component

* remove time configuration from top hits docs

* update migrations integration expect statement

* review feedback

* reverse hits list so top documents by sort are drawn on top

* update functional test expect to account for reversing hits order

* update another functional test expect clause for reversing hits
2019-10-09 10:26:44 -06:00
Aleh Zasypkin 0210ce47b6
Preserve URL fragment during SAML handshake. (#44513) 2019-10-09 18:12:14 +02:00
Rudolf Meijering f0f75fc289
SavedObjectAttribute allow array of primitives (#47317) 2019-10-08 16:41:13 +02:00
Brandon Morelli 3fad5c2b5b
[docs] APM troubleshooting section (#47073) 2019-10-07 14:00:07 -07:00
Kaarina Tungseth d0aa9f1418
[DOCS] Changed time picker to time filter (#46956)
* [DOCS] Changed time picker to time filter

* Final changes

* Review comments

* Review comments pt 2
2019-10-07 15:21:40 -05:00
Court Ewing 485eaf773d
[core] Do not overwrite saved object references if not specified (#47248)
* saved objects: allow partial update without references

For normal attributes, the update API for saved objects supports partial
updates, where it will only attempt to change those attributes you
specify. References should behave the same way otherwise they will be
replaced entirely if you call update without specifying the original
references.
2019-10-07 16:10:29 -04:00
Kaarina Tungseth 18c85722c4
[DOCS] Changed setting to deprecated (#47372) 2019-10-07 14:32:35 -05:00
Kaarina Tungseth 4117734c24
[DOCS] Removed plugin-dir (#47488) 2019-10-07 14:29:46 -05:00
Josh Dover d6410b5580
Add types to Elasticsearch API calls (#46668) 2019-10-07 13:11:30 -05:00
Larry Gregory dba0946906
Honor current search criteria when exporting saved objects (#47223)
* honor current search criteria when exporting saved objects

* adding core docs
2019-10-07 10:11:23 -04:00
Kaarina Tungseth 9c85bd364d
[DOCS] Specified default settings for server.rewriteBasePath (#45305)
* [DOCS] Specified default settings for server.rewriteBasePath

* Doing some version switching
2019-10-04 13:43:28 -05:00
Mikhail Shustov 3a5c06858a
Expose injectMetadata service temporarily (#47319)
* expose injectMetadata until config service provided

* add functional test

* update types

* fix tests. injectMetadata is a part of plugin contract

* add comment about injectedVars API
2019-10-04 20:41:24 +02:00
Kaarina Tungseth 54382fe122
[DOCS] Specifies deprecated setting for 7.x (#46162) 2019-10-04 11:29:54 -05:00
Karen Metts a6681fe4d8
Update link to ls monitoring settings (#47280) 2019-10-03 18:39:32 -04:00
Kaarina Tungseth e9c9b25c36
[DOCS] Added content for unique index pattern name (#47066) 2019-10-03 15:36:59 -05:00
Josh Dover 5fc9a5501e
Simplify generics for IContextContainer (#46538) 2019-10-03 15:24:14 -05:00
Xavier Mouligneau d95c47f776
Add KQL functionality in the find function of the saved objects (#41136)
* Add KQL functionality in the find function of the saved objects

wip

rename variable from KQL to filter, fix unit test + add new ones

miss security pluggins

review I

fix api changes

refactor after reviewing with Rudolf

fix type

review III

review IV

for security put back allowed logic back to return empty results

remove StaticIndexPattern

review V

fix core_api_changes

fix type

* validate filter to match requirement type.attributes.key or type.savedObjectKey

* Fix types

* fix a bug + add more api integration test

* fix types in test until we create package @kbn/types

* fix type issue

* fix api integration test

* export nodeTypes from packages @kbn/es-query instead of the function buildNodeKuery

* throw 400- bad request when validation error in find

* fix type issue

* accept api change

* renove _ to represent private

* fix unit test + add doc

* add comment to explain why we removed the private
2019-10-02 18:23:44 -04:00
Larry Gregory 0bfa7ca5c6
Support space-specific default routes (#44678) 2019-10-02 12:05:02 -04:00
Rudolf Meijering 85c8232c0b
Move KibanaMigrator into Server SavedObjectsService (#43433)
* Rename SavedObjectsService -> SavedObjectsLegacyService

* Expose legacy pluginSpecs from Core LegacyService

* Expose legacy uiExports from Core LegacyService

* Move kibana config to NP

* Expose pluginExtendedConfig from LegacyService

* Make KibanaMigrator NP compatible

* KibanaMigrator -> NP SavedObjectsService

* SavedObjectsService never stop retrying ES connection error

* Move waiting for migrations to complete till after legacy service start

* Fix ESArchiver's KibanaMigrator

* Fix reload logging config tests

* Run migrations on savedobjects start

* Fix env tests

* Fix and make legacy tests more robust/isolated

* Cleanup code

* Fix invalid config test

* Fix SavedObject Migrations logging test

* SavedObjectsService tests

* Lifecycle logging and improve getting kibanaConfig instance

* Fix awaitMigration bug and test

* Fix typing error

* Review comments

* Remove unecessary KibanaConfig class

* Move legacy plugin config extension, specs, uiExports entirely into Core

uiExports, specs, disabledSpecs, config now get injected into KbnServer

* Fix config deprecation test

* Use existing logger mock

* Create SavedObjectsConfig for migration config

* Define KibanaMigratorContract type

* KibanaMigratorContract -> IKibanaMigrator + docs improvements

* Fix esArchiver's KibanaMigrator

* Fix plugin generator integration test

* ConfigServiceContract -> IConfigService

* Address review comments

* Review nits

* Document migrations.skip config

* Review comments continued...

* awaitMigrations -> runMigrations

* Type improvements
2019-10-01 09:11:33 +02:00
Rudolf Meijering 08b86784ef
Expose serverBasePath fixes #45991 (#45995)
* Expose serverBasePath fixes #45991

* Review comments

* Fix basepath mock types

* AppBasePathContract -> IBasePath

* Match basepath test description with assertion

* Fix eslint errors
2019-09-30 20:49:15 +02:00
Nate Archer 775c17ffd9
[Code]: Add content for cloning repositories (#46389)
* [DOCS] Fix beta tag in Code Docs

* Add additional content about cloning repos

* More grammar edits

* Address Gail's feedback.

* Fix build errors

* Another build fix
2019-09-27 18:58:10 -05:00
Lisa Cawley e3cbf3753e
[DOCS] Updates links to Watcher content (#46636) 2019-09-27 16:06:17 -07:00
Lisa Cawley 1a06f906c0
[DOCS] Fixes links to monitoring documentation (#46737) 2019-09-27 14:59:29 -07:00
gchaps 07d7438569
[DOCS] Fixes typo in dashboard doc (#46847) 2019-09-27 12:27:18 -07:00
gchaps 75444a9f18
[DOCS] Adds note to troubleshooting migration topic (#46815) 2019-09-27 09:31:00 -07:00
Kaarina Tungseth c24dc4a9a3
[DOCS] Added link names to configure-reporting page (#46805) 2019-09-27 10:45:47 -05:00
Kaarina Tungseth 48e880f5f5
[DOCS] Specifies true setting for 8.0 (#46164) 2019-09-26 12:52:39 -05:00
Lukas Olson bfb0df92ad
Add docs for courier:batchSearches UI setting (#46053)
* Add docs for courier:batchSearches UI setting

* Update ui_setting_defaults.js

* Update ui_setting_defaults.js

* Update advanced-options.asciidoc

* Update advanced-options.asciidoc

* Update ui_setting_defaults.js

* Update advanced-options.asciidoc

* Update ui_setting_defaults.js
2019-09-25 17:35:44 -07:00
Lisa Cawley bf00b3bcfb
[DOCS] Removes ML redirects (#46613) 2019-09-25 13:01:22 -07:00
Eli Perelman fcbb12f5c7
Make request and response properties conditionally available during HTTP interception (#42755)
* Make request and response properties conditionally available during HTTP interception

* Address review comments, fix request reference in http service tests
2019-09-25 10:59:37 -05:00
gchaps 4794462de2
[DOCS] Updates time picker content in Discover doc (#46516)
* [DOCS] Updates time picker content in Discover doc

* [DOCS] Incorporates review comments in time filter doc
2019-09-25 08:17:48 -07:00
Lisa Cawley 5777a02501
[DOCS] Update machine learning screenshots (#44555) 2019-09-25 08:08:44 -07:00
Tim Roes bea6c6721c
Style guide cleanup (#46464)
* Remove angular styleguide

* Remove SASS reference only file

It's still linked in the STYLEGUIDE.md document

* Cleanup HTML styleguide

* More cleanup

* Cleanup API style guide

* Remove architecture style guide

* Merge into STYLEGUIDE.md

* add attribution back on

* Change doclink to style guide

* Change wording and remove more rules

* Update STYLEGUIDE.md

Fix typos

Co-Authored-By: Stacey Gammon <gammon@elastic.co>
2019-09-25 11:19:16 +02:00
Brandon Morelli dc5e195f28
[docs][APM] Update APM screenshots (#46235) 2019-09-25 11:10:01 +02:00
Kaarina Tungseth 0c9c42fa64
[DOCS] Removed float tag (#46527) 2019-09-24 16:47:41 -05:00
Kaarina Tungseth 058617d5d3
[DOCS] Updates to Reporting docs (#46158)
* [DOCS] Updated to Reporting docs

* Updated with review comments
2019-09-24 15:57:11 -05:00
benskelker 48d34abd99
7.4 updated SIEM screenshot (#46321) 2019-09-24 10:21:53 +03:00
benskelker 5ed45fa86f
[Docs] Add SIEM advanced settings to the documentation (#46139)
* Add advanced SIEM settings

* Correct description of siem:defaultIndex field
2019-09-24 09:09:35 +03:00
Josh Dover cbe9161eb5
Update @microsoft/api-extractor + @microsoft/api-documentor (#46193) 2019-09-23 09:50:59 -05:00
Nate Archer c838628434
[Code][Docs]: Hide Ctags documentation (#46266)
* [DOCS] Fix beta tag in Code Docs

* Hide Ctag documentation
2019-09-20 15:20:16 -05:00
gchaps 4810c7cada
[DOCS] Adds content for customized filters (#46203) 2019-09-20 08:27:03 -07:00
Larry Gregory 8ea5e91fae
Spaces - updating moving SO between spaces docs (#45843)
* updating moving SO between spaces docs

* mark api as beta

* apply review suggestions
2019-09-19 15:24:12 -04:00
Marjorie Jones 3a0513dd09
[DOCS] Add Uptime architecture diagram to Uptime doc (#44920)
* First pass adding Uptime architecture diagram to Uptime doc

* Review comments

* Update docs/uptime-guide/overview.asciidoc

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>
2019-09-19 19:43:52 +02:00
Spencer d3fa0a48c0
[docs] jenkins piplines (#46080)
* [docs] jenkins piplines

add some docs describing how to find the logs for specific failed steps in pipelines

* fix typo
2019-09-19 08:27:00 -07:00
Lisa Cawley 3e3207f5b1
[DOCS] Move Graph in Kibana TOC (#45957) 2019-09-18 10:39:04 -07:00
Kaarina Tungseth adfebc51bb
[DOCS] Updated API experimental notes (#46008) 2019-09-18 10:54:28 -05:00
friol 30a1730bf2 Custom space avatar images (#45148)
* First changes for avatar images

* Added the ability to have custom images for space avatars

* Partial changes as requested by reviewers

* Final commit for space avatar images PR

* Wrapping avatar file name

* Colour picker always enabled, to allow background change for transparent svgs

* All the changes requested in the last review

* Fixes the type_check test errors

* Fixing the rendering errors for space pages

* Another batch of changes as requested by review

* Some more snapshot tests

* Last batch of changes

* Fixed the type_check test

* API doc updates

* Removed comment

* Removed imageUrl from state


Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-09-18 11:06:57 -04:00
gchaps e87114dfbb
[DOCS] Fixes to install and plugin docs (#45917)
* [DOCS] Fixes to install and plugin docs

* [DOCS] Adds links to references in code
2019-09-18 07:38:02 -07:00
Josh Dover 812c950045
Move ui/notify banners to New Platform (#43610) 2019-09-17 16:11:59 -05:00
Lisa Cawley c17188010c
[DOCS] Move machine learning details out of Kibana Guide (#45855) 2019-09-17 14:00:46 -07:00
James Rodewig 21d442cc3c
[DOCS] Update CCR links (#44012) 2019-09-17 15:48:18 -04:00
Kaarina Tungseth 69ab813edf
[DOCS] Changes name to host (#45798) 2019-09-17 10:30:30 -05:00
Aaron Caldwell 985aa72635
[skip-ci][Maps][File upload] Geojson indexing and styling docs (#41394)
* Mostly complete, first pass on file upload getting started

* More edits. Add supporting images

* Change name to 'indexing'

* Review feedback

* Update integrated example text per review feedback

* Rename integrated example -> data tutorial

* Add back accidentally deleted Select Source image file

* Review feedback

* Review feedback

* Move tutorial before troubleshooting

* Review feedback
2019-09-17 08:34:47 -06:00
Kaarina Tungseth b7f4c6a43a
[DOCS] Changed discover to home in configuring docs (#45827) 2019-09-16 15:57:32 -05:00
Kaarina Tungseth 73379324cd
[DOCS] Kibana docs template (#44695)
* [DOCS] Kibana docs template

* List parameters

* Comments from Gail
2019-09-16 11:19:01 -05:00
gchaps 0c7e8bfbe5
[DOCS] Updates Index Management doc to include index templates (#45424)
* [DOCS] Updates Index Management doc to include index templates

* [DOCS] Added example of creating a template

* [DOCS] Incorporates review comments

* [DOCS] Fixes typo
2019-09-16 08:45:58 -07:00
Nathan Reese 19262a8e31
[skip-ci][Maps] document EMS request domains (#45739) 2019-09-16 08:58:03 -06:00
gchaps 067e577350
[DOCS] Adds docs for snapshot lifecycle management (#45485)
* [DOCS] Adds docs for snapshot lifecycle management

* [DOCS] Incorporates review comments and fixes images
2019-09-13 15:38:30 -07:00
Nate Archer 334506a96a
[DOCS][CODE]: Fix TOC issue for renamed Code page (#45700)
* [DOCS] Fix beta tag in Code Docs

* Fix TOC issue for renames Code page
2019-09-13 16:40:19 -05:00
Nate Archer 84a56d580a
[DOCS][CODE]: Rename "Getting started with Code" to "Import your first repo" (#44924) (#45471)
* [DOCS] Fix beta tag in Code Docs

* [DOCS][CODE]: Issue #44924 - Rename Get started to Import your first repo
2019-09-13 13:33:09 -05:00
Lisa Cawley 7c75aa2bb2
[DOCS] Moves monitoring content into user folder (#45594) 2019-09-13 11:31:12 -07:00
Lisa Cawley 5478b4a610
[DOCS] Moves reporting content into user folder (#45588) 2019-09-13 10:47:55 -07:00
Lisa Cawley 87cdfd2ae1
[DOCS] Moves graph content into user folder (#45591) 2019-09-13 10:10:32 -07:00
gchaps af55ea9499
[DOCS] Updates Graph documentation (#45597)
* [DOCS] Updates Graph documentation

* [DOCS] Incorporates review feedback
2019-09-13 07:44:01 -07:00
Lisa Cawley 17f844a93a
[DOCS] More updates for security content in user folder (#45572) 2019-09-12 16:06:01 -07:00
Nathan Reese e5f72d54bc
[skip-ci][Maps] Point to point source docs (#45441)
* [skip-ci][Maps] Point to point source docs

* review feedback
2019-09-12 15:06:53 -06:00
Larry Gregory 7291e4468e
Adding copy-to-space section to saved objects docs (#45513)
* adding copy-to-space blurb to saved objects docs

* Apply suggestions from code review

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* apply code review suggestions

* Update docs/management/managing-saved-objects.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
2019-09-12 16:14:38 -04:00
Lisa Cawley ce1d2f0f7b
[DOCS] Moves security content into user folder (#45555) 2019-09-12 12:13:54 -07:00
Lisa Cawley e0fdce6356
[DOCS] Moves ml content into user folder (#45482) 2019-09-12 08:53:44 -07:00
Brandon Morelli 40a505e89e
docs: move uptime guide to shared versions (#45378) 2019-09-12 16:42:36 +02:00
gchaps c5e7a98740
[DOCS] Updates Saved objects docs (#45310)
* [DOCS] Updates Saved objects docs

* [DOCS] Incorporates review comments

* [DOCS] Changed intro per review comments

* [DOCS] More updates to Saved objects doc
2019-09-11 14:45:43 -07:00
Lisa Cawley 80c05bf928
[DOCS] Adds user folder (#45411) 2019-09-11 12:59:38 -07:00
Lisa Cawley baee2390bf
[DOCS] Creates developer folder (#45280) 2019-09-10 17:13:23 -07:00
Nathan Reese 67e9eaf6c6
[skip-ci][Maps] Update search docs (#45307)
* [skip ci][Maps] Update search document section with new features

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* review feedback

* remove trailing .html from link
2019-09-10 15:22:59 -06:00
Spencer 974b5fda86
Revert "[skip ci][Maps] Update search document section with ne… (#45301)
This reverts commit d5e370d3be.
2019-09-10 13:11:53 -07:00
Nathan Reese d5e370d3be
[skip ci][Maps] Update search document section with new features (#44819)
* [skip ci][Maps] Update search document section with new features

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* review feedback
2019-09-10 11:00:31 -06:00
Chris Cowan 6575239f73
[Infra UI] Display non-metric details on Node Detail page (#43551)
* [Infra UI] Display non-metric details on Node Detail page

- Closes #42689
- Adds NodeDetails component

* clean things up a bit

* Change hook order

* Start of docs changes

* Making expand button more consitent

* Update docs for this minor change

* Changing handleClick to toggleIsOpen

* Optimizing fields slice
2019-09-09 15:08:47 -07:00
Aleh Zasypkin 9d69b72a5f
Move base feature controls functionality from XPack Main plugin to a dedicated XPack Features plugin (#44664) 2019-09-09 19:15:58 +02:00
benskelker f85922335d
Updated SIEM network image for 7.4 (#45147) 2019-09-09 18:45:56 +03:00
Lisa Cawley 9db847f3f5
[DOCS] Updates location of version attribute for Kibana Guide (#45051) 2019-09-06 15:55:53 -07:00
Lisa Cawley 745f3d1167
[DOCS] Create developer guide part (#44954) 2019-09-06 13:51:03 -07:00
Nate Archer f31a53c1f4
[DOCS][CODE]: Code docs grammar edits and adjustments (#44838)
* [DOCS] Fix beta tag in Code Docs

* [DOCS][7.x][CODE]: Code docs grammar edits and adjustments

* Address Gail's feedback

* More feedback
2019-09-06 13:48:30 -05:00
Kaarina Tungseth 925dfab588
[DOCS] New template for APIs (#39298)
* Clean up

* Dashboard export API

* More changes

* role-management and saved-objects

* Clean up

* Final clean up

* Clean up

* Moved labels to appropriate places

* Fixed rogue commits
2019-09-06 11:09:57 -05:00
Lisa Cawley 9ff21891ae
[DOCS] Change title of Kibana book (#44957) 2019-09-06 09:03:42 -07:00
Nathan Reese 3e752944e3
[skip-ci][Maps] Improve Maps intro page (#44721)
* [skip-ci][Maps] Improve Maps intro page

* review feedback

* trim list to 7 items, add link to getting started guide, change all references to app to Elastic Maps

* review feedback

* bold Elastic Maps in intro page
2019-09-05 20:45:23 -06:00
Nathan Reese e40359958f
[Maps] Update titles and descriptions for data sources (#44833)
* [Maps] Update titles and descriptions for data sources

* update kibana tilemap source description

* Update x-pack/legacy/plugins/maps/public/layers/sources/es_pew_pew_source/es_pew_pew_source.js

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* update functional test dataTestSubj click handles based on source name changes

* update TMS source descriptions to be more consistent
2019-09-05 20:38:01 -06:00
Tim Sullivan 264ac76f77
[Reporting] add capture.maxAttempts setting (#44011)
* [Reporting] add capture.maxAttempts setting

* restore default in code, so tests will pass

* --wip-- [skip ci]

* write test

* fix test

* update error message with value
2019-09-04 23:10:49 -07:00
Zacqary Adam Xeper ecd9f335cb
[Logs UI] Change 'View monitor status' to 'View status in Uptime' (#44518)
* [Logs UI] Change 'View monitor status' to 'View status in Uptime'

* Update docs with text change

* Remove docs comment
2019-09-04 10:38:15 -05:00
Marjorie Jones 6483315d7c
[DOCS] Remove unused Infrastructure and Logs graphics files (#44649)
* Removing unnecessary graphics from Infra and Logs app descriptions, tidying up a couple of graphics to make them consistent

* Another tiny change
2019-09-04 13:14:36 +01:00
Josh Dover b352f67bdb
Add ApplicationService Mounting (#41007)
* Add core-only bundle

* Add ApplicationService mounting

* Add LegacyCore{Setup,Start}

* Fix PR comments

* Add functional tests

* Fix PR comments

* Fix PR comments

* Remove other usages of rootRoute

* Use state field notation

* Add support for open in new tab

* Fix PR comments

* Fix pesky await from the dead

* Update docs

* Bump @types/history
2019-09-03 13:03:05 -05:00
Christiane (Tina) Heiligers 8b4971ba75
Saved queries docs (#43731)
* Adds saved query docs to search section

* Adds Saved Queries docs to Discover search

* Makes changes requested by PR review

* Changes 'visualizations and dashboards' to 'Visualize and Dashboard', adds x-pack label back to Read only access section

* Changes some text

* Changes Saving searches section

* Rewords saved queries section

* Changes 'Saved search' to 'saved search', tweeks a few words

* Removes second sentence from intro to saved queries

* Changes save button text reference

* Updates screen shots

* Moves images around, adds a hover instruction to delete a query and adds a screen shot of the delete button

* Makes changes as requested
2019-09-03 10:41:17 -07:00
Aleh Zasypkin 7fa4860e37
Document PKI authentication provider. (#43572) 2019-08-30 19:33:23 +02:00
Joe Reuter 6fad639f25
[Graph] Listing page and folder restructuring (#44068) 2019-08-29 17:19:56 +02:00
Marjorie Jones 80a92a61ed
[DOCS] Spellcheck and minor tidying-up/consistency of Logs app content (#43388)
* Preliminary changes

* More changes

* Updating Logs app content.

* Few final tweaks after reading through

* Review comments, adding a redirect for a removed bookmark, just in case.
2019-08-28 16:52:39 +01:00
Jonathan Budzenski bad947d7d1
move optimize into data folder (#25944)
* move optimize into data folder

* path

* replace optimize with data in notice glob

* update docs

* more updates

* update snapshots

* re-add folder references

* prettier

* save changes

* rm optimize from .eslintignore

* rm extra file

* fix merge
2019-08-28 10:09:58 -05:00
Brandon Kobel 769bb657fa
Moving Saved Object APIs from Experimental to Beta (#44140)
* Saved Object APIs, now beta!

* Using Gail's word-choice, thanks Gail!!!
2019-08-28 06:58:12 -07:00
Andrew Cholakian efbe29ff75
[Uptime][Docs] Add deployment architecture section (#43028)
This commit better documents recommended deployment architecture for Uptime.
2019-08-26 11:05:50 -05:00
Mikhail Shustov 9a732014cb Response factory parameters as named arguments (#43248)
* pass body as response parameter. use attributes for error responses

* update core

* update tests

* update x-pack code

* update x-pack tests

* regen docs

* update comment

* Review feedback and fixes after master merge

* Eslint fixes
2019-08-23 19:31:17 +02:00
Nik Everett 21cc988bd8
Docs: Fix asciidoctor compatibility (#43473)
This modifies the asciidoc files so they can be built by asciidoctor.
The biggest change is removing callouts that aren't at the end of the
line. To do that I break the examples from one giant line into many
shorter lines.
2019-08-22 14:55:41 -04:00
Kaarina Tungseth 9b23ce3cfb
[DOCS] Fixes workpad and element links (#43727)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* [DOCS] Fixes workpad and element links
2019-08-21 18:40:42 -05:00
Kaarina Tungseth 06b37dbad3
[DOCS] Fixes element link (#43725)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* Fixed link issue
2019-08-21 17:46:48 -05:00
Larry Gregory 608e2391d0
Copy Saved Objects to Spaces API (#38014) 2019-08-21 17:27:55 -04:00
Kaarina Tungseth 5fe9d0e780
[DOCS] Canvas elements (#42473)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* Export image

* Final clean up
2019-08-21 16:12:22 -05:00
Josh Dover 5071c74945
Replace CSP 'nonce-<base64>' directive with 'self' directive (#43553) 2019-08-21 14:11:38 -05:00
Mikhail Shustov 00a0203584 Extend request handler with request scoped core capabilities (#43103) 2019-08-19 13:34:48 -05:00
Nate Archer df7b073789
[DOCS] Fix beta message in Code docs (#43330) 2019-08-15 12:37:55 -05:00
Aleh Zasypkin 6be8b321d5
Add TLS client authentication support. (#43090) 2019-08-14 22:57:54 +02:00
Brandon Morelli 8c134f6c58
docs: add tip on agent config in a dt (#43301) 2019-08-14 12:30:09 -07:00
Larry Gregory 0647baaecd
Feature Controls docs - removing magic quotes (#43194) 2019-08-13 13:29:48 -04:00
Karen Metts f3650d9505
Remove coming tag (#43200) 2019-08-13 13:00:46 -04:00
Marjorie Jones 6aad727320
[DOCS] Enhance Infrastructure UI section of Kibana docs (#42937)
* Update index.asciidoc

More tidying up

* Partial commit, still very much work in progress

* Work in progress

* More partial changes

* More partial changes

* Yet more changes

* More changes to infrastructure section

* Some more tidying up of topics.

* More changes, adjusting links, proof-reading etc.

* Some review comments from @bmorelli25 and @gchaps

* Another review change

* Adding redirect for deleted bookmark

* More review changes

“application” is “app” apparently in this context

* Review comments from Brandon
2019-08-13 15:26:46 +01:00
Josh Dover d205f1e456
Export missing Context types (#43051) 2019-08-12 14:07:17 -05:00
Nick Peihl 3503aa16ad
[Maps] Enable borders for icon symbols (#43066)
* [Maps] Enable borders on icons

* [Maps] Enable borders on icons

* Review feedback

* Remove unnecessary Fragment
2019-08-12 10:51:07 -07:00
Tyler Smalley 372b79e816
Disables response logging as a default (#42353)
Previously, if any of the following were true, we would log HTTP responses.
- `logging.json` was set
- `logging.dest` was set
- `TTY` was detected

The logging format should not dictate what is logged

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-12 08:29:00 -07:00
Rudolf Meijering f7a71f2035
[Core] Make type option required for SavedObjects.find (#42236)
* Make type option required for SavedObjects.find

* getSortedObjectsForExport test for type or objects
2019-08-12 16:33:35 +02:00
Nathan Reese 95807a2d55
[skip-ci][Maps] add maki icon sheet to docs (#43063)
* [Maps] add maki icon sheet to docs

* use 8 columns instead of 16 so icons are legible

* add + to indent label to be inline with image
2019-08-09 16:51:27 -06:00
Mikhail Shustov c9220c5863
Expose createRouter from HttpService, prepare handlers for context introduction (#42686)
* expose createRouter, prepare route handler for context introduction.

* fix tests

* update examples in docs

* update tests

* re-genereated docs

* remove registerRouter from http service contract

createRouter registers a router under the hood. that reduces API surface
for consumers

* address comments

* update docs
2019-08-09 21:08:34 +02:00
Mikhail Shustov c30df8d136
add socket.getPeerCertificate to KibanaRequest (#42929)
* add socket.getPeerCertificate to KibanaRequest

* update request mocks

* update docs
2019-08-09 10:42:33 +02:00
Kaarina Tungseth 887cee40ed
[DOCS] TSVB and Timelion clean up (#42953) 2019-08-08 16:17:01 -05:00
laraMorenoIgle ef8072da2b
Update settings.asciidoc (#42820)
vega.enableExternalUrls setting missing but it still supported, so needed to be added
2019-08-08 18:44:16 +02:00
Mikhail Shustov 06adc737d9
Unify response interface in handler and request interceptors (#42442)
* add response factory to the interceptors

* adopt x-pack code to the changes

* Add a separate response factory for lifecycles.

Only route handler can respond with 2xx response.
Interceptors may redirect or reject an incoming request.

* re-generate docs

* response.internal --> response.internalError

* use internalError for exceptions in authenticator

* before Security plugin proxied ES error status code. now sets explicitly.

* provide error via message field of error response for BWC

* update docs

* add customError response

* restore integration test and update unit tests

* update docs

* support Hapi error format for BWC

* add a couple of tests
2019-08-08 12:07:43 +02:00