You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 15b4f62
Browse filesBrowse the repository at this point in the historyBrowse files
[Auditd Manager] Add docs to support add_session_metadata processor (elastic#10544)
Adds documentation for enabling and configuring the add_session_metadata processor for the Auditd Manager integration. The add_session_metadata processor powers the Session View utility in Elastic Security.
---------
Co-authored-by: Michael Wolf <michael.wolf@elastic.co>
Copy file name to clipboardExpand all lines: packages/auditd_manager/_dev/build/docs/README.md
+37-14Lines changed: 37 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,30 @@ is a part of the Linux kernel.
5
5
6
6
This integration is available only for Linux.
7
7
8
+
## Session View powered by Auditd Manager [BETA]
9
+
10
+
The `add_session_metadata` processor for Auditd Manager powers the [Session View](https://www.elastic.co/guide/en/security/current/session-view.html) utility for the Elastic Security Platform.
11
+
12
+
To enable the `add_session_metadata` processor for Auditd Manager:
13
+
14
+
1. Navigate to the Auditd Manager integration configuration in Kibana.
15
+
2. Add the `add_session_metadata` processor configuration under the **Processors** section of Advanced options.
16
+
17
+
```
18
+
- add_session_metadata:
19
+
backend: "auto"
20
+
```
21
+
22
+
3. Add these rules to the **Audit Rules** section of the configuration:
23
+
24
+
```
25
+
-a always,exit -F arch=b64 -S execve,execveat -k exec
26
+
-a always,exit -F arch=b64 -S exit_group
27
+
-a always,exit -F arch=b64 -S setsid
28
+
```
29
+
30
+
Changes are applied automatically, and you do not have to restart the service.
31
+
8
32
## How it works
9
33
10
34
This integration establishes a subscription to the kernel to receive the events
@@ -31,28 +55,27 @@ commands to see if the `auditd` service is running and stop it:
31
55
32
56
* See if `auditd` is running:
33
57
34
-
```shell
35
-
service auditd status
36
-
```
58
+
```shell
59
+
service auditd status
60
+
```
37
61
38
62
* Stop the `auditd` service:
39
63
40
-
```shell
41
-
service auditd stop
42
-
```
64
+
```shell
65
+
service auditd stop
66
+
```
43
67
44
68
* Disable `auditd` from starting on boot:
45
69
46
-
```shell
47
-
chkconfig auditd off
48
-
```
70
+
```shell
71
+
`chkconfig auditd off`
72
+
```
49
73
50
-
To save CPU usage and disk space, you can use this command to stop `journald`
51
-
from listening to audit messages:
74
+
* Stop `journald` from listening to audit messages (to save CPU usage and disk space):
Copy file name to clipboardExpand all lines: packages/auditd_manager/docs/README.md
+37-14Lines changed: 37 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,30 @@ is a part of the Linux kernel.
5
5
6
6
This integration is available only for Linux.
7
7
8
+
## Session View powered by Auditd Manager [BETA]
9
+
10
+
The `add_session_metadata` processor for Auditd Manager powers the [Session View](https://www.elastic.co/guide/en/security/current/session-view.html) utility for the Elastic Security Platform.
11
+
12
+
To enable the `add_session_metadata` processor for Auditd Manager:
13
+
14
+
1. Navigate to the Auditd Manager integration configuration in Kibana.
15
+
2. Add the `add_session_metadata` processor configuration under the **Processors** section of Advanced options.
16
+
17
+
```
18
+
- add_session_metadata:
19
+
backend: "auto"
20
+
```
21
+
22
+
3. Add these rules to the **Audit Rules** section of the configuration:
23
+
24
+
```
25
+
-a always,exit -F arch=b64 -S execve,execveat -k exec
26
+
-a always,exit -F arch=b64 -S exit_group
27
+
-a always,exit -F arch=b64 -S setsid
28
+
```
29
+
30
+
Changes are applied automatically, and you do not have to restart the service.
31
+
8
32
## How it works
9
33
10
34
This integration establishes a subscription to the kernel to receive the events
@@ -31,28 +55,27 @@ commands to see if the `auditd` service is running and stop it:
31
55
32
56
* See if `auditd` is running:
33
57
34
-
```shell
35
-
service auditd status
36
-
```
58
+
```shell
59
+
service auditd status
60
+
```
37
61
38
62
* Stop the `auditd` service:
39
63
40
-
```shell
41
-
service auditd stop
42
-
```
64
+
```shell
65
+
service auditd stop
66
+
```
43
67
44
68
* Disable `auditd` from starting on boot:
45
69
46
-
```shell
47
-
chkconfig auditd off
48
-
```
70
+
```shell
71
+
`chkconfig auditd off`
72
+
```
49
73
50
-
To save CPU usage and disk space, you can use this command to stop `journald`
51
-
from listening to audit messages:
74
+
* Stop `journald` from listening to audit messages (to save CPU usage and disk space):
0 commit comments