Commit cb4cbb7
committed
x-pack/auditbeat/module/system/process Report Linux capabilities
Implements #36404
ECS: https://www.elastic.co/guide/en/ecs/master/ecs-process.html#field-process-thread-capabilities-effective
Example output:
```
{
"@timestamp": "2023-12-05T19:34:54.425Z",
"@metadata": {
"beat": "auditbeat",
"type": "_doc",
"version": "8.12.0"
},
"process": {
"thread": {
"capabilities": {
"effective": [
"CAP_DAC_READ_SEARCH",
"CAP_SYS_RESOURCE"
],
"permitted": [
"CAP_DAC_READ_SEARCH",
"CAP_SYS_RESOURCE"
]
}
},
"entity_id": "DADEDQU03GoDNhc1",
"pid": 2841325,
"start": "2023-12-05T19:32:53.180Z",
"args": [
"systemd-userwork: waiting..."
],
...
...
```
Don't merge, this depends on two external PRs:
elastic/go-sysinfo#196
elastic/go-sysinfo#197
Next step is adding the same to add_process_metadata1 parent 62c5e91 commit cb4cbb7
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
353 | 354 | | |
354 | 355 | | |
355 | 356 | | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
356 | 368 | | |
357 | 369 | | |
358 | 370 | | |
| |||
488 | 500 | | |
489 | 501 | | |
490 | 502 | | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
491 | 510 | | |
492 | 511 | | |
493 | 512 | | |
| |||
0 commit comments