[Packetbeat] Update ingress/egress traffic directionality#22996
[Packetbeat] Update ingress/egress traffic directionality#22996andrewstucki merged 8 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
andrewkroh
left a comment
There was a problem hiding this comment.
In the default configuration, would it make sense to change the logic for when the add_host_metadata is executed to be based on the network.direction values. I was wondering if we could use a value of ingress/egress to trigger it since they mean the packet involved the host packetbeat is running on.
I'd be fine with that. On the other hand, I believe pretty much all other beats use |
That's true. Let's hold off on that change. |
leehinman
left a comment
There was a problem hiding this comment.
CHANGELOG look off, but code changes look good.
) * [Packetbeat] Update ingress/egress traffic directionality * Fix yml indentation * Fix up changelog * rename to internal_networks and use network conditions * Fix up broken link * Stupid bad merges * Re-add eroneously deleted entry (cherry picked from commit cc2dd9f)
… directionality (#23048) * [Packetbeat] Update ingress/egress traffic directionality (#22996) * [Packetbeat] Update ingress/egress traffic directionality * Fix yml indentation * Fix up changelog * rename to internal_networks and use network conditions * Fix up broken link * Stupid bad merges * Re-add eroneously deleted entry (cherry picked from commit cc2dd9f) * Fix changelog
What does this PR do?
This changes the way Packetbeat classifies network directionality to bring it in line with ECS 1.7. It adds a
home_networksoption to the configuration and works like the following:home_networksis specified, we try to classify at the network perimeterhome_networksis not specified, then the direction remains "unknown"Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Related issues