cilium / tetragon

eBPF-based Security Observability and Runtime Enforcement
https://tetragon.io
Apache License 2.0
3.66k stars 369 forks source link

cgrouprate: refactor code for registering into base #3146

Closed kkourt closed 1 day ago

kkourt commented 2 days ago

Instead of using base objects directly, it's cleaner to operate on the contents of the sensor object passed at registration time. Add some helper functions to identify these objects