-
Notifications
You must be signed in to change notification settings - Fork 333
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
non-k8s: KubeArmor panics when not-enabled policy type is received #1787
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Comments
Related to #1321 |
I'm interested in working on this issue @DelusionalOptimist |
Hi , I was hoping to contribute to KubeArmor and had setup my environment and the github repo, can someone tell me how to get started further, how do i learn more about it , I haven't used it before and am finding the issue a bit confusing , where do i use the 1st step and what is it used for ? |
itsCheithanya
added a commit
to itsCheithanya/KubeArmor
that referenced
this issue
Jun 24, 2024
Signed-off-by: Cheithanya <[email protected]>
7 tasks
itsCheithanya
added a commit
to itsCheithanya/KubeArmor
that referenced
this issue
Jun 28, 2024
Signed-off-by: Cheithanya <[email protected]>
itsCheithanya
added a commit
to itsCheithanya/KubeArmor
that referenced
this issue
Jul 22, 2024
Signed-off-by: Cheithanya <[email protected]>
daemon1024
pushed a commit
to itsCheithanya/KubeArmor
that referenced
this issue
Aug 12, 2024
Signed-off-by: Cheithanya <[email protected]>
DelusionalOptimist
added a commit
that referenced
this issue
Aug 12, 2024
Fixes bug #1787 non-k8s: KubeArmor panics when not-enabled policy type is received
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Bug Report
General Information
To Reproduce
Modify
make run
target in KubeArmor's Makefile to something like below such that host policy is disabled:Once KubeArmor is running, send the below host policy by running
karmor vm policy --gRPC=:32767 add <path-to-policy>
:You'll see that KubeArmor panics and dies with the below log:
Similar behavior is observed when container policy is disabled.
Expected behavior
KubeArmor should not panic and just log OR send back the response that policy enforcement for this
kind
(KubeArmorPolicy/KubeArmorHostPolicy) is not enabled.The text was updated successfully, but these errors were encountered: