-
Notifications
You must be signed in to change notification settings - Fork 905
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
new(falco): add buffer_format_base64 option, deprecate -b #3358
new(falco): add buffer_format_base64 option, deprecate -b #3358
Conversation
/milestone 0.40.0 |
7483a14
to
c5d9c92
Compare
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.
LGTM!
Again, i have the same comment as #3362 (comment); wdyt?
c5d9c92
to
3f0e1bc
Compare
@FedeDP done! |
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.
/approve
LGTM label has been added. Git tree hash: cf294153c28c96ca5298cc8ececd533dc683b3de
|
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.
/approve
3f0e1bc
to
5a00f2d
Compare
LGTM label has been added. Git tree hash: b90208103e9ab0bb9356f40d02326d8341d7f45a
|
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.
/approve
Rebase & fix conflict? Then we will merge it :) |
Signed-off-by: Luca Guerra <luca@guerra.sh>
Signed-off-by: Luca Guerra <luca@guerra.sh>
5a00f2d
to
ec3b55d
Compare
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.
/approve
LGTM label has been added. Git tree hash: 8d339ea433bb9c4dbdaa831dc887a5f6a2a2f0c0
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Andreagit97, FedeDP, LucaGuerra The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
if(s.options.print_base64) { | ||
falco_logger::log(falco_logger::level::WARNING, | ||
"The -b/--print-base64 option is deprecated and will be removed. Use -o " | ||
"buffer_format_base64=true instead."); | ||
event_buffer_format = sinsp_evt::PF_BASE64; | ||
} |
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.
Question for a followup: shouldn't that warning rather be printed when parsing the options ?
That way, you can keep all the deprecation related code in one single place.
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
Add
buffer_format_base64
option which behaves like-b
--print-base64
, works in the config file or with-o
.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: