Skip to content

Commit

Permalink
Cherry-pick #22997 to 7.x: [Winlogbeat] Use ingress/egress instead of…
Browse files Browse the repository at this point in the history
… inbound/outbound (#23003)

* [Winlogbeat] Use ingress/egress instead of inbound/outbound (#22997)

* [Winlogbeat] Use ingress/egress instead of inbound/outbound

* Add changelog entry

(cherry picked from commit 12af688)

* Fix up changelog
  • Loading branch information
Andrew Stucki authored Dec 9, 2020
1 parent 2f49b78 commit a663a99
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add Powershell module. Support for event ID's: `400`, `403`, `600`, `800`, `4103`, `4014`, `4105`, `4106`. {issue}16262[16262] {pull}18526[18526]
- Fix Powershell processing of downgraded engine events. {pull}18966[18966]
- Fix unprefixed fields in `fields.yml` for Powershell module {issue}18984[18984]
- Use ECS 1.7 ingress/egress instead of inbound/outbound network.direction in sysmon. {pull}22997[22997]

*Functionbeat*

Expand Down
4 changes: 2 additions & 2 deletions x-pack/winlogbeat/module/sysmon/config/winlogbeat-sysmon.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,10 @@ var sysmon = (function () {
var addNetworkDirection = function (evt) {
switch (evt.Get("winlog.event_data.Initiated")) {
case "true":
evt.Put("network.direction", "outbound");
evt.Put("network.direction", "egress");
break;
case "false":
evt.Put("network.direction", "inbound");
evt.Put("network.direction", "ingress");
break;
}
evt.Delete("winlog.event_data.Initiated");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
},
"network": {
"community_id": "1:EQDBfI6vAylArTBQHY8kNmaweOA=",
"direction": "outbound",
"direction": "egress",
"protocol": "domain",
"transport": "udp",
"type": "ipv6"
Expand Down Expand Up @@ -559,7 +559,7 @@
},
"network": {
"community_id": "1:TXczQujzvcGYSvZ/CKEBu1p2riE=",
"direction": "inbound",
"direction": "ingress",
"protocol": "domain",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -634,7 +634,7 @@
},
"network": {
"community_id": "1:W2ZbP8nXMY+YAGYw2h/3Sa8Gu/w=",
"direction": "outbound",
"direction": "egress",
"protocol": "https",
"transport": "tcp",
"type": "ipv4"
Expand Down Expand Up @@ -709,7 +709,7 @@
},
"network": {
"community_id": "1:5MsyqYltV9KkhIFGPWiByzQqHDo=",
"direction": "outbound",
"direction": "egress",
"protocol": "https",
"transport": "tcp",
"type": "ipv4"
Expand Down Expand Up @@ -784,7 +784,7 @@
},
"network": {
"community_id": "1:0p51df9oGzNph3fcneX2H8jXsag=",
"direction": "outbound",
"direction": "egress",
"protocol": "netbios-ns",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -863,7 +863,7 @@
},
"network": {
"community_id": "1:0p51df9oGzNph3fcneX2H8jXsag=",
"direction": "inbound",
"direction": "ingress",
"protocol": "netbios-ns",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -940,7 +940,7 @@
},
"network": {
"community_id": "1:4DSgubObvMEI9IKNWPDqltrux+k=",
"direction": "outbound",
"direction": "egress",
"protocol": "llmnr",
"transport": "udp",
"type": "ipv6"
Expand Down Expand Up @@ -1015,7 +1015,7 @@
},
"network": {
"community_id": "1:sejGGvgk92xTvKdzlFitndKqdWw=",
"direction": "outbound",
"direction": "egress",
"protocol": "llmnr",
"transport": "udp",
"type": "ipv6"
Expand Down Expand Up @@ -1089,7 +1089,7 @@
},
"network": {
"community_id": "1:yP71IXofOTWmF1LG760//yXa4Rk=",
"direction": "outbound",
"direction": "egress",
"protocol": "netbios-ns",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -1166,7 +1166,7 @@
},
"network": {
"community_id": "1:yP71IXofOTWmF1LG760//yXa4Rk=",
"direction": "inbound",
"direction": "ingress",
"protocol": "netbios-ns",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -1243,7 +1243,7 @@
},
"network": {
"community_id": "1:Zt/ImHlMNf4MciHXlRDkivgw2jY=",
"direction": "outbound",
"direction": "egress",
"protocol": "llmnr",
"transport": "udp",
"type": "ipv6"
Expand Down Expand Up @@ -1317,7 +1317,7 @@
},
"network": {
"community_id": "1:SHkoHfPFDYWai8qQBwIiRxvCPZw=",
"direction": "outbound",
"direction": "egress",
"protocol": "llmnr",
"transport": "udp",
"type": "ipv6"
Expand Down Expand Up @@ -1391,7 +1391,7 @@
},
"network": {
"community_id": "1:DI+g4BImhWaUwPmLEjdMMQVYPLs=",
"direction": "outbound",
"direction": "egress",
"protocol": "netbios-ns",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -1469,7 +1469,7 @@
},
"network": {
"community_id": "1:okFVyky/zOY2Q0BATy37YsbiveA=",
"direction": "outbound",
"direction": "egress",
"protocol": "netbios-ns",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -1547,7 +1547,7 @@
},
"network": {
"community_id": "1:ZHyFuF2PjubLSbAh4zRQIZHOZK8=",
"direction": "outbound",
"direction": "egress",
"protocol": "netbios-ns",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -1625,7 +1625,7 @@
},
"network": {
"community_id": "1:r3C/WjbATNIislTQ0M+ySzwnuiw=",
"direction": "outbound",
"direction": "egress",
"protocol": "netbios-ns",
"transport": "udp",
"type": "ipv4"
Expand Down Expand Up @@ -2152,4 +2152,4 @@
"version": 4
}
}
]
]

0 comments on commit a663a99

Please sign in to comment.