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

Register a custom audit log item builder #12268

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

andrewstalin
Copy link
Collaborator

Changelog entry

Registration of functions for converting audit events into a string of a specified format.

Changelog category

  • Not for changelog (changelog entry is not required)

Additional information

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 06:05:47 UTC Pre-commit check linux-x86_64-release-asan for 0252e9c has started.
2024-12-04 06:05:58 UTC Artifacts will be uploaded here
2024-12-04 06:11:52 UTC ya make is running...
🔴 2024-12-04 06:14:39 UTC Build failed, see the logs. Also see fail summary

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 06:06:05 UTC Pre-commit check linux-x86_64-relwithdebinfo for 0252e9c has started.
2024-12-04 06:06:16 UTC Artifacts will be uploaded here
2024-12-04 06:12:09 UTC ya make is running...
🔴 2024-12-04 06:14:57 UTC Build failed, see the logs. Also see fail summary

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 06:25:05 UTC Pre-commit check linux-x86_64-relwithdebinfo for 22a3d98 has started.
2024-12-04 06:25:15 UTC Artifacts will be uploaded here
2024-12-04 06:28:09 UTC ya make is running...
🟡 2024-12-04 07:18:42 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
21004 19494 0 4 1396 110

2024-12-04 07:20:25 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-04 07:35:12 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
672 (only retried tests) 566 0 0 0 106

🟢 2024-12-04 07:35:21 UTC Build successful.
🟢 2024-12-04 07:35:49 UTC ydbd size 2.5 GiB changed* by +4.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: d6a279e merge: 22a3d98 diff diff %
ydbd size 2 701 651 032 Bytes 2 701 655 416 Bytes +4.3 KiB +0.000%
ydbd stripped size 483 580 528 Bytes 483 580 464 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 06:25:07 UTC Pre-commit check linux-x86_64-release-asan for 22a3d98 has started.
2024-12-04 06:25:18 UTC Artifacts will be uploaded here
2024-12-04 06:28:10 UTC ya make is running...
🟡 2024-12-04 07:38:06 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13290 13189 0 44 10 47

🟢 2024-12-04 07:39:12 UTC Build successful.
🟢 2024-12-04 07:39:43 UTC ydbd size 4.9 GiB changed* by +1.2 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: d6a279e merge: 22a3d98 diff diff %
ydbd size 5 307 983 192 Bytes 5 307 984 472 Bytes +1.2 KiB +0.000%
ydbd stripped size 1 365 523 472 Bytes 1 365 523 792 Bytes +320 Bytes +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 07:56:20 UTC Pre-commit check linux-x86_64-relwithdebinfo for 4b92260 has started.
2024-12-04 07:56:31 UTC Artifacts will be uploaded here
2024-12-04 07:59:31 UTC ya make is running...
🟡 2024-12-04 08:48:34 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
21004 19495 0 1 1396 112

2024-12-04 08:50:24 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-04 09:02:07 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
729 (only retried tests) 622 0 0 0 107

🟢 2024-12-04 09:03:00 UTC ydbd size 2.5 GiB changed* by +4.2 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: d6a279e merge: 4b92260 diff diff %
ydbd size 2 701 651 032 Bytes 2 701 655 368 Bytes +4.2 KiB +0.000%
ydbd stripped size 483 580 528 Bytes 483 580 464 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation
2024-12-04 09:03:02 UTC Check cancelled

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 07:59:32 UTC Pre-commit check linux-x86_64-release-asan for 4b92260 has started.
2024-12-04 07:59:44 UTC Artifacts will be uploaded here
2024-12-04 08:02:54 UTC ya make is running...
2024-12-04 09:02:37 UTC Check cancelled

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 09:10:13 UTC Pre-commit check linux-x86_64-relwithdebinfo for a0d968e has started.
2024-12-04 09:10:29 UTC Artifacts will be uploaded here
2024-12-04 09:13:47 UTC ya make is running...
🟡 2024-12-04 10:38:01 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
32666 29835 0 3 2719 109

2024-12-04 10:40:42 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-04 10:52:12 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
672 (only retried tests) 567 0 0 0 105

🟢 2024-12-04 10:52:22 UTC Build successful.
🟢 2024-12-04 10:52:42 UTC ydbd size 2.5 GiB changed* by +4.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 22abbae merge: a0d968e diff diff %
ydbd size 2 701 651 016 Bytes 2 701 655 384 Bytes +4.3 KiB +0.000%
ydbd stripped size 483 580 528 Bytes 483 580 464 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 09:12:36 UTC Pre-commit check linux-x86_64-release-asan for a0d968e has started.
2024-12-04 09:12:41 UTC Artifacts will be uploaded here
2024-12-04 09:16:13 UTC ya make is running...
🟡 2024-12-04 11:00:18 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15213 15136 0 21 7 49

🟢 2024-12-04 11:01:36 UTC Build successful.
🟢 2024-12-04 11:02:05 UTC ydbd size 4.9 GiB changed* by +1.2 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 22abbae merge: a0d968e diff diff %
ydbd size 5 307 983 192 Bytes 5 307 984 392 Bytes +1.2 KiB +0.000%
ydbd stripped size 1 365 523 472 Bytes 1 365 523 792 Bytes +320 Bytes +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 12:25:51 UTC Pre-commit check linux-x86_64-relwithdebinfo for d6cc25c has started.
2024-12-04 12:26:24 UTC Artifacts will be uploaded here
2024-12-04 12:30:06 UTC ya make is running...
🟡 2024-12-04 13:55:27 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
32668 29837 0 1 2720 110

🟢 2024-12-04 13:56:35 UTC ydbd size 2.5 GiB changed* by +4.2 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: d7df471 merge: d6cc25c diff diff %
ydbd size 2 701 815 712 Bytes 2 701 820 064 Bytes +4.2 KiB +0.000%
ydbd stripped size 483 605 200 Bytes 483 605 136 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation
2024-12-04 13:56:37 UTC Check cancelled

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 12:29:56 UTC Pre-commit check linux-x86_64-release-asan for d6cc25c has started.
2024-12-04 12:30:07 UTC Artifacts will be uploaded here
2024-12-04 12:33:20 UTC ya make is running...
2024-12-04 13:56:27 UTC Check cancelled

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 14:00:03 UTC Pre-commit check linux-x86_64-relwithdebinfo for c456c92 has started.
2024-12-04 14:00:14 UTC Artifacts will be uploaded here
2024-12-04 14:03:35 UTC ya make is running...
🟡 2024-12-04 15:33:54 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
32682 29809 0 5 2747 121

2024-12-04 15:36:33 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-04 15:48:10 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
710 (only retried tests) 605 0 0 0 105

🟢 2024-12-04 15:48:25 UTC Build successful.
🟢 2024-12-04 15:48:45 UTC ydbd size 2.5 GiB changed* by +10.9 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 06b7c08 merge: c456c92 diff diff %
ydbd size 2 702 096 440 Bytes 2 702 107 648 Bytes +10.9 KiB +0.000%
ydbd stripped size 483 632 912 Bytes 483 632 912 Bytes 0 Bytes 0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Dec 4, 2024

2024-12-04 14:01:43 UTC Pre-commit check linux-x86_64-release-asan for c456c92 has started.
2024-12-04 14:01:55 UTC Artifacts will be uploaded here
2024-12-04 14:05:18 UTC ya make is running...
🟡 2024-12-04 15:42:05 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15227 15153 0 19 8 47

🟢 2024-12-04 15:43:19 UTC Build successful.
🟢 2024-12-04 15:43:51 UTC ydbd size 4.9 GiB changed* by +7.9 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 06b7c08 merge: c456c92 diff diff %
ydbd size 5 308 898 272 Bytes 5 308 906 320 Bytes +7.9 KiB +0.000%
ydbd stripped size 1 365 714 640 Bytes 1 365 714 960 Bytes +320 Bytes +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@@ -6,6 +6,7 @@
#include <util/generic/string.h>
#include <util/generic/vector.h>

#include <ydb/core/base/events.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary here

@@ -9,8 +9,7 @@
#include <ydb/library/actors/core/hfunc.h>
#include <ydb/library/services/services.pb.h>

#include <ydb/core/base/events.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Necessary here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants