Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support selecting events from specific containers #95

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

piax93
Copy link
Collaborator

@piax93 piax93 commented Nov 6, 2024

This change adds a configuration option compatible with all existing probes which allows selecting running containers on the host via a list of label filters and only track networking events for those.
That's achieved via matching the mount namespace for each process with the one to which the main processes of the containers belong. It's the same kind of strategy adopted by many scripts in bcc-tools.

@piax93 piax93 requested review from Qmando and danielpops November 6, 2024 14:29
@piax93 piax93 merged commit d649e71 into master Nov 7, 2024
3 checks passed
@piax93 piax93 deleted the u/mpiano/SEC-19569 branch November 7, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants