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

Addition of the hostPID property to TestWorkflowSpec #6194

Open
FraNemo opened this issue Feb 24, 2025 · 1 comment
Open

Addition of the hostPID property to TestWorkflowSpec #6194

FraNemo opened this issue Feb 24, 2025 · 1 comment

Comments

@FraNemo
Copy link

FraNemo commented Feb 24, 2025

Is your feature request related to a problem? Please describe.

I'm trying to perform a security analysis with kube-bench on my minikube cluster (k8s 1.28) through a TestWorkflow. As requested from the tool documentation (under "Running in a Kubernetes cluster" https://aquasecurity.github.io/kube-bench/v0.6.15/running/), when kube-bench is run inside a pod it requires the access to the host's PID namespace in order to completely execute the scan. This is allowed by the property "hostPID" set to "true" in the Job manifest. This field is not available in a TestWorkflow right now.

Describe the solution you'd like

Addition of the "hostPID" field to TestWorkflowSpec in order to allow this type of security test.

@FraNemo FraNemo added the feature-request 🚀 New feature request label Feb 24, 2025
@vsukhin
Copy link
Collaborator

vsukhin commented Feb 24, 2025

thank you @FraNemo cc @olensmar @jmorante-ks

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

No branches or pull requests

2 participants