A simple proxy module to ensure your Elastic API keys aren't leaked.
A search proxy system that proxies all search queries through a SilverStripe-hosted endpoint so that your API keys, endpoint URLs etc. aren't exposed to the public.
This is designed to be used alongside the elastic/search-ui React library. It lets you use all the power and flexibility of the React-powered frontend, while ensuring your API credentials and endpoint remain hidden.
The concept behind this is simple enough that should be straightforward to port to other frameworks if desired.
^4
See License
composer require madmatt/silverstripe-elastic-proxy
This module does nothing until it's configured. See docs/configuration.md.
When new versions of the module are released, you will need to manually re-run through the configuration steps again - nothing will automatically update for you.
If you are having issues with the module, first try reverting the JS changes made in the configuration docs, to ensure what you are doing works fine when connecting directly to Elastic. If it does, but it doesn't work when using the endpointBase
of /_search
, there may be a bug with the module - please create a GitHub issue with as much detail as you can.
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over
existing issues to ensure yours is unique.
If the issue does look like a new bug:
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers. See the Contributing documentation for more details.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem