diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 5e4d9c9e04b4..d4a76669513b 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -470,6 +470,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Improve panw ECS url fields mapping. {pull}22481[22481] - Improve Nats filebeat dashboard. {pull}22726[22726] - Add support for UNIX datagram sockets in `unix` input. {issues}18632[18632] {pull}22699[22699] +- Add logic for external network.direction in sophos xg fileset {pull}22973[22973] *Heartbeat* @@ -610,4 +611,3 @@ port. {pull}19209[19209] - diff --git a/x-pack/filebeat/module/sophos/xg/ingest/firewall.yml b/x-pack/filebeat/module/sophos/xg/ingest/firewall.yml index 193af05b836f..a9ad2eb988c9 100644 --- a/x-pack/filebeat/module/sophos/xg/ingest/firewall.yml +++ b/x-pack/filebeat/module/sophos/xg/ingest/firewall.yml @@ -390,6 +390,10 @@ processors: field: network.direction value: internal if: "['LAN', 'DMZ', 'VPN', 'WiFi'].contains(ctx?.observer?.ingress?.zone) && ['LAN', 'DMZ', 'VPN', 'WiFi'].contains(ctx?.observer?.egress?.zone)" +- set: + field: network.direction + value: external + if: "ctx?.observer?.ingress?.zone == 'WAN' && ctx?.observer?.egress?.zone == 'WAN'" ######################### ## ECS Related Mapping ##