-
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
wrong if statement in x-pack/filebeat/module/fortinet/firewall/ingest/event.yml #34446
base: main
Are you sure you want to change the base?
Conversation
❌ Author of the following commits did not sign a Contributor Agreement: Please, read and sign the above mentioned agreement if you want to contribute to this project |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
❕ Build Aborted
Expand to view the summary
Build stats
Steps errorsExpand to view the steps failures
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
Hey @0x00Jeff, thanks for opening the PR.
|
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.
Change requested as per the comment: #34446 (comment)
hey @kcreddy , I don't know what should I put in the title field in the CLA to sign it as an individual ? can you explain what goes in to that field ? |
This pull request is now in conflicts. Could you fix it? 🙏
|
Hey @0x00Jeff, title field not quite important to us. Usually contributors write there whatever they want. Like |
This pull request is now in conflicts. Could you fix it? 🙏
|
1 similar comment
This pull request is now in conflicts. Could you fix it? 🙏
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices) |
What does this PR do?
this PR corrects a wrong field name in event.yml config for beats
Why is it important?
without this correction, filebeats will send the wrong output to elasticsearch when the type of the log entry is
event
in this line, the
rename
processor tests ifdestination.address
null, if yes it renamesfortinet.firewall.dst_host
to it, and in this, the processor (mistakenly) tests ifdestination.address
is null again, then renamesfortinet.firewall.dst_host
todestination.domain
. it should test ifdestination.domain
is null instead ofctx.destination.address
Checklist
[ ] My code follows the style guidelines of this project[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature works[ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
in the case where the change needs to be tested, one has to setup filebeats parse fortinet logs that are of type
event