ci: proposal of vulnerability scanning pipeline of the chart's images
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, helm, kubernetes, python
- Domain
- ci-cd, infrastructure, security
Research direction
Read the chart configuration and existing GitHub Actions workflows in the repository, then review the working fork run linked in the issue and related issue #681. Decide how scans should handle third-party images, which severity threshold should fail CI, and whether results should be published to the Security tab; done means a weekly, on-demand, and release-please-triggered workflow scans the images with Trivy using those decisions.
Written by the indexing model from the issue text.
Description
The chart deploys about 26 images: ours, stac-utils', and third-party (Crunchy, Grafana, Prometheus, …).
Proposal: a workflow that scans all of them with Trivy every week, on demand and on the release-please PR, and fails on fixable HIGH/CRITICAL findings.
I worked with claude on this and got a working version that I tested on a fork: https://github.com/lhoupert/eoapi-k8s/actions/runs/42801973898
Questions I still have:
- Should the CI pipeline fail on fixable HIGH and CRITICAL, or fixable CRITICAL only?
- Should images we don't build (Crunchy, Grafana, Prometheus, …) also fail the check?
- Should findings also appear in the Security tab, or only in the run log? (I like the idea of the repo security tab so we can easily visualise where are the issues)
Related: #681
- Dominant language
- Python
- Stars
- 34
- Forks
- 17
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 56
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from developmentseed/eoapi-k8s
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
developmentseed/eoapi-k8s#713 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 38/100
developmentseed/eoapi-k8s#708 · 5 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
developmentseed/eoapi-k8s#703 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
developmentseed/eoapi-k8s#681 · 5 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
developmentseed/eoapi-k8s#621 · 1 comment ·
Maintainers usually reply within 1 day
All issues in developmentseed/eoapi-k8s
Similar issues
-
Task select patterns with uppercase letters never matchPossibly taken @manobhisriram claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
app: scripts status: backlog type: housekeeping
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
netbox-community/netbox-scripts#239 ·
Maintainers usually reply within 1 day
-
Lambda deploys fail once the bundle grows by about 254 KBPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
developmentseed/titiler-cmr#341 ·
Maintainers usually reply within 1 day
-
Card tables add "..." to every value in a DataFrame column when any value is longer than 30 charactersPossibly taken @omkarbandikatte claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day