-
Notifications
You must be signed in to change notification settings - Fork 147
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
BED-5301/5298: PenTest Result: Internal IP Address Disclosure AND Rate limit Bypass #1163
base: main
Are you sure you want to change the base?
Conversation
…ementing our current rate limiting middleware logic
… I need to fix (maybe even add)
…orrected some logic
…pper function for better understanding and readability
@@ -166,6 +166,7 @@ type Configuration struct { | |||
FedRAMPEULAText string `json:"fedramp_eula_text"` // Enterprise only | |||
EnableTextLogger bool `json:"enable_text_logger"` | |||
RecreateDefaultAdmin bool `json:"recreate_default_admin"` | |||
TrustedProxies int `json:"trusted_proxies"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this configuration value and can assume only 1 reverse proxy for the majority of cases. Otherwise, we might consider defaulting to 1 instead because coordinating configuration changes for production deployments is painful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good but we need to revise IP selection a bit.
Description
/api/v2/login
endpoint in order to address part of the requirements for BED-5300Motivation and Context
This PR addresses:
Why is this change required? What problem does it solve?
How Has This Been Tested?
Screenshots (optional):
UI

Terminal

Types of changes
Checklist: