-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Filebeat] adding base64encode func to value template #27681
Conversation
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
LGTM, However, I think we should add the option to output non-padded base64 (RawStdEncoding), it may be necessary in some cases. Something like There's also URLEncoding, don't know how frequent that is used. |
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 aside of the minor comment
Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com>
* adding base64encode func to value template * add docs and changelog * Update x-pack/filebeat/input/httpjson/internal/v2/value_tpl.go Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * adding comments from PR Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> (cherry picked from commit bf7103c)
* adding base64encode func to value template * add docs and changelog * Update x-pack/filebeat/input/httpjson/internal/v2/value_tpl.go Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * adding comments from PR Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> (cherry picked from commit bf7103c) Co-authored-by: Marius Iversen <marius.iversen@elastic.co>
* adding base64encode func to value template * add docs and changelog * Update x-pack/filebeat/input/httpjson/internal/v2/value_tpl.go Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * adding comments from PR Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com>
What does this PR do?
This adds base64encode functionality for value templates in httpjson input.
Why is it important?
Adds new functionality to httpjson input.
Adding possibility for
.request
and.header
comes in a separate PR.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues