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
Fixes #21763: Add an audit command generic method #1369
Fixes #21763: Add an audit command generic method #1369
Conversation
|
||
# @name Audit from command | ||
# @description Execute an audit only command reports depending on exit code | ||
# @documentation Execute an audit only command reports depending on |
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.
# @documentation Execute an audit only command reports depending on | |
# @documentation Execute an audit only command and reports depending on |
commands: | ||
pass2.!pass3:: | ||
"${command}" | ||
contain => in_shell, |
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.
Doesn't it require changes on the reporting side? I am confused on how the reporting can be correct as it will be flagged as enforce mode in audit (because of the push_dry_run_mode(false))
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.
the pop is done before the log so the log reports properly with the right mode
and oops ... the log line is missing here
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.
Ok 👍
PR updated with a new commit |
1 similar comment
PR updated with a new commit |
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
f7daeb6
to
5102fb3
Compare
https://issues.rudder.io/issues/21763