Commit graph

737 commits

Author SHA1 Message Date
Court Ewing 146518cab7 Update paths to ui, server, deprecation, plugin_discovery in src/legacy
This commit accompanies the four that precede it. Rather than squash
them altogether, the four previous commits all do nothing except move
files to help avoid conflicts.
2019-02-11 11:06:26 -05:00
Mike Côté 86d723546d
Add breaking changes documentation for references PR (#29963) (#30257)
* Initial draft of breaking changes

* Add object structure change

* Make id attribute match

* Fix attribute name

* Remove relationships API notes
2019-02-09 20:12:18 -05:00
CJ Cenizal 8c6190be4e
Document breaking changes to index_management, license_management, rollup, and upgrade_assistant settings in kibana.yml. (#30569) 2019-02-08 13:31:55 -08:00
Shaunak Kashyap f5e23f11f2 Adding breaking changes docs for removed setting (#30505) 2019-02-08 11:43:20 -08:00
Lisa Cawley 9506409501
[DOCS] Adds link to 7.0 breaking changes (#30450) 2019-02-07 15:59:43 -08:00
Matt Bargar 1d25e6d052
Makes KQL the default query language for new searches (#27092) (#30328)
Changes the default query language to KQL in all apps that respect the `search:queryLanguage` advanced setting.
2019-02-07 13:38:12 -05: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
gchaps 890b2c00ec
[DOCS] Adds descriptions and examples to spaces security doc (#30113) 2019-02-05 15:59:37 -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
Nathan Reese 52e12c7cda
add removal of deprecated tilemap and regionmap kibana.yml settings to breaking changes log (#30083) 2019-02-05 09:48:34 -07:00
Shaunak Kashyap 7b68b89ef1
Removing deprecated xpack.monitoring.report_stats setting (#30017)
* Removing deprecated xpack.monitoring.report_stats setting

* Remove from docs

* Update check in xpack_main plugin to not look at monitoring settings any more
2019-02-04 19:37:32 -08:00
Sarah Hersh bf866030c7
fix broken image link of time filter page (#29961) 2019-02-04 11:14:40 -05:00
Sarah Hersh 3cd087663b
[Docs]Updates to Discover docs (#29868) 2019-02-04 10:20:24 -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
Lisa Cawley b71b815658
[DOCS] Removes problematic float (#29875) 2019-02-01 15:27:09 -08: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
DeDe Morton f7de675be2
[Docs] Add list of supported config blocks for central management (#27275)
* [Docs] Add list of supported config blocks for central management

* Add Redis to list of supported outputs
2019-01-31 20:03:09 -05:00
Mike Côté 1b0f595f01
Add new "references" attribute to saved objects for relationships (#28199)
* Add new references attribute to saved objects

* Add dual support for dashboard export API

* Use new relationships API supporting legacy relationships extraction

* Code cleanup

* Fix style and CI error

* Add missing spaces test for findRelationships

* Convert collect_references_deep to typescript

* Add missing trailing commas

* Fix broken test by making saved object API consistently return references

* Fix broken api integration tests

* Add comment about the two TS types for saved object

* Only return title from the attributes returned in findRelationships

* Fix broken test

* Add missing security tests

* Drop filterTypes support

* Implement references to search, dashboard, visualization, graph

* Add index pattern migration to dashboards

* Add references mapping to dashboard mppings.json

* Remove findRelationships from repository and into it's own function / file

* Apply PR feedback pt1

* Fix some failing tests

* Remove error throwing in migrations

* Add references to edit saved object screen

* Pass types to findRelationships

* [ftr] restore snapshots from master, rely on migrations to add references

* [security] remove `find_relationships` action

* remove data set modifications

* [security/savedObjectsClient] remove _getAuthorizedTypes method

* fix security & spaces tests to consider references and migrationVersion

* Add space id prefixes to es_archiver/saved_objects/spaces/data.json

* Rename referenced attributes to have a suffix of RefName

* Fix length check in scenario references doesn't exist

* Add test for inject references to not be called when references array is empty or missing

* some code cleanup

* Make migrations run on machine learning data files, fix rollup filterPath for savedSearchRefName

* fix broken test

* Fix collector.js to include references in elasticsearch response

* code cleanup pt2

* add some more tests

* fix broken tests

* updated documentation on referencedBy option for saved object client find function

* Move visualization migrations into kibana plugin

* Update docs with better description on references

* Apply PR feedback

* Fix merge

* fix tests I broke adressing PR feedback

* PR feedback pt2
2019-01-30 15:53:03 -05:00
Brandon Morelli 93faa5fbc3
[APM][docs][WIP] Update APM UI documentation (#28621)
* docs: initial APM UI updates

* docs: using-the-apm-ui updates

* more docs updates

* quick edits

* docs: apply feedback and fix screenshots

* docs: incorporate feedback, bold page names

* finishing touches and clean up

* docs: incorporate feedback from sarah

* docs: add feedback

* docs: incorporate feedback from gchaps
2019-01-30 09:08:11 -08:00
Mike Côté 9eef63f783
Allow passing a default operator to use on saved object client find operations (#29339)
* Allow passing a default operator to use on find operations

* Default operator to OR like elasticsearch to avoid passing null

* Add dashboard search tests

* Make search_operator optional

* Fix query_params.test.js

* Include searchOperator in saved_object_finder

* Apply PR feedback

* Rename searchOperator to defaultSearchOperator
2019-01-30 11:33:44 -05:00
Aleh Zasypkin 86a17bfeea
Remove previously deprecated elasticsearch.* and xpack.monitoring.elasticsearch.* settings. (#29496) 2019-01-30 16:21:06 +01:00
Jonathan Budzenski 166c192c7f
[plugin cli] defer optimization (#26983)
* [plugin cli] defer optimization

* include pr in docs

* update migration docs

* fix merge
2019-01-29 10:35:55 -06:00
Aleh Zasypkin a8e4be0c3b
Removing deprecated i18n.defaultLocale setting. (#29325) 2019-01-29 10:41:08 +01:00
Lisa Cawley 55ad328c93
[DOCS] Overview of automated annotations (#29456) 2019-01-28 13:18:22 -08: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 09f275c761
[DOCS] Remove beta tag from metricbeat monitoring (#29231) 2019-01-24 09:22:55 -08:00
Spencer c052613962
[dashboard+gis] remove dark mode options (#29017)
* [dashboard+gis] remove dark mode options

* [reporting/extract] restore fixtures

* remove mentions of old `.theme-dark` class

* import panel styles from panel/_index.scss
2019-01-23 14:29:35 -08:00
Brandon Kobel 0e00c3ffef
Remove legacy fallback (#29107)
* Remove mode.initialize and change useRbacForRequest to useRbac

* Updating saved object api tests

* Fixing spaces api integration tests

* Removing unused "expect legacy forbidden" declarations and imports

* Updating docs

* Update docs/migration/migrate_7_0.asciidoc

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

* Update docs/migration/migrate_7_0.asciidoc

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

* Updating comment that mentions the scenario when we aren't using RBAC

* Adding back the authorization section of the config

When a config setting is marked as unused using the deprecations, it's
still required to show up in the config declarations so an error isn't
thrown on startup.

* Adding note about watcher jobs

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>
2019-01-22 12:08:45 -08:00
Lisa Cawley 395560a2dc
[DOCS] Adds info for ML auditbeat module (#28969) 2019-01-21 08:42:30 -08:00
Tim Roes 6c47f10a3c
Remove legacyIcon from visualizations (#28981) 2019-01-21 09:07:17 +01:00
Sarah Hersh e2ab1b0f78
[DOCS] Adds documentation for remote cluster and CCR UIs (#28944)
* [DOCS]Adds docs for new remote cluster UIs
2019-01-18 09:32:24 -05:00
gchaps 996f433467
[DOCS] Removes experimental tag (#28780) 2019-01-16 10:48:06 -08:00
Lisa Cawley 31cd2bc370
[DOCS] User annotations (#28711) 2019-01-16 08:36:54 -08:00
gchaps 9162855775
[DOCS] Adds documentation for index lifecycle policies (#28705)
* [DOCS] Adds documentation for index lifecycle policies

* [DOCS] Updated image for policy options to show all menu items

* Update create-policy.asciidoc

* [DOCS] Incorporated review comments on hot and warm phase

* [DOCS] Additional changes to warm phase

* [DOCS] Removed the word open in the warm phase
2019-01-15 14:11:19 -08:00
Brandon Kobel fe5a083509
Removing deprecated SSL settings (#28622)
* Removing deprecated SSL settings

* Updating breaking changes doc

* Fixing documentation typo

* Fixing LegacyObjectToConfigAdapter tests

* Fixing transformDeprecations tests

* Updating docs

Co-Authored-By: kobelb <brandon.kobel@gmail.com>
2019-01-14 12:37:58 -08:00
Fabien Baligand 9254c829fb Add setting to hide the 'Time' column in discover and saved searches. 2019-01-09 16:23:21 -07:00
Sarah Hersh 76f3816dd1
DOCS/update to reflect new UI text (#28088) 2019-01-09 15:18:53 -05:00
Chris Cowan 4c36db8c2c
[InfraOps] Update docs with data source configuration (#26579)
* Updating docs

- Configure data sources via config/kibana.yml
- Fix typo

* Adding timestamp override

* Documenting all settings

* Removing changes from a different PR

* Add settings docs

* Adding all the settings

* Updating docs based on feed back from PR

* Adding periods to lines; changing disabled to present tense

* Updates to docs per PR

* Updates per PR

* Fixes per PR
2019-01-09 10:50:35 -07:00
Lisa Cawley 6ac4dcbe0b
[DOCS] Use search profiler attribute (#28209) 2019-01-08 10:28:02 -08:00
Lisa Cawley 61fcf98b6e
[DOCS] Updates X-Pack terminology (#28208) 2019-01-08 08:48:36 -08:00
gchaps 61eed842e5
[DOCS] Add docs for 8.0 Upgrade Assistant (#28138) 2019-01-07 08:06:00 -08:00
Sarah Hersh 5654f608eb
DOCS/add detail to managing rollup jobs (#28000) 2019-01-04 10:42:35 -05:00
Nathan Reese faa5bd7288
update docs for reporting move to share menu (#27683) 2019-01-03 15:06:12 -07:00
Tim Sullivan 237e446ba3
[Reporting] Remove Phantom (#27142)
* remove some phantom stuff and tests

* remove phantom

* remove phantom

* remove phantom

* todo comments

* remove from yarn.lock

* edit fix

* use constant in init

* readme edit

* update migration guide

* remove refs to non-existing docs
2019-01-03 14:35:15 -07:00
Nathan Reese fd8c36e372
fix console documenation (#27862) 2018-12-31 11:29:42 -07:00
Sarah Hersh c048fa74ab
remove 7.0alpha2 coming tag (#27634) 2018-12-20 17:26:39 -05:00
Sarah Hersh c8247dcdb0
[DOCS]Fixes broken link in release highlights (#27533)
* fixes broken link in release highlights
2018-12-19 14:51:04 -05:00
Sarah Hersh aad71f026b
Adds release notes for 7.0.0-alpha2 (#27237)
* adding release notes for 7.0.0alpha2

* adding PRs through 12/15 BC
2018-12-19 12:10:23 -05:00
Lisa Cawley e65ad31de7
[DOCS] Fix links to search profiling (#27501) 2018-12-19 07:56:13 -08:00
Brandon Morelli fcb0a6d1ab
docs: add sentence on where to change apm settings (#27069) 2018-12-18 15:05:29 -08:00