-
Notifications
You must be signed in to change notification settings - Fork 893
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
Improve the trivy CVE scanning output #2764
Improve the trivy CVE scanning output #2764
Conversation
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Please also get rid of the /documents AND /image_lists folderS in this PR and address all comments from the previous PR. |
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
I see for example File ../image_lists/kf_latest_model-registry_images.txt successfully created Scanning jupyter-web-app:v1.9.0-rc.0 ... can we have something like Scanning images in ../image_lists/kf_latest_workbenches_images.txt
Scanning jupyter-web-app:v1.9.0-rc.0
... ? So a mini table per image in the logs. This makes it easier to verify the numbers for third parties. |
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
I fixed it. Can you check it ? |
Added the table for each log of scanning |
ah and it should not run on pull requests by default. It should run only if a PR has been merged into the master branch. This blocks other PRs such as #2769 because it takes 40 minutes to run. Add i think the formatting is a bit off
instead of
|
@AndersBennedsgaard I hope you can verify the CVE numbers per image and WG independently. |
@juliusvonkohout did you mean to tag @hansinikarunarathne instead ? |
No, i would like others to validate as well. |
@juliusvonkohout I'm not entirely sure what you mean. Do you want me to check if all Kubeflow images are caught by the script, or do you want me to run Trivy on the same images? Running Trivy to verify the numbers are the same when running locally version in GH actions seems redundant - especially due to the time it takes to scan all the images. However, speaking of the time to scan: you could probably introduce threading/multi-processing when scanning different images to speed up the script by a lot, since it should be possible to run the |
Yes, if you think that the CVE numbers are not worth checking. |
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
…nages Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
I made the adjustment according to this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AndersBennedsgaard, juliusvonkohout The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Template for Kubeflow manifests Issues
✏️ A brief description of the changes
✅ Contributor checklist
DCO
check)cla/google
check)