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

Image-based gadgets: It seems attribute from metadata file e.g hidden aren't respected anymore #2736

Open
mqasimsarfraz opened this issue Apr 18, 2024 · 0 comments

Comments

@mqasimsarfraz
Copy link
Member

Before #2512 we were hiding certain fields (columns) based on hidden attribute provided in the metadata file e.g (trace exec) but it seems we don't respect those attribute anymore and currently all the fields are being printed, which doesn't seem to be user friendly:

→ sudo -E ig run trace_exec
RUNTIME.CONTAINERNAME       MNTNS_ID    PID            PPID           UID            GID            LOGINUID       SESSIONID      RE… ARGS_COUNT     UPPE… ARGS_SIZE      COMM          ARGS          TIMESTAMP    
minikube-docker             4026533190  3643914        3104902        0              0              4294967295     4294967295     0   1              false 20             bridge        /opt/cni/bin… 2024-04-18T15
minikube-docker             4026533190  3643920        3104902        0              0              4294967295     4294967295     0   1              false 21             portmap       /opt/cni/bin… 2024-04-18T15

Impact

Not able to hide certain fields by default. Also, It would make sense to keep the default fields aligned with built in gadgets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants