Commit graph

1352 commits

Author SHA1 Message Date
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