Repository navigation
fix: production safety and redaction (2.3.0) - #16
Merged
Merged
Conversation
controllers and the ef interceptor no longer rely on UseDebugDashboard() being wired correctly; they check IsEnabled and a new AllowedEnvironments option themselves, so MapControllers() alone can't expose them outside an allowed environment. adds an optional AuthorizationFilter hook, redacts password/secret/token/apikey json body fields by default, widens the default excluded header list, fixes EmitActivities being dropped on copy, makes custom BasePath values route correctly, and drops the unused SignalR hub.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Security release. The dashboard's controllers and the EF interceptor were registered and active in every environment; only
UseDebugDashboard()checked for Development. WithMapControllers()in the pipeline,/_debug,/api/exportandDELETE /api/clearanswered in Production with no auth, and SQL parameters were captured there.AllowedEnvironments, default Development) used by both controllers, the interceptor and the middlewareAuthorizationFilteron every UI and API requestEmitActivities = falsehonored; any customBasePathroutes correctlyEnableRealTimeUpdatesandAddDebugDashboardSignalR()kept as obsolete no-opsVersions: dashboard + Mcp 2.3.0, AspNetMailbox 0.1.1.