-
Notifications
You must be signed in to change notification settings - Fork 504
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
Helm chart scans use only 4 policies #946
Comments
I was able to reproduce the issue in Terrascan versions higher than 1.6.0.
|
Hi @MMerzinger, The scan behavior before In We need to investigate why |
Hi @kanchwala-yusuf, I wasn't aware of the filter concept in version 1.7.0, but I definitely agree on only validating the policies that are applicable to the resource type. |
Hello @cesar-rodriguez, @kanchwala-yusuf, The root cause of this issue is that a few of the Thanks |
Hello everyone
Description
I tried to scan a helm chart with the latest version of Terrascan using Docker and the binary on ubuntu. Unfortunately, terrascan only used 4 policies and not the whole policy set available for Kubernetes resources.
What I Did
I used the docker image and a fresh installation on ubuntu 20.04.
First: Create a new Helm chart.
helm create demo
I used helm 3.6.2. To make sure it definitely violates a policy I modified the values file by adding these lines:
Next I scanned the chart:
Next I tried it with version 1.7.0:
Same result. So I tried it with 1.6.0:
Now we have some policy violations.
FYI: I had the same results with fresh installations on ubuntu. Playing around with categories, e.g. by explicitly selecting the kubernetes_pod category results in an error:
The text was updated successfully, but these errors were encountered: