-
Notifications
You must be signed in to change notification settings - Fork 638
auditlog: add exports/imports #8550
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
auditlog: add exports/imports #8550
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
cedfab5
to
ce4635e
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Add audit logging for (database/tables) export and import operations. Export/import cancel/forget requests are still not logged. KIKIMR-21797
ce4635e
to
bb6235c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
static TString GetUid(const google::protobuf::Map<TString, TString>& labels) { | ||
auto it = labels.find("uid"); | ||
if (it == labels.end()) { | ||
return TString(); | ||
} | ||
|
||
return it->second; | ||
return true; | ||
} |
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.
GetUid
has moved to schemeshard_xxport__helpers.*
NAudit::TAuditLogBackends CreateTestAuditLogBackends(std::vector<std::string>& buffer) { | ||
NAudit::TAuditLogBackends logBackends; | ||
logBackends[NKikimrConfig::TAuditConfig::TXT].emplace_back(new TMemoryLogBackend(buffer)); | ||
return logBackends; | ||
} | ||
|
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.
CreateTestAuditLogBackends()
moved to ut_helpers/auditlog_helpers.*
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
Add audit logging for (database/tables) export and import operations. Export/import cancel/forget requests are still not logged. KIKIMR-21797
Add audit logging for (database/tables) export and import operations. Export/import cancel/forget requests are still not logged. KIKIMR-21797
Add audit logging for (database/tables) export and import operations. Export/import cancel/forget requests are still not logged. KIKIMR-21797
Add audit logging for (database/tables) export and import operations. Export/import cancel/forget requests are still not logged. KIKIMR-21797
Add audit logging for (database/tables) export and import operations. Export/import cancel/forget requests are still not logged. KIKIMR-21797
Add audit logging for (database/tables) export and import operations. Cancel/Forget requests for export/imports are still not audit logged. KIKIMR-21797 merge ydb-platform#8550 (a418278) from `main`.
Add audit logging for (database/tables) export and import operations.
Cancel/Forget requests for export/imports are still not audit logged.
KIKIMR-21797
Changelog entry
Add audit logging for (database/tables) export and import operations.
Changelog category