-
Notifications
You must be signed in to change notification settings - Fork 444
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
network_traffic: remove invalid "network_traffic" terms from event.category #3384
Conversation
708d9d3
to
b6e686b
Compare
🌐 Coverage report
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
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
- script: | ||
description: Remove invalid "network_traffic" term added by packetbeat prior to v8. | ||
# This string-based comparison is valid while versions are below v10.x. | ||
if: 'ctx.agent?.version == null || ctx.agent.version.compareTo("8.") < 0' |
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.
The only major version that has this issue is 7.x so a startsWith("7.")
would work too.
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.
I considered that, but felt this would be clearer/safer.
What does this PR do?
This makes the integration ECS-compliant.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots