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

creating an event on mount launched in privileged container #205

Closed
wants to merge 6 commits into from

Conversation

h4l0gen
Copy link
Contributor

@h4l0gen h4l0gen commented Apr 18, 2024

creating an event on launching mound in privileged container

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind tests

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area commands

/area pkg

/area events

What this PR does / why we need it:
to trigger a stable incubating rule.
Which issue(s) this PR fixes:

Fixes #204

Special notes for your reviewer:

@poiana
Copy link

poiana commented Apr 18, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: h4l0gen
Once this PR has been reviewed and has the lgtm label, please assign fededp for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana added the size/S label Apr 18, 2024
@h4l0gen
Copy link
Contributor Author

h4l0gen commented Apr 18, 2024

In this event, flags are set syscall.CLONE_NEWNS | syscall.CLONE_NEWUSER as this action is in the privileged container.
Rule triggered successfully but this action shows an error as to launch mount inside privileged container we need more flags and permission like (cap_sys_admin) IMO that just make this event complex. What you think @leogr @FedeDP
WhatsApp Image 2024-04-18 at 05 59 46_b672cf74

Signed-off-by: h4l0gen <ks3913688@gmail.com>
Signed-off-by: Kapil Sharma <ks3913688@gmail.com>
Signed-off-by: Kapil Sharma <ks3913688@gmail.com>
@poiana poiana added size/M and removed size/L labels Apr 22, 2024
Signed-off-by: Kapil Sharma <ks3913688@gmail.com>
Signed-off-by: Kapil Sharma <ks3913688@gmail.com>
….go to mount_launched_in_privileged_container.go

Signed-off-by: Kapil Sharma <ks3913688@gmail.com>
@h4l0gen h4l0gen closed this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

event on enabled incubating rule Mount launched in privileged container
2 participants