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

// UseSwaggerUI Protected by if (env.IsDevelopment()) #6822

Closed
Rick-Anderson opened this issue Apr 28, 2024 · 0 comments · Fixed by #6823
Closed

// UseSwaggerUI Protected by if (env.IsDevelopment()) #6822

Rick-Anderson opened this issue Apr 28, 2024 · 0 comments · Fixed by #6823
Assignees
Labels
enhancement New feature or request P0 Indicates PRs that are critical priority security Pull requests that address a security vulnerability 🗺️ reQUEST Triggers an issue to be imported into Quest.

Comments

@Rick-Anderson
Copy link
Contributor

Rick-Anderson commented Apr 28, 2024

https://github.com/dotnet/samples/blob/main/orleans/Blazor/BlazorWasm/BlazorWasm.Server/Program.cs#L44

Needs to be protected. See this internal issue

It's not enough to protect the code, at least for the next few days.
The code displayed in the query must show that UseSwaggerUI Protected by if (env.IsDevelopment())

If it doesn't show in the query, I've been adding // UseSwaggerUI Protected by if (env.IsDevelopment())

@IEvangelist IEvangelist added enhancement New feature or request P0 Indicates PRs that are critical priority security Pull requests that address a security vulnerability 🗺️ reQUEST Triggers an issue to be imported into Quest. labels Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P0 Indicates PRs that are critical priority security Pull requests that address a security vulnerability 🗺️ reQUEST Triggers an issue to be imported into Quest.
Projects
No open projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants