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

distinguish metrics between legit and bot endpoint #78

Open
kcajmagic opened this issue Jul 25, 2019 · 1 comment
Open

distinguish metrics between legit and bot endpoint #78

kcajmagic opened this issue Jul 25, 2019 · 1 comment

Comments

@kcajmagic
Copy link
Member

currently metrics return 301, and 404 for all request to the primary port. It would be nice to have a way to distinguish which route is being used or only record metrics for routes that are used.

@JC000
Copy link

JC000 commented Jul 25, 2019

More importantly, we should distinguish unauthorized bot access by return a 403 for these requests regardless of the path of the request. This is also a good security practice to prevent data leaks. An attacker would be able to tell the difference between a "good" versus a "bad" URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants