no security scanning for deactivated and/or removed packages
See original GitHub issueIs your feature request related to a problem? Please describe. We used to maintain a Helm chart that is failing security scanning due to it being based on outdated images:
error scanning image quay.io/k8scsi/csi-attacher:v1.2.1: schema v1 manifest not supported by trivy (package huawei-csi-plugin:0.3.0)
We have deprecated and removed the chart from our repo, but the security scanner still send mails complaining multiple times per day. We don’t plan on updating the chart, hence it being deprecated and removed.
Describe the solution you’d like Deprecated and/or removed packages should not get security scanned, or they should not send mails.
Describe alternatives you’ve considered An alternative solution would be to allow ignoring individual charts rather than just being able to deactivate security scanning on full repositories.
Additional context
The affected Helm chart is here on artifacthub. The affected huawei-csi-plugin
chart was deprecated in https://github.com/adfinis-sygroup/helm-charts/pull/516 and removed in https://github.com/adfinis-sygroup/helm-charts/pull/616.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top GitHub Comments
No worries! You can also opt-out of the scanner notifications from the control panel, but it works at the repository level, not per package. We’ll think a bit about adding an additional way to disable security scanning for a given package, thanks.
Will close this issue for now, please feel free to reopen it if needed.
Ah, thanks for the info, i’ll reinstate the chart so i can add the annotation and then remove it again as that seems like the most straigth forward way to get rid of the trivy mails for now.
An option to deactivate security scanning on individual charts might still be of value though, reviving a chart to add an annotation just to delete it again seems a bit overkill.