Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Introduce new config for allowlisting datasources URI. #1710

Closed
vmmusings opened this issue Jun 6, 2023 · 0 comments · Fixed by #1703
Closed

[Enhancement] Introduce new config for allowlisting datasources URI. #1710

vmmusings opened this issue Jun 6, 2023 · 0 comments · Fixed by #1703
Assignees
Labels
enhancement New feature or request

Comments

@vmmusings
Copy link
Member

Is your feature request related to a problem?
In order to restrict datasource URIs and prevent any kind of ssrf attacks, a new config for allowlisting datasources URI should be introducted.

What solution would you like?
plugins.query.datasources.uri.allowhosts can be the new opensearch.yml config to restrict only domains which follow the provided regex pattern.

@vmmusings vmmusings added the enhancement New feature or request label Jun 6, 2023
@vmmusings vmmusings self-assigned this Jun 6, 2023
@vmmusings vmmusings linked a pull request Jun 6, 2023 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants