Skip to content
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] Sophos Module - support for changed field names #28932

Closed
wants to merge 1 commit into from
Closed

[Filebeat] Sophos Module - support for changed field names #28932

wants to merge 1 commit into from

Conversation

bitnapper
Copy link

In Version 18.0.1 and 18.5.1 fileld names changed to device_serial_id, src_zone_type and dst_zone_type.

  • Bug
  • Enhancement

What does this PR do?

Some field changed in these versions:

  • device_id -> device_serial_id,
  • srczonetype -> src_zone_type and
  • dstzonetype -> dst_zone_type.

Added rename processors for alls three. All identical to the former ones.

Also srczone and dstzone changed. But I could only find a remove processor and I'm not sure if they are preserved anywhere else. In my opinion they should be and in my use case they need to be so I did not add them to the remove processor.

Adding fields device_serial_id, src_zone_type and  dst_zone_type.
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Nov 11, 2021
@mergify
Copy link
Contributor

mergify bot commented Nov 11, 2021

This pull request does not have a backport label. Could you fix it @bitnapper? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 7./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

@mergify mergify bot added the backport-skip Skip notification from the automated backport with mergify label Nov 11, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 11, 2021

❕ Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Reason: The PR is not allowed to run in the CI yet

  • Start Time: 2022-02-03T10:16:44.786+0000

  • Duration: 6 min 19 sec

  • Commit: 465d99c

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Dec 2, 2021
@andrewkroh andrewkroh requested a review from a team December 6, 2021 12:09
@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@efd6
Copy link
Contributor

efd6 commented Dec 7, 2021

@bitnapper Are you able to add a test file and its expect partner with these new field names?

@botelastic
Copy link

botelastic bot commented Jan 6, 2022

Hi!
We just realized that we haven't looked into this PR in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it in as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Jan 6, 2022
@andrewkroh andrewkroh changed the title Support for changed field names [Filebeat] Sophos Module - support for changed field names Feb 22, 2022
@botelastic botelastic bot removed the Stalled label Feb 22, 2022
@piellick
Copy link

Hi, we have this integration in our production, keep me informed if you need informations for troubleshooting.

@botelastic botelastic bot removed the Stalled label Mar 21, 2022
@efd6
Copy link
Contributor

efd6 commented Mar 22, 2022

@piellick Are you able to provide sanitised log lines that we could include as test input? (This would have to go through a PR to ensure CLA compliance).

@piellick
Copy link

@piellick Are you able to provide sanitised log lines that we could include as test input? (This would have to go through a PR to ensure CLA compliance).

Hi @efd6 give me your email and i will send it.

@andrewkroh
Copy link
Member

This would have to go through a PR to ensure CLA compliance

@piellick Would you be able to open a PR to add some anonymized samples to https://github.com/elastic/beats/edit/main/x-pack/filebeat/module/sophos/xg/test/firewall.log? From that link you can paste in the logs and click to open a new PR.

@piellick
Copy link

hello @andrewkroh ,
i have posted a bunch of sophos firewall.log on this PR --> #31038
I hope it could help.

@andrewkroh
Copy link
Member

Providing an update: We merged a fix for Sophos into the Fleet integration at elastic/integrations#2163. The next step is to sync that change back into Beats. That should fix the problem and we can close this PR and #31038.

@andrewkroh
Copy link
Member

I've opened a PR to sync the Fleet integration into Filebeat so I'm going to close this one. #31388

@andrewkroh andrewkroh closed this Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip Skip notification from the automated backport with mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants