[enhance](nereids) improve masking of user's password for ALTER USER and CREATE USER commands in audit logs#62141
Draft
iaorekhov-1980 wants to merge 13 commits intoapache:masterfrom
Draft
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run feut |
9851a15 to
7ddf5e0
Compare
Contributor
Author
|
run feut |
Contributor
Author
|
run feut |
1 similar comment
Contributor
Author
|
run feut |
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
Author
|
run feut |
4 similar comments
Contributor
Author
|
run feut |
Contributor
Author
|
run feut |
Contributor
Author
|
run feut |
Contributor
Author
|
run feut |
53a743b to
be55c79
Compare
Contributor
Author
|
run feut |
Contributor
Author
|
run feut |
Contributor
Author
|
run feut |
Contributor
Author
|
run feut |
Contributor
Author
|
run buildall |
Contributor
FE UT Coverage ReportIncrement line coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
This PR adds masking for users passwords for CREATE USER and ALTER USER commands.
The masked values will be stored in audit table and audit files instead of actual values.
The same functionality already exists for SET USER PASSWORD and SET LDAP_ADMIN_PASSWORD commands, so we other commands related to passwords should be masked as well.
Could you please include this PR into 4.x branches, please!
Issue Number: close #62140
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Check List (For Reviewer who merge this PR)