-
Notifications
You must be signed in to change notification settings - Fork 937
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
Convert trivy_scan.sh into python #2758
Convert trivy_scan.sh into python #2758
Conversation
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Does trivy.sh and trivy.py produce the exact same output? Please check that once and upload it here if possible. |
Amazing, did you get rid of the kustomize error messages? Please also adjust the github workflow such that it is triggered in this PR. |
…rivy_scan.py Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
|
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Please do not use .gitkeep, but generate the directory in python |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
print(f"The vulnerability detection may be insufficient because security updates are not provided for {image_name}:{image_tag}") | ||
else: | ||
severity_counts = {"LOW": 0, "MEDIUM": 0, "HIGH": 0, "CRITICAL": 0} | ||
for vulns in vulnerabilities: |
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.
Please consider proper names. e.g. for vulnerability in vulnerabilities for the follow up PR.
Pull Request Template for Kubeflow manifests Issues
✏️ A brief description of the changes
✅ Contributor checklist
DCO
check)cla/google
check)