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

Cherry-pick #17681 to 7.x: CEF CheckPoint: adjust fields for forward compatibility #17711

Merged
merged 1 commit into from
Apr 15, 2020

Conversation

adriansr
Copy link
Contributor

@adriansr adriansr commented Apr 14, 2020

Cherry-pick of PR #17681 to 7.x branch. Original message:

What does this PR do?

This PR makes some changes to CEF module's custom mappings for Check Point devices, to ensure compatibility with the upcoming checkpoint module.

Check Point has its custom log format, for which a new module is being prepared. The idea behind this new module as well as CEF custom mappings for Check Point (this PR), is to use ECS whenever possible and map the rest under checkpoint.* using the original field name from Check Point.

In the original PR for CEF, a few mistakes had been done in field names and types. Also taking the opportunity to change some ECS mappings.

Why is it important?

We want both CEF an checkpoint modules to define and populate the same fields, ECS and proprietary, and avoid having a breaking change in the future.

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 in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc. Not needed, feature is unreleased.

  • Relates [SIEM][CEF] Add support for Check Point devices #16907 Checkpoint Syslog Filebeat module #17682

This PR makes some changes to CEF module's custom mappings for Check Point
devices to ensure compatibility with the upcoming checkpoint module.

Check Point has its custom log format, for which a new module is being
prepared. The idea behind this new module as well as CEF custom mappings for
Check Point (this PR), is to use ECS whenever possible and map the rest
under checkpoint.* using the original field name from Check Point.

In the original PR for CEF, a few mistakes had been done in field names and
types. Also taking the opportunity to change some ECS mappings.

Related elastic#16907 elastic#17682

(cherry picked from commit 4f6da4f)
@adriansr adriansr merged commit 4de9e9c into elastic:7.x Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants