Commit graph

1561 commits

Author SHA1 Message Date
Michail Yasonik 6207b74f80
Adding the Accessibility Statement to docs (#57153)
* adding accessibility statement to docs
2020-02-11 17:31:43 -05:00
Brandon Morelli 3e95a84b37
[APM][docs] 7.6 documentation updates (#57124) 2020-02-11 11:43:03 -08:00
gchaps 682d3672c2
[DOCS] Removes reference to IRC (#57245) 2020-02-10 13:35:06 -08:00
Ben Skelker 404ac3bc28
siem 7.6 updates (#57169) 2020-02-10 21:59:28 +02:00
Kaarina Tungseth ba875c4e66
[DOCS] Canvas embed objects (#57156) 2020-02-10 11:05:01 -06:00
Aris Papadopoulos b13acff23d
Kibana Kerberos documentation (#51883)
* kerberos
b Please enter the commit message for your changes. Lines starting

* Apply suggestions from code review

Co-Authored-By: Brandon Kobel <brandon.kobel@gmail.com>
Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-10 12:32:55 +00:00
Peter Schretlen e4e46d1f94
Add docs for alerting and action settings (#57035) 2020-02-07 17:30:02 -05:00
Brandon Morelli b2c9beb00f
[APM][docs] Add troubleshooting for non-indexed fields (#54948) 2020-02-07 13:15:25 -05:00
Chris Koehnke 12fcf015cb
[docs] Fix spaces api example json (#50411)
Make this example properly formatted json.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-07 07:19:32 -08:00
Rudolf Meijering ff608998cd
Saved Objects testing (#56965)
* Expose core/public savedObjectsServiceMock

* Test docs for Saved Objects unit and integration tests

* Review comments

* Update api types / docs
2020-02-07 16:03:58 +01:00
Michail Yasonik a08116f542
Adding docs for grouped nav advanced setting (#57013)
* Adding docs for grouped nav advanced setting
2020-02-06 18:00:21 -05:00
Thomas Neirynck e939c7389f
[Maps] Remove EMS catalogue url from docs (#57020)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-06 17:20:36 -05:00
gchaps f4464a4309
[DOCS] Adds Apple notarization info to install doc (#57042) 2020-02-06 13:24:19 -08:00
gchaps 3c80ea22eb
[DOCS] Improves Management section in docs (#56669)
* [DOCS] Improves Management section in docs

* [DOCS] Fixes build error

* [DOCS] Incorporates review comments in management docs
2020-02-06 09:16:32 -08:00
Pierre Gayvallet ea7c78d10e
Restructure SavedObject types internal representation (#56378)
* adapt types and tests to prepare for new NP api

* rename and export public types

* update generated doc

* first implementation of registerMappings

* adapt es archiver to convert legacy mappings

* update generated doc

* fix more tests

* add unit tests

* add legacy-compat unit test

* add documentation and examples

* Introduce SavedObjectTypeRegistry and SavedObjectType types

* add and fix tests

* expose createSerializer API and fix usages

* remove registerMappings API, add internal registerType

* revert changes to migration guide

* adapt ES-archiver migrator creation

* export serializer-related types

* update generated doc

* add and use convertTypesToLegacySchema

* remove / move to internal some mapping types

* fix forEach closure context

* add missing docs

* fix core path

* some nits

* fix so_mixin tests

* fix integration tests

* fix integration tests for real

* add documentation on serializer + restructure files and types

* nit

* add and use the ISavedObjectTypeRegistry interface

* Add documentation, deprecates migrationLogger#warning

* better typing for SavedObjectsRawDoc._source

* nits

* update generated doc

* remove exposition of SavedObjectsTypeMappingDefinitions, update doc

* creates so internal contracts mocks

* improve documentation
2020-02-06 10:30:55 +01:00
Ben Skelker 152eb9f7a2
[Docs][SIEM] 7.6 updates (#56844)
* adds detections description

* 7.6 updated and screenshots
2020-02-05 18:05:30 +02:00
Tyler Smalley 9af0157b4f
[docs] Update upgrade version path (#56658)
When upgrading to the next major version, users should first upgrade to
the last minor in the previous release. In 6.x this is 6.8.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-02-04 14:00:15 -08:00
Aleh Zasypkin 79ecc408df
Mention changed SAML ACS endpoint URL in breaking changes doc. (#56613) 2020-02-04 09:18:52 +01:00
Pierre Gayvallet 4bb56c80b7
Add getServerInfo API to http setup contract (#56636)
* add getServerInfo http setup api

* update generated doc
2020-02-04 08:03:36 +01:00
Nick Partridge 186a82669f
Kibana property config migrations (#55937)
* Move defaultAppId config param into kibanaLegacy
* Move disableWelcomeScreen config param into Home plugin
* Update api and docs with silent option for renameFromRoot
2020-02-03 22:17:27 -06:00
Greg Thompson 94be839a24
Upgrade EUI to v18.3.0 (#56228)
* eui to 18.3.0

* ts interface update

* src snapshot updates

* x-pack snapshot updates

* icons in nav

* Homepage updates, nav drawer and tests

* feedback

* more feedback

* euiIconType for observability and security

* remove unused translations

Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-03 16:37:35 -06:00
Larry Gregory 74ee0d0ba4
[Docs] - Deprecate kibana_user role (#54606)
* rename kibana_user => kibana_admin

* add migration note

* [DOCS] Fixes link for use in multiple books

* i18n fixes after merge from master

* fix i18n

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-Authored-By: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
2020-01-31 14:26:12 -05:00
Kaarina Tungseth 440a37a6db
[DOCS] Share options for Visualize (#56407)
* [DOCS] Share options for Visualize

* Removed files

* Comments from Gail
2020-01-31 11:11:07 -06:00
Kerg09 1bb4d77479
Adds Query.AI to known-plugins.asciidoc (#50516)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-31 11:45:37 -05:00
gchaps 472e7fbb71
[DOCS] Updates example in Timelion doc (#56444) 2020-01-30 13:21:54 -08:00
Chris Roberson c28f7bacda
[Monitoring] Change all configs to monitoring.* (#56215)
* Revert "Revert "[Monitoring] Change all configs to `monitoring.*`" (#56214)"

This reverts commit bd08eb7efc.

* Fix missing config changes

* More fixes

* Doc changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-30 11:13:14 -05:00
Kaarina Tungseth 2ff9d8b5c3
Added LDAP to Kibana autthentication provider page (#56045) 2020-01-29 14:49:33 -06:00
Joe Portner d0c6e7de84
Clarify documentation for TLS encryption setup (#55739) 2020-01-29 12:59:50 -05:00
Tim Sullivan 265c079a8a
[Reporting] Document the 8.0 breaking changes (#56187) 2020-01-28 12:30:55 -07:00
Joe Reuter 8c2980213e
Add flag to opt out from sub url tracking (#55672)
* introduce flag for disabling sub url tracking

* re-generate documentation and extend ui_app

* fix ui_nav_link test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-28 16:51:07 +01:00
Joe Reuter 22117abf49
fix tutorial documentation (#55996) 2020-01-28 15:02:04 +01:00
Brandon Morelli 3db8cb34b0
[docs] Remove unused callout (#56032) 2020-01-27 21:03:06 -08:00
Mikhail Shustov aa695ec637
Normalize EOL symbol in platform docs (#56021)
* use api-extractor generate command with api-documenter config

* update docs

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-27 18:42:45 +01:00
Kaarina Tungseth 17011b7559
[DOCS] Empty dashboard screen (#55727)
* [DOCS] AdEmpty dashboard screen redesign

* Review comments f from Gail

* Comments from Gaiail pt 2
2020-01-27 11:33:20 -06:00
Mikhail Shustov efd3e99064
Revert "Normalize EOL symbol for the platform docs (#55689)" (#56020)
This reverts commit 1ea175e2c6.
2020-01-27 16:29:27 +01:00
Mikhail Shustov 1ea175e2c6
Normalize EOL symbol for the platform docs (#55689)
* use api-extractor generate command with api-documenter config

* update docs
2020-01-27 14:39:56 +01:00
Mikhail Shustov e00f2628af
[NP] Platform exposes API to get authenticated user data (#55327)
* expose auth.get/isAuthenticated. move getAuthHeaders to internal type

* update mocks

* update docs

* update docs

* add integration test for auth
2020-01-27 13:57:06 +01:00
Josh Dover 1bb59af44a
Add isSystemRequest support to Kibana Platform (#53734) 2020-01-24 15:20:09 -07:00
spalger e67cc8514a Revert "[csp] allow blob styles when running from source (#54991)"
This reverts commit 375f0b42a7.
2020-01-23 23:32:10 -07:00
Matthew Kime 0c25cb53b2
Advanced Settings management => typescript (#54477)
* advanced settings => typescript
2020-01-23 09:21:46 -06:00
Pierre Gayvallet a75436d93e
Run SO migration after plugins setup phase. (#55012)
* change setClientFactory api to setClientFactoryProvider

* cleanup and add test for service

* change the signatures of SO start/setup

* fix registerCoreContext by accessing stored start contract reference

* move migration inside `start`

* adapt and add service tests

* add doc and export new types

* adapt plugins code

* update generated doc

* better core access

* address some review comments

* remove parametrized type from SavedObjectsClientFactory, use KibanaRequest instead

* add logs when starting and ending so migration

* fix KibanaRequest imports

* NITs and review comments

* fix alerting FTR test

* review comments
2020-01-23 10:41:21 +01:00
gchaps 31c2a89827
[DOCS] Updates index template example (#55601) 2020-01-22 13:45:39 -08:00
Spencer 375f0b42a7
[csp] allow blob styles when running from source (#54991)
* [csp] allow blob styles when running from source

* update kbn/pm dist

* add kibanaServer service to saml_api_integration suite

* use common naming

* attempt to use env.packageInfo instead of IS_KIBANA_DISTRIBUTABLE const

* remove mock, clone rules before modifying

* pass env where necessary

* update core api docs

* make env optional in HttpConfig

* add tests for CspConfig changes, base header on this.rules

* fix test snapshot

* make env optional in HttpConfig too

* remove CspConfig.DEFAULT and make env a required constructor arg

* update csp_usage_collector tests

* update core api docs

* fix test name

* rename headerChangedFromDefault back to rulesChangedFromDefault

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-22 11:32:09 -07:00
Daniil Suleiman bda48391a8
Remove the VisEditorTypesRegistryProvider (#55370)
* Remove the VisEditorTypesRegistryProvider

* Update the doc

* Resolve conflicts in legacy.ts
2020-01-22 18:45:41 +03:00
Mikhail Shustov 3e69ea5f01
[NP] KibanaRequest provides request abortion event (#55061)
* add aborted$ observable to KibanaRequest

* complete observable on request end

* update docs

* update test suit names

* always finish subscription

* address comments
2020-01-22 13:34:35 +01:00
Lisa Cawley ccbb2863e7
[DOCS] Add tip for using elasticsearch-certutil http command (#55357) 2020-01-21 18:54:54 -08:00
Thomas Neirynck 391c348a97
remove incorrect config (#55427) 2020-01-21 16:45:40 -05:00
Kaarina Tungseth 0ac60494d6
[DOCS] Updates to heat map page (#55097) 2020-01-21 14:01:28 -06:00
Michail Yasonik da54657b91
Grouped Kibana nav (#53545)
Adds concept of `category` to nav links, grouping them by this in the side nav
2020-01-21 12:48:07 -05:00
Mikhail Shustov 4971a2c772
Expose fatalErrors API from the Start contract (#55300)
* Expose FatalErrors from the Start contract.

This API is intended to be used for runtime as well.

* update docs

* update data plugin snapshot to fix tests

* address comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-21 12:58:40 +01:00
Pierre Gayvallet 2d10350d77
Implements getStartServices on server-side (#55156)
* implements server-side getStartServices

* add unit test

* add integration test

* update generated doc

* improve test
2020-01-20 11:19:40 +01:00
Mikhail Shustov ec31611911
Enforce camelCase format for a plugin id (#53759)
* add isCamelCase  function

* add a warning if id is not in camelCase

* document pluginId expected in camelCase

* regen docs

* add a test for logging

* update tests. warn can be called several times for different reasons

* pluginPath falls back to plugin id in snake_case

* update tests

* update docs

* add example with id & configPath different formats

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-18 14:17:36 +01:00
Kaarina Tungseth 4dd31a50ef
[DOCS] Added to Add a field column definition (#55116) 2020-01-17 15:13:22 -06:00
Peter Schretlen 2234210369
resolves #53038 - remove references to specific license levels (#53858) 2020-01-17 14:41:55 -05:00
Nathan Reese 56482ab043
[skip-ci] Update vector styling docs for 7.6 UI changes and new features (#55087)
* Quantitative data driven styling

* quantitative styling

* clean up

* clean up

* review feedback
2020-01-17 12:34:40 -05:00
Pierre Gayvallet 856c85b400
Deprecate chrome.navlinks.update and add documentation (#54893)
* add migration example on application status updater

* update example with proper licensing plugin usage

* fix line width
2020-01-17 13:27:09 +01:00
Daniil Suleiman 3e46060854
[Vis: Default editor] EUIficate and Reactify the sidebar (#49864)
* EUIficate the sidebar

* Create a state reducer and a state context

* Create an editor context and actions

* Improve types

* Apply aggs reordering

* Fix functionality

* Improve types

* Fix sub_agg changes

* Remove legacy dependencies

* Watch dirty state

* Fix dirty state changes

* Update actions and reducers

* Handle keyboard submit

* Apply editor form validation

* Remove fancy forms

* Update validation

* Use embeddable instead of visualize loader

* Add auto apply behavior

* Remove legacy styles

* Remove the sidebar

* Restrict responsive to the bottom_bar

* Upgrade @elastic/eui to v14.10.0

* Replace EuiBottomBar with EuiControlBar

* Get rid of mutations in control vis

* Revert "Upgrade @elastic/eui to v14.10.0"

This reverts commit 2cd86c51d2.

* Replace bottom bar with a control panel for sidebar

* Replace selectors

* Use editor resizer

* Apply selectors

* Change selectors

* Fix sub agg change values

* Add collapse button

* Fix tests

* Get rid of editor editor_state_context, simplify the code

* Fix jest tests, update snapshots

* Fix types

* Moving collapse button to right of index pattern

* Tweaks bottom buttons

* Moved Vega buttons so they don’t scroll away

* Fix responsiveness

* Resolve UI comments

* Fix console resizer

* Update dev docs

* Bail out of additional render in metrics and axes

* Apply performance optimizations for metrics and axis panel

* Remove unused translations

* Use debounce when autoapply enabled

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-17 14:01:44 +03:00
Kaarina Tungseth 89e79aa422
[DOCS] Adds geocentroid note to coordinate map (#54389)
* [DOCS] Added note to coordinate map for geocentroid

* Minor changes

* Comments from Gail
2020-01-16 13:32:35 -06:00
Eli Perelman 7977f0edd4
Generate legacy vars when rendering all applications (#54768)
* Generate legacy vars when rendering all applications

* Move rendering functional tests and add user settings tests

* Make rendering integration tests more robust, get data from page

* Address review nits, fix CI failures

* Remove extraneous file

* Fix type error
2020-01-16 11:35:21 -06:00
Liza Katz 12ec08e8ab
export new ui settings types and regen docs (#55020)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-16 19:02:23 +02:00
Thomas Neirynck ca91ec55b4
[Maps] Rename geo_tile display points option to clusters (#54973) 2020-01-16 11:47:20 -05:00
Joe Portner 0d19b38f18
Document mutual TLS authentication (PKI) between Kibana and Elasticsearch (#54940) 2020-01-16 09:46:45 -05:00
Nathan Reese a127477c94
[skip-ci] Update Maps getting started docs for 7.6 UI changes (#54816)
* update choropleth getting started instructions

* finish ES layers getting started
2020-01-15 17:08:33 -05:00
Andrew Goldstein 56ff721867
[SIEM] New Overview Page (#54783)
## [SIEM] Overview Page "1.5"

A redesigned SIEM Overview page that includes `Recent timelines`, a `Security news` feed, visualizations, and rolled-up event counts

![overview-day](https://user-images.githubusercontent.com/4459398/72396016-90f53600-36f8-11ea-9b41-6d54d09de589.png)

![overview-night](https://user-images.githubusercontent.com/4459398/72394575-fb57a780-36f3-11ea-868e-8fcd2c5c4543.png)

### Overview enhancements
- Added the global Search bar and Date picker to the Overview page
- New `Recent timelines` widget affords quick access to favorite and recently modified timelines
- New `Security news` widget
- New Kibana advanced settings (toggle switch) for enabling or disabling the news widget and configuring the news URL
![news-settings](https://user-images.githubusercontent.com/4459398/72362776-fd4c4700-36b0-11ea-805b-3c7353f2c1cd.png)
- New `Events count by dataset` widget
- Updated the `Host Events` and `Network Events` widgets to integrate with the Search bar and date picker input
- Enhanced the `Host Events` and `Network Events` widgets to use an accordion paradigm that summarizes stats by source (e.g. `Auditbeat`, `Endgame`)
- Enhanced the `Host Events` and `Network Events` widgets to visualize relative percentages of events collected as progress bars
- New `Alerts count by category` widget
- New `Signals count by MITRE ATT&CK™ category` widget
- New `View events`, `View alerts`, and `View signals` navigation buttons for their respective visualizations


### FTUE enhancements
- FTUE "no data" view design refresh
![ftue](https://user-images.githubusercontent.com/4459398/72361771-43a0a680-36af-11ea-969f-5872ac4a01a1.png)
- When the FTUE "no data" page is displayed, hide all global navigation links (i.e. `Hosts`, `Network`, `Detection engine`), such that only `Overview` appears in the global nav
- App Help popover design refresh
![help](https://user-images.githubusercontent.com/4459398/72362132-d80b0900-36af-11ea-9b58-1fd3b923b7c8.png)
- Removed the `Beta` badge and `Security Information & Event Management with the Elastic Stack` from the Overview header

- Tested in Chrome `79.0.3945.117`, Firefox `72.0.1`, and Safari `13.0.4`

## Known issues

- The `siem:newsFeedUrl` advanced setting is defaulted to `https://feeds.elastic.co/kibana`
- The `Signals count by MITRE ATT&CK™ category` visualization does not display all categories
- The `Signals count by MITRE ATT&CK™ category` visualization may require a different index pattern
- `EuiButtonGroup` throwing a `Can't perform a React state update on an unmounted component` warning when switching from the Overview tab

https://github.com/elastic/siem-team/issues/484
2020-01-14 21:03:57 -07:00
gchaps be71ec4029
[DOCS] Adds monitoring setting (#54819) 2020-01-14 14:52:12 -08:00
Joe Portner ea82503f49
Clarify the section on TLS for "Securing the reporting endpoints" (#54741) 2020-01-14 11:38:14 -05:00
Liza Katz aa16a9d455
Support "Deprecated" label in advanced settings (#54539)
* Support deprecating label in advanced settings
mark courier:batchSearches as deprecated

* jest update

* Add deprecation to UiSettingsParams type
Translate click aria label
Use docLinks service

* Rename doc link

* Remove url option from DeprecationSettings

* Simplify code

* Updated docs

* Revert "Updated docs"

This reverts commit c9512ced1f.

* snapshots

* docs
2020-01-13 23:54:41 +02:00
Matthew Kime 2178ee38c0
uiSettings - use validation field for image field maxSize (#54522)
* uiSettings - use validation field for image field maxSize
2020-01-13 13:58:59 -06:00
Jonathan Budzenski ec69443ca2
[docs] load balancing kibana (#52659)
* [docs] multiple kibanas

* fix

* capital title

* Update docs/setup/production.asciidoc

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

* Update docs/setup/production.asciidoc

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

* Update docs/setup/production.asciidoc

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

* title and actions

* fix reference

* fix merge

* case fix

* plural

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-01-13 12:37:39 -06:00
gchaps f7ba36279e
[DOCS] Removes dashboard search batching setting (#54594)
* [DOCS] Removes dashboard search batching setting

* [DOCS] Keeps content for search setting and adds deprecation notice

* [DOCS] Fixes version notice in deprecation notice
2020-01-13 10:19:20 -08:00
Pierre Gayvallet aeebedfa4d
Add ApplicationService app status management (#50223)
* add unimplemented registerAppStatusUpdater & remove observers for apps and legacyApps

* adapt NavLinksService to use new application observables

* merge availableApps$ and availableLegacyApps$

* updating core docs

* adapt the navLink updating methods

* filters the inaccessible apps from availableApps$

* restrict access to navigateToApp depending on app status

* fixes due to merge

* add statusUpdater$ to AppBase

* export new types

* disable navlink depending on app status

* update generated doc

* update snapshots for disabled prop

* Address josh review

* Address review comments

* fix merge conflicts

* adapt changes due to merge

* update generated doc

* add comment and fix navlink url for custom url apps

* add AppNavLinkStatus type to split app/navlink states

* fix typo

* review comments and improvements

* add functional tests

* update generated docs and migration guide

* fix wrong type cast on AppsMenuProvider.readLinks

* properly type return of navigateToApp
2020-01-12 22:37:42 +01:00
Larry Gregory e6e1373db2
Security - Role Mappings UI (#53620)
* Initial role mappings UI

* apply design edits

* address PR feedback

* fix type cast for number field

* Update x-pack/legacy/plugins/security/public/views/management/role_mappings/edit_role_mapping/components/mapping_info_panel/mapping_info_panel.tsx

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

* Cleanup FTR configuration, and handle role mapping 404 errors properly

* align naming of role mappings feature check

* Apply suggestions from code review

Co-Authored-By: Brandon Kobel <brandon.kobel@gmail.com>

* add missing test assertions

* inlining feature check logic

* switch to using snapshot

* use href instead of onClick

* adding delete unit test

* consolidate href building

* unify page load error handling

* simplify initial loading state

* documenting unconditional catch blocks

* use nodes.info instead of transport.request

* Apply suggestions from code review

Co-Authored-By: Brandon Kobel <brandon.kobel@gmail.com>

* move model out of LP into NP

* convert except_field_rule to except_any_rule

* docs, take 1

* update gif

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-11 13:26:31 -05:00
John Trengrove 487c096c41 [DOCS] Clarify TSVB support rollups (#54417) 2020-01-10 08:02:55 -08:00
Pierre Gayvallet c0d6b932f1
Allow the mounted application to prompt a confirm message before leaving (#54221)
* add onAppLeave to AppMountParameters

* adapt legacy shims of app mount

* update generated doc

* returns properly typed AppLeaveAction from leave handler instead of raw strings

* add openConfirm to modal service and use it instead of window.confirm

* fix unit test

* update querystringinput snapshots

* add integration tests

* nits and review comments

* add functional tests
2020-01-10 12:17:21 +01:00
Mikhail Shustov bbf703a0ff
tighten SO repository type (#54328)
* tighten SO repository type

* update docs

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-10 10:46:37 +03:00
debadair 299df2dae7
[DOCS] Updated links to snapshot-restore docs. (#52151) 2020-01-09 16:12:15 -08:00
Joe Portner 719ff259fc
Add support for certificates in PKCS#12 (P12) key stores (#53810)
Kibana now supports the usage of PKCS#12 (P12) key stores and trust stores for certificates and keys.
2020-01-09 13:03:16 -05:00
Lisa Cawley daffda7286
[DOCS] Adds licence expiry details (#54081) 2020-01-09 09:28:08 -08:00
Tim Sullivan c2362d4807
[Reporting] Update some runtime validations (#53975)
* [Reporting] Update some runtime validations

* fix unit test

* i18n

* make warning logging of encryptionKey possible

* update snapshot

* revert unrelated config change
2020-01-09 10:13:22 -07:00
Brandon Morelli 0e46b240bb
[docs][APM] Add runtime index config documentation (#53907) 2020-01-08 16:44:56 -08:00
gchaps 1ffd30eb85
[DOCS][Spaces] Adds example of of using default route setting (#54201)
* Added defaultRoute examples

Added `Examples: /app/monitoring, /app/ml, /app/kibana#/dashboards`

* [DOCS] Adds default route example to Spaces docs

Co-authored-by: ErnestoBezanilla <ErnestoBezanilla@users.noreply.github.com>
2020-01-08 08:08:51 -08:00
Court Ewing 16b217a11b
[DOCS] consolidate telemetry settings to core (#52634)
* docs: consolidate telemetry settings to core

Telemetry is no longer part of monitoring.

* docs: revise telemetry settings text

* docs: tweak telemetry setting text
2020-01-08 09:32:58 -05:00
Mikhail Shustov 56041f03ad
Don't expose Elasticsearch client as Observable (#53824)
* expose ES clients without observables

* expose observable-less api to plugins

* update core api and mocks

* update plugins

* NP SO & legacy use updated API

* update SO tests

* update TSDocs

* update types

* update docs

* document createCluster analog in np

* typo
2020-01-08 12:01:47 +03:00
Joe Reuter b7284ca627
fix ui exports doc (#54138) 2020-01-08 09:18:35 +01:00
Lisa Cawley ae1fac4fe5
[DOCS] Updates ML links (#53613) 2020-01-07 13:07:24 -08:00
gchaps 057632758b
[DOCS] Moves index pattern doc to Discover (#53347)
* [DOCS] Moves index pattern doc to Discover

* [DOCS] Improves intro to index patterns doc

* [DOCS] Edits index patterns doc

* [DOCS] Incorporates comments into index patterns doc

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 10:43:40 -08:00
gchaps 91173525c3
[DOCS][Reporting] Adds info about using a custom reporting index (#54052)
* [DOCS][Reporting] Adds info about using a custom reporting index

* [DOCS] Incorporates edits into reporting security doc
2020-01-07 08:37:58 -08:00
gchaps 8d37637c07
[DOCS][Reporting] Updates introduction and troubleshooting sections" (#54036)
* [Reporting/Docs] Various Documentation Additions

- Add ECONNREFUSED to troubleshooting page:
- System Requirements for Reporting
- Layout and Sizing

* [DOCS][Reporting] Updates index and troubleshooting pages

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
2020-01-06 12:44:42 -08:00
Mikhail Shustov 9843a5b64c
Set consistent EOL symbol in core API docs (#53815)
* update api-extractor, api-documenter versions

* set EOL: lf. sync with editorconfig

* regen docs

* generate docs with --docs

* rebuild kbn/pm to fix CI fauilure

Co-authored-by: Spencer <email@spalger.com>
2020-01-04 11:14:39 +03:00
Tim Schnell 71591632bd
[skip-ci] Expression Lifecycle Docs (#51494)
* adding context and arguments section

* Change Your Expression docs section for Canvas Expression docs

* typo or somethin

* Adding Expressions Only Fetch and Manipulate Data section

* Added argument sections of expression docs

* Add Composing Functions and Sub Expression docs

* adding shaun changes

* removing redundant lifecycle link

* PR edits

* fixing links

* more edits

* more edits from kaarina

* Update docs/canvas/canvas-expression-lifecycle.asciidoc

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

* Update docs/canvas/canvas-expression-lifecycle.asciidoc

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

* Update docs/canvas/canvas-expression-lifecycle.asciidoc

Co-Authored-By: Vadim Dalecky <streamich@users.noreply.github.com>

* more edits for images

* adding image showing no legend

* escaping underscore

* fixing underscore again

* fixing image name

* adjusting image height

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
Co-authored-by: Catherine Liu <catherineqliu@outlook.com>
Co-authored-by: Corey Robertson <crob611@gmail.com>
Co-authored-by: Vadim Dalecky <streamich@users.noreply.github.com>
2020-01-02 15:18:17 -06:00
Nathan Reese 47e5342c27
[Maps] get max_result_window and max_inner_result_window from index settings (#53500)
* [Maps] pull ES_SIZE_LIMIT and top hits limit from index settings

* get fetch working

* get min values from indicies response

* use indexSettings.maxResultWindow in documents request size

* use max_inner_result_window to define top hits max

* update jest test

* update docs

* more docs changes for top hits

* fix line spacing

* Update docs/maps/maps-aggregations.asciidoc

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

* Update docs/maps/vector-layer.asciidoc

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

* add api integration test for indexSettings route

* eslint fixes

* review feedback

* display toast on first index settings fetch failure

* clean up

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-02 12:25:28 -07:00
Eli Perelman fdd87e024f
Allow chromeless applications to render via non-/app routes (#51527)
* Allow chromeless applications to render via non-/app routes

* Address review nits

* Fix chrome:application integration tests

* Move extraneous application integration tests to unit tests
2019-12-29 15:10:14 -06:00
Eli Perelman 054ec7036d
Add server rendering service to enable standalone route rendering (#52161)
* Add server rendering service to enable standalone route rendering

* Update renovate config

* Move legacy rendering functionality to legacy service

* Use config for exposed variable in new platform

* Lint changes from rebase

* Rebase artifact

* Remove RenderingProvider, add tests for legacy vars implementation, review notes

* Add UI app functionality to legacy service

* Update rendering snapshots

* Update docs

* Fix up functional tests

* Clean up legacy types

* Revise types from reverting injected metadata changes

* Update translations and broken tests

* Mock legacy internals in legacy tests

* Add missing doc types

* Rename InternalRenderOptions to LegacyRenderOptions

* Remove extraneous legacy exports, review nits

* Functional tests fixes

* Rebase, attempt CI test fixes

* Only allow specified appIds in testbed rendering integration test

* Update snapshot names

* Review nits
2019-12-29 02:10:55 -06:00
Matthias Wilhelm b921987f1a
Remove SavedObjectRegistryProvider from codebase (#53455) 2019-12-21 10:38:03 +01:00
Lisa Cawley b8233ad4cf
[DOCS] Fixes ML links (#53713) 2019-12-20 11:02:58 -08:00
Joe Reuter 97ed566245
Migrate kql telemetry and scripts api (#52651) 2019-12-20 19:05:28 +01:00
Alejandro Fernández Haro 3bdbcd0d1a
[NP] Allow custom validations in HTTP Routes apart from @kbn/config-schema (#51919)
* [NP] Allow custom validations in HTTP Routes apart from @kbn/config-schema

* API docs

* Allow validate function in the route handler (run-code validation)

* Prefix RouteXXX + Params and Body Validation Aliases

* Fix test broken by lodash

* Update API docs

* Add default types for simpler manual declaration

* Add run-time validation of the RouteValidateSpec

* Expose RouteValidationError instead of SchemaTypeError

* RouteValidator as a class to match config-schema interface

* Test for not-inline handler (need to check IRouter for #47047)

* Add preValidation of the input for a safer custom validation

* Better types for RouteHandlers

* [NP] Move route validation to RouteValidator wrapper

* Use the class only internally but maintain the same API

* Fix types

* Ensure RouteValidator instance in KibanaRequest.from

* Fix validator.tests (Buffer.from instead of new Buffer)

* Default precheck should allow null values

* Also allow undefined in preChecks

* MR feedback fixes

* Provide RouteValidationResolver to the validation function

* Add functional tests

* Fix new functional tests

* Fix validator additional test

* Fix test with new resolver

* Remove unused import

* Rename ValidationResolver to ValidationResultFactory and change the interface to look more like the KibanaResponseFactory

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-12-20 17:53:08 +00:00
gchaps 23dfad304f
[DOCS] Adds note on date-math expressions in reporting (#53628) 2019-12-19 13:23:00 -08:00
Kaarina Tungseth 98ec7a3470
[DOCS] Canvas data sources (#53334)
* [DOCS] Canvas data sources

* Comments from Gail
2019-12-19 14:56:30 -06:00
Nathan Reese 8969cdc105
[Maps] Label style properties (#52957)
* text styling

* label style editor UI

* wire up styles to mb

* allow string values

* remove console.log

* default getFields to provide ordinal fields for vector source

* fix vector_style jest test

* add label styles to docs

* fix prettier errors

* use index-pattern field formatter to format label

* rename LABEL to LABEL_TEXT

* review feedback

* fix problem with icons not displaying with labels

* fix functional tests

* fix canno read name of null error

* update jest expect

* fix eslint errors

* do not display label text in legend

* always show all label styling properties in editor

* review feedback
2019-12-19 13:23:55 -07:00
Josh Dover 4980387c17
Refactor HttpService tests (#53033) 2019-12-19 11:38:14 -06:00
Marco Vettorello 5342dd19a4
docs: fix list and a wrong copy/paste (#51908) 2019-12-19 17:54:28 +01:00
Brandon Morelli 37de142437
[docs][APM] Clarify advanced queries (#53034) 2019-12-19 07:35:33 -08:00
Pierre Gayvallet 3430628e26
expose asScopedToClient in uiSettingsService start contract (#53290)
* expose asScopedToClient in uisettings start contract

* add uiService mock in server tests

* Add tests for start method

* Updates generated doc

* properly export UiSettingsServiceStart from server

* remove useless async

* nit: rename
2019-12-19 15:44:42 +01:00
Alexey Antonov 93b626073f
Cleanup - Typescript some of src/legacy/server/index_patterns (#53461)
Part of #44190.
2019-12-19 17:41:08 +03:00
Mikhail Shustov ecf8657d82
Document how to extend request handler context (#53271)
* mention uiSettingsClient in the context docs

* autogenerated docs for logger method

* describe what's available via request context handler. how to extend it

* make type optional
2019-12-19 10:12:45 +01:00
Tiago Costa fd97982b63
docs(NA): fix broken link for dockerfiles repo (#53448) 2019-12-18 04:00:11 +00:00
gchaps 099ec54c72
[DOCS] Updates Discover documentation (#51837)
* [DOCS] Updates View in Context doc in Discover

* [DOCS] Updates Discover docs on viewing document data

* [DOCS] Adds workflow to Discover docs

* [DOCS] Updates Discover docs intro page

* [DOCS] More updates to Discover docs

* [DOCS] More updates to Discover docs

* [DOCS] Incorporates review comments in Discover docs

* [DOCS] Edits to discover intro

* [DOCS] Edits to Discover docs

* [DOCS] Incorporates edits in Discover docs
2019-12-17 11:48:55 -08:00
Patrick Mueller 4f5db1498b
adds per-actionType enablement via config xpack.actions.enabledActionTypes (#52967)
* adds per-actionType enablement via config xpack.actions.enabledTypes

resolves: https://github.com/elastic/kibana/issues/52326
2019-12-17 09:13:44 -05:00
Pierre Gayvallet 2426811bca
Migrate instance uuid logic to new platform (#52060)
* move and migrate uuid code to new platform

* create and wire uuid service

* handle legacy compatibility

* update generated docs

* add `set` to LegacyConfig interface

* Fix types

* fix config access

* respect naming conventions for uuid

* remove hardcoded config paths

* rename manageInstanceUuid to resolveInstanceUuid

* moves legacy config uuid set from uuid to legacy service

* log specific message depending on how uuid was resolved

* resolve merge conflicts

* use fs.promises

* add forgotten @public in uuid contract

* add explicit errors and tests

* ensure uuid is valid in configuration

* fix read/write tests
2019-12-17 09:25:21 +01:00
Tiago Costa 30196ace92
Increases log rotation file size minimum limit (#53169)
* fix(NA): increase log rotation minimum log filesize to rotate limit

* chore(NA): correct interval

* docs(NA): add comments to explain everyBytes limits
2019-12-17 02:30:11 +00:00
Brandon Morelli 4a211a83f6
[docs][APM] Add APM settings page (#53172) 2019-12-16 13:50:55 -08:00
Patrick Mueller 3cc513e373
change kibana.yml xpack.actions.whitelistedHosts to default to ['*'] (#52827)
resolves https://github.com/elastic/kibana/issues/52597

The previous default was `[]`, which meant no hosts were whitelisted,
which would require a Kibana admin to set this value for any actions
that accessed 3rd party services (currently email and webhook, longer
term slack and pagerduty).
2019-12-16 14:59:30 -05:00
Kaarina Tungseth f6c30199d8
[DOCS] Compresses images to 1MB or less (#51496)
* [DOCS] Compresses images to 1MB or less

* Changed lens_data_info to png
2019-12-16 11:15:00 -06:00
Kaarina Tungseth 6cef462c8b
[DOCS] Updates for API usage (#51989)
* [DOCS] Updates for API usage

* Changes from Larry

* Update docs/api/using-api.asciidoc

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

* Comments from Larry

* Comment from Larry
2019-12-16 11:03:38 -06:00
Pierre Gayvallet 408139bf0b
Allow loggers to create child loggers via 'get' method (#52605)
* add 'Logger.get' method

* updates generated doc

* resolve merge conflicts
2019-12-16 10:41:14 +01:00
Eli Perelman 614bde927e
Move CSP options to new platform (#52698)
* Move CSP options to new platform

* Expose SharedGlobalConfig from root

* Derive CSP options from config

* Consolidate CSP configuration with HTTP config

* Fix outstanding config renames

* Remove legacy CSP configuration calls, migrate to platform properties

* Revise docs

* Fix test from type change

* Expose ICspConfig, consolidate and simplify CSP defaults access

* Rebase and update docs

* Remove legacy API from route definition params, review nits

* Clean up config path usages for consistency

* Regenerate docs
2019-12-13 15:57:17 -06:00
Josh Dover 0dac43516e
Update docs to not use AppMountContext (#52962) 2019-12-13 13:00:54 -06:00
Joe Portner 3e6270737a
Change session timeout values to use duration instead of number (#52520) 2019-12-13 13:58:40 -05:00
Josh Dover ec2134d221
Add lint rule to prevent server code being imported into client (#52447) 2019-12-13 12:26:04 -06:00
Pierre Gayvallet eb3d9b118a
Implements config deprecation in New Platform (#52251)
* implements 'rename' and 'unset' deprecations

* introduce usage of ConfigDeprecationProvider

* adapt RawConfigService to only returns unmodified raw config

* apply deprecations when accessing config

* register legacy plugin deprecation in new platform

* implements ConfigService#validate

* add exemple config deprecation usage in testbed

* documentation

* export public config deprecation types

* fix new test due to rebase

* name ConfigDeprecationFactory

* update generated doc

* add tests for unset and move it to src/core/utils

* add tests for renameFromRoot and unusedFromRoot

* cast paths as any as get expects a fixed-length string array

* use specific logger for deprecations

* add additional test on renameFromRoot

* update migration guide

* migrate core deprecations to NP

* add integration test

* use same log context as legacy

* remove old deprecation warnings integration tests, now covered in NP

* migrates csp deprecation to NP

* removes deprecationWarningMixin from legacy

* remove legacy core deprecations

* remove unused import

* rename setupConfigSchemas to setupCoreConfig

* update generated doc
2019-12-13 09:49:56 +01:00
Josh Dover 2d3698972b
Add getStartServices API (#50231) 2019-12-12 13:21:35 -06:00
gchaps db2d4bdf11
[DOCS] Adds example of assigning roles in Reporting (#52757)
* [DOCS] Adds example of assigning roles in Reporting

* [DOCS] Updates reporting security doc with review comments

* [DOCS] Incorporates review comments in reporting doc
2019-12-11 16:03:12 -08:00
Jonathan Budzenski 618764355e
[docs] max-old-space-size (#52310)
* [docs] max-old-space-size

* Update docs/setup/production.asciidoc

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

* Update docs/setup/production.asciidoc

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

* _max_

* Update docs/setup/production.asciidoc

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

* max example

* move comma

* Update production.asciidoc
2019-12-11 17:36:55 -06:00
Nathan Reese eb8c0e33dd
[Maps] clean up source settings (#52644)
* [Maps] clean up source settings

* update es_search_source editor

* geo grid source

* pew pew source

* fix i18n

* doc updates for changing UI

* docs re-wording

* use correct image name

* update snapshot

* review feedback
2019-12-11 13:53:58 -07:00
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