aquasecurity / aquasecurity/tracee

Add container_start event and PID to existing_container

Open
#3,278 0 comments 0 reactions 1 assignee View on GitHub

@NDStrahilevitz is already working on this.

Since Jun 28, 2023.

area/events kind/feature priority/backlog
Dominant language
Go
Stars
4.6k
Forks
508
Avg merge
2d 8h
Merged PRs (30d)
9

Description

The existing_container event is useful to inform signatures and the user on the already running containers on a system before deploying tracee.

However, sometimes the launching PID of the container, the parent of all processes internal to it, is needed for application and security reasons. This information is not delivered with the existing_container event, nor with the current container_create event.

For existing containers, the PID can be gathered from the cgroup.procs file in the cgroup directory. For new containers, a container_start event will be added, tail called from sched_process_exec. This will also allow us to gather information on the container's privileges, environment variables, etc. from eBPF.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.