Skip to content

Commit 33356aa

Browse files
authored
Use ECS event.type: end (elastic#159)
The 'event.type: stop' value is not ECS compliant. 'event.type: end' the correct value. In aucolesce, change the event.type for: SERVICE_STOP, DAEMON_ABORT, DAEMON_END
1 parent 6632265 commit 33356aa

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1212
- Fix panic in `parseSockaddr` for malformed socket address. [#152](https://github.com/elastic/go-libaudit/pull/152)
1313
- Set `SOCK_CLOEXEC` when creating the netlink socket to avoid leaking file descriptors. [#165](https://github.com/elastic/go-libaudit/pull/165)
1414
- Update syscall tables. [#167](https://github.com/elastic/go-libaudit/pull/167)
15+
- aucoalesce: Use ECS `event.type: end` instead of `stop` for SERVICE_STOP, DAEMON_ABORT, and DAEMON_END messages. [#159](https://github.com/elastic/go-libaudit/pull/159)
1516

1617
### Removed
1718

aucoalesce/normalizations.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ normalizations:
12301230
what: service
12311231
ecs:
12321232
<<: *ecs-process
1233-
type: stop
1233+
type: end
12341234

12351235
# Auditd internal events
12361236

@@ -1251,7 +1251,7 @@ normalizations:
12511251
what: service
12521252
ecs:
12531253
<<: *ecs-process
1254-
type: stop
1254+
type: end
12551255
# AUDIT_DAEMON_ACCEPT - Auditd accepted remote connection
12561256
- record_types: DAEMON_ACCEPT
12571257
action: remote-audit-connected
@@ -1287,7 +1287,7 @@ normalizations:
12871287
what: service
12881288
ecs:
12891289
<<: *ecs-process
1290-
type: stop
1290+
type: end
12911291
# AUDIT_DAEMON_ERR - Auditd internal error
12921292
- record_types: DAEMON_ERR
12931293
action: audit-error

0 commit comments

Comments
 (0)