Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Allow Locking of Requests to Specific Hostnames #10

Open
arranf opened this issue Apr 3, 2019 · 0 comments
Open

Allow Locking of Requests to Specific Hostnames #10

arranf opened this issue Apr 3, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@arranf
Copy link
Contributor

arranf commented Apr 3, 2019

This is useful if you want to prevent malicious logs being sent from hostnames other than the ones you control.

Hostnames should be specified as a comma separated list via an environment variables.
WHITELISTED_HOSTNAMES=limejump.com,limejump.io

Requests should then be checked to ensure their hostname exactly matches one of the whitelisted hostnames.

@arranf arranf added enhancement New feature or request good first issue Good for newcomers labels Apr 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant