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
Tutorial: Correlate additional metadata with events #2050
base: main
Are you sure you want to change the base?
Conversation
Tutorial with initial section that addresses translating uids and auids into user names. Fixes: 2030 Signed-off-by: Christian Hörtnagl <christian2@univie.ac.at>
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@christian-2 Thanks for the tutorial, this is definitely a good start. A bash script works, but I have some concerns for putting this into the real world, it may not be performant enough and may not able to deliver robust real time results. I am going to explore some middle layers like FluentBit or Vector.dev to further enrich the event outputs. |
@yaot There is also always the other option that I had mentioned in #2030: an e.g. Go implementation of a gRPC client for carrying out the script's task with high performance. Admittedly I am not planning to work on this myself right now. But perhaps there is a way to "upvote" such a feature such that it may receive more overall attention. Maybe @mtardy can advise. In any case, good luck for your efforts. |
@christian-2 Is that the right link? I don't see things related to the gRPC client. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, we've been discussing this offline and we've realized that this would make an interesting blog post (since we want to remove the "tutorials" section).
Would you have a blog on which you would like to publish this? If not, we can publish on https://cilium.io/blog/. In any cases we can also guide you :) tell me what you think about it.
@mtardy Yes, I for one would be interested in participating in a blog post suitable for https://cilium.io/blog . It's an honor. I don't maintain a blog otherwise. |
Could you help us with the next steps @xmulligan? I think it would mean opening a PR to add a new entry under https://github.com/cilium/cilium.io/tree/main/src/posts. |
Yes, the correct way would be to create a PR like this one cilium/cilium.io#448 |
As an industry experience, especially for security and observability perspectives; I mentioned this in my original request too #2015. It will be very helpful if tetragon agent can provide a reliable way to output username, the |
@mtardy I am still planning to contribute that blog post (I should have all components ready), but in light of what I learned in #2228 about file descriptors I am also wondering whether a similar treatment could perhaps make sense for usernames in particular: I.e. let Tetragon parse UPDATE On reflection, it's perhaps too strong an assumption (even for Linux alone) that |
thanks @christian-2 . Totally agreed that: Again, I want to emphasize the intention of why, the |
So indeed, This is tricky, in the case of Tetragon we can't even use the same things used as in other tools (using the libc) because we want to build statically. But this thing as been requested by multiple people and we see the interest. |
Tutorial with initial section that addresses translating uids and auids into user names.
Fixes #2030