-
Notifications
You must be signed in to change notification settings - Fork 50
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
CVE reports incorrectly report images that are no longer deployed with CKF #674
Comments
Thanks @i-chvets! Let's use this issue to add the full list of images that are currently reported, and should not. So until now we have: I'd propose that we should also consider including the images defined in canonical/katib-rocks#17 (comment). But before we commit to removing those, let's double check where they were used in the first place. |
@i-chvets to take a look at |
In
|
@kimwnasptd |
Yes, let's remove it |
Another note. In order to remove incorrectly reported image canonical/seldon-core-operator#199 |
canonical/bundle-kubeflow#674 Summary of changes: - Modified scriot to retrieve images only from kserve-controller, because kserve-web-app is not deployed in this release.
@i-chvets what's the overall state at this point? Could you add a follow-up comment with all the images that we need to remove? |
|
# Description `kserve-web-app` is not deployed as part of 1.7 release. Get images script incorrectly retrieves image from `kserve-web-app` charm which incorrectly shows up on report of deployable images. This changes will address the issue by only scanning charm that is deployed in 1.7 release. More details are in canonical/bundle-kubeflow#674 Summary of changes: - Modified script to retrieve images only from kserve-controller, because kserve-web-app is not deployed in this release. NOTE: This change is only applicable to track/0.10
Katib issues that need to be handled to ensure reliable handling of default images: |
While not directly related, I'll add a link here regarding our effort to also remove the default template images for Katib canonical/katib-operators#132 |
Will close this one once we back-port the changes to CKF 1.7 as well |
Closing this issue since we merged both PRs |
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5137.
|
Bug Description
Current CVE reporting tools incorrectly report images that are not deployed in the final product. These images should be reviewed and removed from reporting.
To Reproduce
Run
tools/get-images.sh
scripts in each charm repository (on track branches) to get the list of images related to that charm. In some cases, this list might contain images that are no longer deployed/used. Example: https://github.com/canonical/seldon-core-operator/blob/track/1.15/tools/get-images.shExample of image in the report that is not actually deployed is
docker.io/seldonio/engine:1.12.0
. It it set in static list here. This should be removed from that script/list.Environment
Charm repositories,
tools/
directory on track branches.Relevant Log Output
N/A
Additional Context
Related issues and PRs in charm repositories:
canonical/seldon-core-operator#197
canonical/seldon-core-operator#186
Related PRs in CI and bundle repositories:
#666
canonical/kubeflow-ci#105
The text was updated successfully, but these errors were encountered: