teleport/lib/bpf
Vitor Enes c96809399a
Add server_hostname to session.* events (#18812)
With this commit, `session.*` events now also contain a `server_hostname` field.

Example:

```json
{
  "argv": null,
  "cgroup_id": 6926,
  "cluster_name": "vitor.teleport.sh",
  "code": "T4000I",
  "ei": 17,
  "event": "session.command",
  "login": "root",
  "namespace": "default",
  "path": "/usr/bin/date",
  "pid": 98679,
  "ppid": 98668,
  "program": "date",
  "return_code": 0,
  "server_hostname": "ip-172-31-10-157",
  "server_id": "8369d1d1-eea5-4074-8f64-0103f1e1fb00",
  "sid": "a40353c4-93dc-4d6b-a481-5546ecafb83e",
  "time": "2022-11-28T16:32:34.342Z",
  "uid": "cbd9e562-8932-405d-974c-11637f91d711",
  "user": "vitor@goteleport.com"
}
```
2022-11-28 20:28:41 +00:00
..
bytecode Updated BPF asset embedding. 2021-07-28 17:16:14 -07:00
bpf.go Add server_hostname to session.* events (#18812) 2022-11-28 20:28:41 +00:00
bpf_nop.go Enable network BPF modules only when needed. (#18497) 2022-11-25 18:33:40 +00:00
bpf_test.go Add server_hostname to session.* events (#18812) 2022-11-28 20:28:41 +00:00
command.go Run GCI as make fix-imports (#17956) 2022-11-04 15:46:46 +00:00
common.go Add server_hostname to session.* events (#18812) 2022-11-28 20:28:41 +00:00
common_test.go Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
disk.go Run GCI as make fix-imports (#17956) 2022-11-04 15:46:46 +00:00
helper.go Add server_hostname to session.* events (#18812) 2022-11-28 20:28:41 +00:00
network.go Run GCI as make fix-imports (#17956) 2022-11-04 15:46:46 +00:00