For the complete documentation index, see llms.txt. This page is also available as Markdown.

eBPF进程安全数据

简介

input_process_security插件可以实现利用ebpf探针采集进程安全相关动作。

事件能力

列含义见 概览 · 事件能力列说明

Log
Metric
Span

版本

Beta

版本说明

  • 推荐版本:LoongCollector v3.1.6 及以上

配置参数

参数

类型

是否必填

默认值

说明

Type

string

/

插件类型。固定为input_process_security

输出格式

字段
类型
说明

exec_id

string

执行id。一个进程内的所有触发事件使用同一个exec_id,记录进程内所有关联的活动。

pid

string

进程id

uid

string

账号id

user

string

进程运行的用户信息

call_name

string

系统调用函数名,可选值:execve(进程执行)、exit(进程退出)等

binary

string

执行的命令,二进制可执行文件路径,如/usr/bin/python3等

arguments

string

进程参数

cwd

string

当前工作路径

cap.permitted

string

许可能力集(capabilities),定义进程可执行的权限集合

cap.effective

string

有效能力集,进程当前拥有的有效权限集合

cap.inheritable

string

可继承能力集,子进程可继承的权限集合

parent.exec_id

string

父进程执行id

parent.pid

string

父进程id

parent.uid

string

父进程账号id

parent.user

string

父进程运行的用户信息

parent.binary

string

父进程可执行文件路径

parent.arguments

string

父进程参数

parent.cwd

string

父进程工作路径

exit_code

string

进程退出码(仅在exit事件中出现)

exit_tid

string

退出线程id(仅在exit事件中出现)

__time__

int64

事件发生时间戳

K8s

字段
类型
说明

k8s.namespace

string

K8s命名空间

k8s.pod.name

string

K8s Pod名称

k8s.container.name

string

K8s资源配置中的容器名称

k8s.workload.name

string

K8s 负载名称

k8s.workload.kind

string

K8s 负载类型

Container

字段
类型
说明

container.id

string

容器id

container.name

string

本地容器名

container.image.id

string

镜像id

container.image.name

string

镜像name

样例

采集进程安全数据

  • 输入

  • 采集配置

  • 输出

Last updated