Skip to content

Commit

Permalink
apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
mmat11 committed Mar 11, 2024
1 parent e55007b commit 7ada154
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions auditbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@
- name: process
type: group
description: >
These fields contains process and user information.
These fields contain process and user information.
Available only on Linux when using the eBPF backend.
fields:
- name: entity_id
type: keyword
description: Globally unique identifier for a process.

- name: executable
- name: name
type: keyword
description: Process command.

Expand All @@ -70,15 +70,15 @@
description: PID.

- name: user.id
type: integer
type: keyword
description: User ID (euid).

- name: user.name
type: keyword
description: User name.

- name: group.id
type: integer
type: keyword
description: Group ID (egid).

- name: group.name
Expand Down
8 changes: 4 additions & 4 deletions auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2661,7 +2661,7 @@ example: s0
[float]
=== process
These fields contains process and user information. Available only on Linux when using the eBPF backend.
These fields contain process and user information. Available only on Linux when using the eBPF backend.
Expand All @@ -2674,7 +2674,7 @@ type: keyword
--
*`file.process.executable`*::
*`file.process.name`*::
+
--
Process command.
Expand All @@ -2697,7 +2697,7 @@ type: integer
--
User ID (euid).
type: integer
type: keyword
--
Expand All @@ -2715,7 +2715,7 @@ type: keyword
--
Group ID (egid).
type: integer
type: keyword
--
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/include/fields.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion auditbeat/module/file_integrity/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func buildMetricbeatEvent(e *Event, existedBefore bool) mb.Event {

if e.Process != nil {
file["process.entity_id"] = e.Process.EntityID
file["process.executable"] = e.Process.Name
file["process.name"] = e.Process.Name
file["process.pid"] = e.Process.PID
file["process.user.id"] = e.Process.User.ID
file["process.user.name"] = e.Process.User.Name
Expand Down

0 comments on commit 7ada154

Please sign in to comment.