-
Notifications
You must be signed in to change notification settings - Fork 1.3k
BE: Feature - Add support for nested field masking in Kafka UI. #4549
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
BE: Feature - Add support for nested field masking in Kafka UI. #4549
Conversation
@github-actions
github-actions
bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello there rdossantoslgc! 👋
Thank you and congrats 🎉 for opening your first PR on this project! ✨ 💖
We will try to review it soon!
@rdossantoslgc this repo is no longer maintained (#4255), please refer to https://github.com/kafbat/kafka-ui
Error being reported is to do with: fatal error: An error occurred (InvalidAccessKeyId) when calling the ListObjectsV2 operation: The AWS Access Key Id you provided does not exist in our records.
Not sure if this is something I can fix myself or the codeowners.
What changes did you make? (Give an overview)
Problem Solved (Issue reported: #4361)
Previously, the masking feature only supported top-level field names. Users couldn't mask specific nested fields within complex JSON structures, leading to either over-masking (masking entire objects) or under-masking (missing sensitive nested data).
Features Added
Dot Notation: Support for paths like user.email and etc
Pattern Matching: Regex patterns now work with full field paths (e.g., ..secret.)
Array Support: Handles arrays with indexed paths (e.g., users.0.email)
Default Behavior: enableNestedPaths defaults to false
Existing Configs: All current masking configurations continue to work unchanged
No Breaking Changes: API endpoints and data structures remain the same
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)