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 #551

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

magodo
Copy link
Collaborator

@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.

@magodo magodo requested a review from ms-henglu August 9, 2024 03:56
@magodo magodo added the enhancement New feature or request label Aug 9, 2024
@magodo magodo merged commit 6886573 into Azure:main Aug 9, 2024
6 of 7 checks passed
@TimLovellSmith
Copy link
Member

@magodo -mask-sensitive should default to true, to be secure by default.

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

Successfully merging this pull request may close these issues.

3 participants