Commit graph

146 commits

Author SHA1 Message Date
gchaps 8a3c485358
[DOCS] Adds documentation on telemetry settings (#50739) (#50744)
* [DOCS] Adds documentation on telemetry settings

* [DOCS] Adds not that both settings can't be false at the same time
2019-11-14 16:18:21 -08:00
gchaps b0faa0a256
[DOCS] Adds note about backups to Upgrade doc (#50525) (#50722)
* [DOCS] Adds note about backups to Upgrade doc

* [DOCS] Incorporates review comments in upgrade doc

* [DOCS] Fixes typo
2019-11-14 12:53:54 -08:00
gchaps 6a7435b112
[DOCS] Adds link to content security policy doc (#50698) (#50706) 2019-11-14 11:49:28 -08:00
Tim Sullivan 53af425c62
[7.x] [Newsfeed] UI plugin for Kibana (#49579) (#50503)
* [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

* allow default export for ftr file

* [Newsfeed/Lint] fix chained fn lint
2019-11-13 14:36:23 -07:00
Court Ewing 1a09516209
Remove experimental code app (#49404) (#49488)
* 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 13:06:11 -04:00
Lisa Cawley 5d2732d46f
[DOCS] Updates links to Stack Overview (#48582) (#48587) 2019-10-17 15:19:14 -07:00
Kaarina Tungseth 82c3d6af15
[DOCS] Improvements to the upgrade docs (#48126) (#48151) 2019-10-14 14:42:29 -05:00
Rob Waight b3848262a8
[DOCS] Include server.cors configuration settings (#47995)
Include `server.cors` configuration settings -- back port to 7.x from https://github.com/elastic/kibana/pull/47701
2019-10-11 11:24:48 -05:00
Kaarina Tungseth 7230f24843
[DOCS] Specifies deprecated setting for 7.x (#46162) (#47349) 2019-10-04 12:01:42 -05:00
Larry Gregory 8fb34c0c40
[7.x] Support space-specific default routes (#44678) (#47134) 2019-10-02 13:13:21 -04:00
gchaps eb19c7a3c9
[DOCS] Adds note to troubleshooting migration topic (#46815) (#46827) 2019-09-27 10:57:48 -07:00
gchaps 927204cda9
[DOCS] Fixes to install and plugin docs (#45917) (#46037)
* [DOCS] Fixes to install and plugin docs

* [DOCS] Adds links to references in code
2019-09-18 09:26:21 -07:00
Kaarina Tungseth 8894251d24
[DOCS] Changed discover to home in configuring docs (#45827) (#45835) 2019-09-17 10:28:28 -05:00
Josh Dover 1331456fd8
Replace CSP 'nonce-<base64>' directive with 'self' directive (#43553) 2019-08-21 16:13:26 -05:00
Aleh Zasypkin d106a4b3a9
[7.x] Add TLS client authentication support. (#43317) 2019-08-15 08:48:04 +02:00
Tim Roes 0af7e33df9
Restore vega.enableExternalUrls documentation (#42820) (#43003)
vega.enableExternalUrls setting missing but it still supported, so needed to be added
2019-08-09 10:06:18 +02:00
Jonathan Budzenski 04e057c3fe
configurable global socket timeouts (#31603)
* configurable global socket timeouts

* update snapshots

* update tests

* add test

* add test

* add test

* happy path

* test happy path

* docs

* stop server after
2019-07-03 12:23:20 -05:00
Jonathan Budzenski 4fb77b6722
[docs/production] multiple es nodes (#30276)
* [docs/production] multiple es nodes

* note console limitation

* mention related configuration
2019-06-24 13:06:19 -05:00
Joe Reuter 536b4e1ceb
Add configs for terminate_after (#37643) (#39512) 2019-06-24 17:46:37 +02:00
Kaarina Tungseth f5339712b7
[DOCS] Brew install docs for 7.x (#39356)
* [DOCS] Add brew install instructions. Closes #38220

* Link fix

* Removed inline notes from index

* Fixed table format

* Updated with tap changes

* Comments from Deb
2019-06-20 11:10:15 -05:00
chongzhe 2c1dc3b675
[Code] initial commit for Code doc (#38521) (#38625) 2019-06-10 16:22:51 -07:00
Ahmad Bamieh bd9eed51ab
[7.x] [Docs] i18n docs add japanese (#37233) (#37327) 2019-05-29 17:31:00 +03:00
Nathan Reese d8296b3248
[Maps] update docs for proxyElasticMapsServiceInMaps configuration (#36914) (#37027)
* [Maps] update docs for proxyElasticMapsServiceInMaps configuration

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

* Update docs/setup/settings.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-05-23 16:33:54 -06:00
Brandon Kobel 11df74e1dd
[DOCS][skip ci] Adjusting production setup instructions as a result of Spaces/RBAC (#36890) (#36891)
* Adjusting production setup instructions as a result of Spaces/RBAC

* Update docs/setup/production.asciidoc

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>
2019-05-22 10:45:37 -04:00
Sarah Hersh 1dcdb7370d fix link for 18n settings (#35413) 2019-04-22 14:14:52 -04:00
Sarah Hersh bda5da67e1 add logging.json setting (#34581) 2019-04-18 09:35:29 -04:00
Brandon Morelli ff99582ba3 remove rogue or (#34830) 2019-04-12 08:44:46 -07:00
lcawl 197703c5f8 [DOCS] Temporarily omit broken link in upgrade known issues 2019-04-09 10:42:02 -07:00
Sarah Hersh e0e2e286a5 add beats issue (#34800) 2019-04-09 12:26:02 -04:00
Sarah Hersh e97b329082 resolve merge conflict between master and 6.7 (#34570)
[DOCS] Adds i18n docs to master
2019-04-04 14:17:59 -04:00
Sarah Hersh ae2c72bbcc [DOCS] Updates 7.0 upgrade guide (#34121) 2019-04-01 17:03:42 -04:00
Peter Pisljar cc171423ec
adding yml switch for using interpreter in expressions (#33832) (#34265) 2019-04-01 18:04:23 +02:00
CJ Cenizal a10821001b
Fix docs typo sniffOnConectionFault -> sniffOnConnectionFault. (#34189) (#34196) 2019-03-29 14:28:19 -07:00
Lisa Cawley 1043144e6c [DOCS] Remove out-dated link (#33980) 2019-03-27 10:38:05 -07:00
Sarah Hersh c01c26b9dd resolve conflict 2019-03-19 13:13:29 -04:00
Sarah Hersh ed6f2999ae [DOCS]Adds info on index naming conventions (#33321) 2019-03-18 09:40:40 -04:00
Tiago Costa a9cc755dd5
Add a docker run example to Kibana Install doc2 (#32702) (#32923)
* Add a docker run example to Kibana Install doc2 

See PR #29911

* Update docs/setup/docker.asciidoc

Co-Authored-By: pgoldtho <peter@goldthorp.com>
2019-03-11 21:18:04 +00:00
Lisa Cawley a0879fc97a
[DOCS] Sorts the list of Kibana settings (#30689) 2019-02-11 10:17:10 -08:00
Lisa Cawley 8bd46e6f5b
[DOCS] Removes X-Pack settings section (#30554) (#30662) 2019-02-11 09:50:20 -08:00
CJ Cenizal 970ebdfec9
Update settings docs with new xpack.rollup and xpack.license_management settings. (#30259) (#30315) 2019-02-06 12:49:48 -08:00
Court Ewing 7094548bca
Warn legacy browsers that do not support Content Security Policy (#29957)
* csp: warn legacy browsers that do not support CSP

The new csp.warnLegacyBrowsers configuration is enabled by default, and
it shows a warning message to any legacy browser when they access Kibana
to indicate that they are not enforcing the basic security protections
of the current install.

The protections check is the same as csp.strict, so this feature is
designed to be used as an alternative to aid in BWC. When csp.strict is
enabled, warnLegacyBrowsers is effectively ignored.

* fix ChromeService tests

* more test fixes

* csp injectvars in legacy test bundle

* update warning text and make it translatable

* no need to warn in legacy browser unit tests

* tests for chrome legacy browser warning

* document legacy browser warning breaking change

* update csp warning toast message

* add period, remove dev code
2019-02-05 12:27:56 -05:00
Court Ewing 475dd5651b
Content security policy strict mode (#29856)
A content security policy is a great addition to the protections built
into Kibana, but it's not effective in older browsers (like IE11) that
do not enforce the policy.

When CSP strict mode is enabled, right before the Kibana app is
bootstrapped, a basic safety check is performed to see if "naked" inline
scripts are rejected. If inline scripting is allowed by the browser,
then an error message is presented to the user and Kibana never attempts
to bootstrap.
2019-02-04 09:09:40 -05:00
Court Ewing 7a87f03ec7
Introduce content security policy (CSP) (#29545)
* csp: nonce and unsafe-eval for scripts

To kick things off, a rudimentary CSP implementation only allows
dynamically loading new JavaScript if it includes an associated nonce
that is generated on every load of the app.

A more sophisticated content security policy is necessary, particularly
one that bans eval for scripts, but one step at a time.

* img-src is not necessary if the goal is not to restrict

* configurable CSP owned by security team

* smoke test

* remove x-content-security-policy

* document csp.rules

* fix tsconfig for test

* switch integration test back to regular js

* stop looking for tsconfig in test

* grrr, linting errors not caught by precommit

* docs: people -> you for consistency sake

Co-Authored-By: epixa <court@epixa.com>
2019-02-01 17:11:38 -05:00
Bill McConaghy b5bb7c7a31
[DOC] Settings to disable the Rollup and License Management UI (#29278)
Add the settings to disable the Rollup and License Management UI in the Dcoumentation
2019-01-24 13:37:54 -05:00
Lisa Cawley 61fcf98b6e
[DOCS] Updates X-Pack terminology (#28208) 2019-01-08 08:48:36 -08:00
Brandon Kobel a3793ecac5
Disabling TLSv1 from being enabled by default (#26415)
* Disabling TLSv1 from being enabled by default

* Adding breaking change docs

* Update docs/migration/migrate_7_0.asciidoc

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

* Using the schema defaults

* Fixing type definitions

* Adjusting logic for no supported protocols

* Adding minSize: 1 to the supported protocols
2018-12-18 12:38:26 -08:00
Jonathan Budzenski b5b64f4706
Support for multiple Elasticsearch nodes and sniffing (#21928)
* Node sniffing

* update monitoring

* cleaning

* remove tests

* rewrite tests using the proxy

* fix monitoring mocha tests

* fix payload

* return full error

* default interval false

* add sniff settings to monitoring

* add docs for sniff settings

* re-add index search integration test

* catch parse error

* capital

* fix merge

* hapi upgrade

* return

* pass by prefix

* rm empty test fille

* split error handling

* fix merge

* update recent elasticsearch.url references

* prettier vs eslint

* transport.request, include query params

* mega comment

* revert elasticsearchUrl

* safe hosts

* more docs es.url references

* remove unused ml/esServerUrl

* log if both set
2018-12-18 13:22:43 -06:00
Chris Koehnke da34c80d75
Docs: Add note about oss repositories for deb/rpm (#26475)
* Docs: Add note about oss repositories for deb/rpm

Add documentation on the `oss-*` yum and apt repositories.

* Specify kibana-oss package name
2018-12-05 10:03:54 -05:00
Court Ewing c48cea9265
[DOCS] Saved object migrations (#25558)
* Add a note about index migrations to the kibana setup docs

* Tewak the migrations asciidocs for clarity

* docs: refine saved object migration details

Breaking down the migration process into sections helps people find
and link to relevant information more easily.

The focus is on ongoing maintenance of Kibana, whereas the initial new
experience in 6.5.0 is treated as a note of clarification.

Error handling should be expanded in the future to include details about
specific known error cases.
2018-11-13 18:38:10 -05:00
Brandon Kobel 9e86a04f21
Adding option to always present the certificate when connecting to ES (#24304)
* Adding option to always present the certificate when connecting to ES

* Updating docs

* Adding some more tests

* Adding alwaysPresentCertificate option to monitoring
2018-10-23 07:12:27 -07:00