-
Notifications
You must be signed in to change notification settings - Fork 328
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
Validate frontend prefixes #239
Comments
Good points. Semi-related to the prefix collision issue is: 18F/api.data.gov#186 Regarding restricted prefixes, in our environment, we've sort of solved that in the reverse fashion by only white-listing where admins can operate with the Admin Scopes & Admin Groups permissions. So, for example, we limit teams so they can only operate under Although, I believe Thanks for reporting this! |
+1 for the 'preventing restricted paths`. A For example, the rejection regExs run before the white-listings of Admin-scopes and system could ship with couple of in-built regExs, such as:
This way, it protects the in-built paths required by the system, as well as providing the Admins more control over the route specifications. |
API Umbrella does not seem to validate frontend prefixes. This has been observed in two ways:
It may also be possible to override internal routes, such as
/admin
.Feature request
Add validation to frontend prefixes, such as:
The text was updated successfully, but these errors were encountered: