-
Notifications
You must be signed in to change notification settings - Fork 0
feat: redacted logging #24
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
Conversation
Merge from dev
Merge from dev
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Enhancement
Description
Introduce helper to redact sensitive request fields
Define sensitiveFields list for masking in logs
Recursively sanitize nested objects in request body
Use sanitized body in logging middleware
Changes walkthrough 📝
server.ts
Add request body sanitization for loggingfunctions/src/server.ts
sanitizeBodyfunction to mask sensitive fieldssensitiveFieldslist for redactionsanitizeBody