[ 
https://issues.apache.org/jira/browse/KNOX-3545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145683#comment-18145683
 ] 

ASF subversion and git services commented on KNOX-3545:
-------------------------------------------------------

Commit 8240cfba97b878515e5cbd33fae040561ad92fe9 in knox's branch 
refs/heads/master from Diya Maria Abraham
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=8240cfba9 ]

KNOX-3545: Integrate Opensearch Dashboards with Knox SSO (#1509)

* KNOX-3545: Add OpenSearch Dashboards UI service support

Add a Knox service definition and CM service discovery for the
OpenSearch Dashboards web UI so it can be proxied through the gateway
with KnoxSSO proxy-header authentication.

- opensearch-dashboards/3.6.0 service.xml / rewrite.xml: UI service on
  the /opensearch-dashboards context, ConfigurableDispatch injecting the
  SSO end-user as x-proxy-user over two-way SSL, and rewrite rules that
  strip the gateway prefix inbound and rewrite the backend base path
  (server.basePath=/opensearch-dashboards-ui, rewriteBasePath=false) back
  to the gateway context in response bodies and Location headers.
- OpenSearchDashboardsServiceModelGenerator: maps the CM OPENSEARCH /
  OPENSEARCH_DASHBOARD role to the OPENSEARCH-DASHBOARDS topology service,
  building the backend URL from dashboards_server_port.
- Register the generator and add the homepage service logo.

Co-authored-by: Cursor <[email protected]>

* KNOX-3545: Add ssl_enabled check

* KNOX-3545: Anchor OpenSearch Dashboards body rewrite regex with lookbehind

* KNOX-3545: Add rewrite test for OpenSearch Dashboards service definition

* KNOX-3545: Assert full service URL in OpenSearch Dashboards SSL test

* KNOX-3545: Test OpenSearch Dashboards inbound rules

Cover the inbound rules through UrlRewriteRequest: root, trailing slash, paths 
with and without a query string, and OSD API paths that repeat the service 
context (/api/opensearch-dashboards/...).
These need the /*/*/ prefix; a /**/ prefix binds to the last occurrence and 
strips too much.

* KNOX-3545: Explain Accept-Encoding override in OpenSearch Dashboards dispatch

* KNOX-3545: Change javadoc of OpenSearchDashboardsServiceDefinitionTest

---------

Co-authored-by: Cursor <[email protected]>
Co-authored-by: bonampak <[email protected]>

> Integrate Opensearch Dashboards with Knox SSO
> ---------------------------------------------
>
>                 Key: KNOX-3545
>                 URL: https://issues.apache.org/jira/browse/KNOX-3545
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: KnoxSSO
>    Affects Versions: 3.1.0
>            Reporter: Diya Maria Abraham
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> OpenSearch is a popular community-driven, Apache 2.0-licensed open source, 
> enterprise-grade  search, analytics and  observability suite. This ticket 
> covers the effort to integrate opensearch dashboards with knox to provide 
> proxy support for the UI.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to