Skip to content

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

Merged
magodo merged 1 commit intoAzure:mainfrom
magodo:mask_sensitive
Aug 9, 2024
Merged

New option: -mask-sensitive to allow masking sensitive attributes#551
magodo merged 1 commit intoAzure:mainfrom
magodo:mask_sensitive

Conversation

@magodo
Copy link
Copy Markdown
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
@TimLovellSmith
Copy link
Copy Markdown
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