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

New option: -mask-sensitive to allow masking sensitive attributes #8

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

magodo
Copy link
Owner

@magodo magodo commented Aug 9, 2024

This PR adds new option -mask-sensitive to allow masking sensitive attributes. The masking is done by generating the zero value of that attribute, with a comment stating the reason. In non-full mode, those value will be trimed from the configuration, as they are of the zero values. While in the full mode, they are kept with the zero value + comments.

Meanwhile, this PR made some adjustment to some public functions, to make the structure more clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant