-
Notifications
You must be signed in to change notification settings - Fork 282
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
[BUG] Triple logging of audit messages #1995
Labels
bug
Something isn't working
Comments
jchipmunk
added
bug
Something isn't working
untriaged
Require the attention of the repository maintainers and may need to be prioritized
labels
Aug 5, 2022
peternied
removed
the
untriaged
Require the attention of the repository maintainers and may need to be prioritized
label
Aug 8, 2022
Thanks for filing, and thank you for the pull request! |
peternied
pushed a commit
that referenced
this issue
Aug 12, 2022
Revert some changes introduced by #1563 to correct work with log4j. Signed-off-by: Andrey Pustovetov <[email protected]>
opensearch-trigger-bot bot
pushed a commit
that referenced
this issue
Aug 12, 2022
Revert some changes introduced by #1563 to correct work with log4j. Signed-off-by: Andrey Pustovetov <[email protected]> (cherry picked from commit 68f5624)
opensearch-trigger-bot bot
pushed a commit
that referenced
this issue
Aug 12, 2022
Revert some changes introduced by #1563 to correct work with log4j. Signed-off-by: Andrey Pustovetov <[email protected]> (cherry picked from commit 68f5624)
peternied
pushed a commit
that referenced
this issue
Aug 12, 2022
Revert some changes introduced by #1563 to correct work with log4j. Signed-off-by: Andrey Pustovetov <[email protected]> (cherry picked from commit 68f5624) Co-authored-by: Andrey Pustovetov <[email protected]>
peternied
pushed a commit
that referenced
this issue
Aug 15, 2022
stephen-crawford
pushed a commit
to stephen-crawford/security
that referenced
this issue
Nov 10, 2022
…t#1996) Revert some changes introduced by opensearch-project#1563 to correct work with log4j. Signed-off-by: Andrey Pustovetov <[email protected]> Signed-off-by: Stephen Crawford <[email protected]>
wuychn
pushed a commit
to ochprince/security
that referenced
this issue
Mar 16, 2023
…t#1996) (opensearch-project#2024) Revert some changes introduced by opensearch-project#1563 to correct work with log4j. Signed-off-by: Andrey Pustovetov <[email protected]> (cherry picked from commit 68f5624) Co-authored-by: Andrey Pustovetov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the bug?
OpenSearch log contains extra audit messages:
How can one reproduce the bug?
Steps to reproduce the behavior:
.opendistro_security
index.What is the expected behavior?
The log must only contain one audit message instead of three:
What is your host/environment?
Do you have any screenshots?
n/a
Do you have any additional context?
The bug is the incorrect usage of
switch-case
construction inorg.opensearch.security.auditlog.sink.Log4JSink
class:This code does not contain
break
/return
keywords to stop switching.It seems the changes were not rolled back in PR: Switch to log4j logger.
The text was updated successfully, but these errors were encountered: