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

feat(enforcer) : Capabilities support #1538

Open
1 of 2 tasks
Aryan-sharma11 opened this issue Dec 7, 2023 · 2 comments · Fixed by #1543 · May be fixed by #1596
Open
1 of 2 tasks

feat(enforcer) : Capabilities support #1538

Aryan-sharma11 opened this issue Dec 7, 2023 · 2 comments · Fixed by #1543 · May be fixed by #1596
Assignees
Labels
enhancement New feature or request

Comments

@Aryan-sharma11
Copy link
Member

Aryan-sharma11 commented Dec 7, 2023

Feature Request

Short Description
Currently, we do not support capabilities with BPFLSM enforcer.

Task lists

  • Support for enforcement of capabilities rules - ( using CAPABLE hook ) feat: Add capabilities support for BPFLSM #1543
  • Implement observability for Linux capabilities in ebpf monitor (probing cap_capable( ) function to trace capabilities)
@Aryan-sharma11 Aryan-sharma11 added the enhancement New feature or request label Dec 7, 2023
@Aryan-sharma11 Aryan-sharma11 self-assigned this Dec 7, 2023
@nyrahul
Copy link
Contributor

nyrahul commented Dec 18, 2023

  • list of all the caps that will be supported? ( Should be supporting all the Linux capabilities ( around 40 ) .
  • sample policies to be fulfilled. Policy
  • high level design to achieve

@Aryan-sharma11
Copy link
Member Author

We have implemented the capable hook for the enforcement of capabilities rules in BPFLSM in #1543, although for Observability right now we are keeping this on hold, as while implementing the Kprobe to trace capabiliities we observed that a lot of events were being generated, which was causing a lot of events being lost. Keeping this in mind and also the performance impact a new design discussion to handle this amount of events will be done with the team.

@daemon1024 daemon1024 changed the title feat(enforcer) : Capabilities support in BPFLSM feat(enforcer) : Capabilities support Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
3 participants