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

BPF LSM Enforcement for unorchestrated containers #1206

Merged
merged 2 commits into from
May 15, 2023

Conversation

daemon1024
Copy link
Member

@daemon1024 daemon1024 commented Apr 24, 2023

Enable support for policy enforcement for unorchestrated containers where BPF LSM is the enforcer

Purpose of PR?:

Fixes #838

Does this PR introduce a breaking change?

If the changes in this PR are manually verified, list down the scenarios covered::

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Bug fix. Fixes #
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

@daemon1024 daemon1024 requested a review from Ankurk99 April 24, 2023 18:52
@daemon1024 daemon1024 changed the title core: map containers to policy endpoint in non k8s env BPF LSM Enforcement for unorchestrated containers Apr 24, 2023
This commit enables support for policy enforcement for unorchestrated containers where BPF LSM is the enforcer

Signed-off-by: daemon1024 <[email protected]>
@daemon1024 daemon1024 force-pushed the bpflsm-container-only branch from 03025ed to bda7a67 Compare April 25, 2023 06:45
KubeArmor/core/crioHandler.go Show resolved Hide resolved
KubeArmor/core/crioHandler.go Outdated Show resolved Hide resolved
Copy link
Member

@DelusionalOptimist DelusionalOptimist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

Copy link
Member

@Ankurk99 Ankurk99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@nyrahul nyrahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Great PR!

@nyrahul
Copy link
Contributor

nyrahul commented May 15, 2023

I was hoping we can automate the system tests for this. Can we create another issue and handle it there since it would require provisioning of the resources?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support BPF-LSM enforcement in containerized workloads
4 participants