-
Notifications
You must be signed in to change notification settings - Fork 743
Add operation details in audit logging of operation 'MODIFY USER' #16989
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
Add operation details in audit logging of operation 'MODIFY USER' #16989
Conversation
|
🟢 |
|
⚪ |
|
⚪ |
837997f to
819ed60
Compare
819ed60 to
d7efeee
Compare
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ DetailsTest history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ DetailsTest history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
| AUDIT_PART("login_group", logEntry.LoginGroup) | ||
| AUDIT_PART("login_member", logEntry.LoginMember) | ||
|
|
||
| AUDIT_PART("login_modify_user_change", RenderList(logEntry.LoginModifyUserChange), logEntry.LoginModifyUserChange) |
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.
Я бы сократил до login_user_change (LoginModifyUserChange -- тоже).
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ DetailsTest history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
| AUDIT_PART("cloud_id", cloud_id, !cloud_id.empty()) | ||
| AUDIT_PART("folder_id", folder_id, !folder_id.empty()) | ||
| AUDIT_PART("resource_id", database_id, !database_id.empty()) |
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.
Бессмысленный дифф. Достаточно было добавить Y_SEMICOLON_GUARD в AUDIT_PART.
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.
Смысл был, видимо, в том, чтобы везде либо стоят ;, либо не стоят
Changelog entry
In schemeshard, we have audit_log_component, which outputs audit logs. There was not details of operation MODIFY(ALTER) USER. So, we need to know what this operation do. There are some ways:
This PR adds details into audit_log.
Changelog category