kibana/docs
Mikhail Shustov 5c436534d6
Add an optional authentication mode for HTTP resources (#58589)
* add authRequred: 'optional'

* expose auth status via request context

* update security plugin to use notHandled auth outcome

* capabilities service uses optional auth

* update tests

* attach security headers only to unauthorised response

* add isAuthenticated tests for 'optional' auth mode

* security plugin relies on http.auth.isAuthenticated to calc capabilities

* generate docs

* reword test suit names

* update tests

* update test checking isAuth on optional auth path

* address Oleg comments

* add test for auth: try

* fix

* pass isAuthenticted as boolean via context

* remove response header from notHandled

* update docs

* add redirected for auth interceptor

* security plugin uses t.redirected to be compat with auth: optional

* update docs

* require location header in the interface

* address comments #1

* declare isAuthenticated on KibanaRequest

* remove auth.isAuthenticated from scope

* update docs

* remove unnecessary comment

* do not fail on FakrRequest

* small improvements
2020-03-07 11:55:20 +01:00
..
api [DOCS] Fixed typo in dashboard import API (#57862) 2020-02-18 10:31:51 -06:00
apm [APM] Stabilize agent configuration API (#57767) 2020-02-24 23:43:40 +01:00
canvas Documentation for numeral pattern formatting (#57616) 2020-02-26 14:17:59 -05:00
dev-tools [DOCS] API intro (#47164) 2019-10-16 15:10:40 -05:00
developer [DOCS] Adds link to migration guide (#57702) 2020-02-14 11:33:25 -08:00
development/core Add an optional authentication mode for HTTP resources (#58589) 2020-03-07 11:55:20 +01:00
discover [DOCS] Added to Add a field column definition (#55116) 2020-01-17 15:13:22 -06:00
getting-started [DOCS] Fixes broken links (#51634) 2019-11-26 12:36:35 -08:00
images [DOCS] Updates intro doc (#58161) 2020-03-05 08:55:54 -08:00
infrastructure [logs][metrics][docs] Update screenshots for 7.6 (#57254) 2020-02-13 09:26:37 -08:00
logs [logs][metrics][docs] Update screenshots for 7.6 (#57254) 2020-02-13 09:26:37 -08:00
management [DOCS] Updates Snapshot and Restore doc (#59451) 2020-03-05 11:32:32 -08:00
maps [Maps] Remove EMS catalogue url from docs (#57020) 2020-02-06 17:20:36 -05:00
migration Mention changed SAML ACS endpoint URL in breaking changes doc. (#56613) 2020-02-04 09:18:52 +01:00
plugins Adds Query.AI to known-plugins.asciidoc (#50516) 2020-01-31 11:45:37 -05:00
release-notes [DOCS] Removes abbrevtitles from parts (#34002) 2019-03-27 13:23:32 -07:00
settings [Reporting/Screenshots] Handle page setup errors and capture the page, don't fail the job (#58683) 2020-03-05 22:26:36 -07:00
setup Remove documentation for server.cors settings (#59096) 2020-03-04 14:35:54 -07:00
siem Switch to standard ESS trial attribute (#58309) 2020-02-26 11:45:22 -08:00
spaces [DOCS][Spaces] Adds example of of using default route setting (#54201) 2020-01-08 08:08:51 -08:00
uptime [DOCs] Rename some instances of Infrastructure to Metrics (#49195) 2019-10-29 11:29:21 +00:00
uptime-guide Switch to standard ESS trial attribute (#58309) 2020-02-26 11:45:22 -08:00
user [DOCS] Updates intro doc (#58161) 2020-03-05 08:55:54 -08:00
visualize [DOCS] Consolidates map content (#57736) 2020-02-27 10:40:07 -06:00
accessibility.asciidoc Adding the Accessibility Statement to docs (#57153) 2020-02-11 17:31:43 -05:00
CHANGELOG.asciidoc [DOCS] Removes abbrevtitles from parts (#34002) 2019-03-27 13:23:32 -07:00
gs-index.asciidoc [DOCS] Change title of Kibana book (#44957) 2019-09-06 09:03:42 -07:00
index.asciidoc Adding the Accessibility Statement to docs (#57153) 2020-02-11 17:31:43 -05:00
index.x.asciidoc
limitations.asciidoc [DOCS] Condenses limitations docs (#57393) 2020-02-12 08:18:58 -08:00
migration.asciidoc [DOCS] Adds placeholders for release notes, breaking changes, highlights (#30545) 2019-02-08 12:56:52 -08:00
redirects.asciidoc [DOCS] Rework of main get started page (#58260) 2020-03-02 09:59:29 -06:00
template.asciidoc [DOCS] Kibana docs template (#44695) 2019-09-16 11:19:01 -05:00