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

Swagger Parser doesn't have SafeURLResolve option for OAS 3.0 and OAS 2.0. #2030

Closed
MiloszTarka opened this issue Jan 4, 2024 · 2 comments
Closed

Comments

@MiloszTarka
Copy link
Member

The following PRs:

  1. Initial commit of safe url resolver #1910
  2. SWG-7516 utilizing safeURLResolver in swagger-parser-v3 #1911

Added a possibility for swagger-parser to provide a Allow & Block list when resolving external refs. Thanks to that, it is possible provide additional security layer when using this tool inside services. This functionality is still missing when resolving 3.0 and 2.0 versions of OAS.

I've the proposal of the code prepared, so I'll put it on the PR when done.

@MiloszTarka
Copy link
Member Author

Addressed in:
#2032
#2031

@frantuma
Copy link
Member

implemented in #2031 and #2032

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

No branches or pull requests

2 participants