-
Notifications
You must be signed in to change notification settings - Fork 955
fix(kubernetes): eliminate Critical/High container CVEs (slim runtime base, Go 1.25, otel 1.43, Dependabot docker) #966
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
Open
dvaldivia
wants to merge
4
commits into
opensandbox-group:main
Choose a base branch
from
dvaldivia:fix/trivy-critical-high-vulns
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
ae1dc1b
fix(kubernetes): eliminate Critical/High CVEs via slim runtime base +…
dvaldivia c70c735
chore(ci): add Dependabot config and pin component base images
dvaldivia 3d5869a
fix: address PR review comments
dvaldivia e1462b3
ci(kubernetes): bump CI Go to 1.25 to match go.mod
dvaldivia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| # Dependabot configuration for OpenSandbox. | ||
| # | ||
| # This file makes the previously UI-only Dependabot setup reviewable in-tree and, | ||
| # critically, adds the "docker" ecosystem so container base images (golang, debian, | ||
| # alpine, python, ubuntu) are kept patched. Stale base images were the root cause of | ||
| # the bulk of the Critical/High OS-package CVEs found by Trivy: Go modules were being | ||
| # bumped but the images they ship in were never refreshed. | ||
| # | ||
| # Updates are grouped per ecosystem to keep PR volume manageable. | ||
| version: 2 | ||
| updates: | ||
| # ---- Go modules ---------------------------------------------------------- | ||
| - package-ecosystem: gomod | ||
| directories: | ||
| - /kubernetes | ||
| - /components/egress | ||
| - /components/execd | ||
| - /components/ingress | ||
| - /components/internal | ||
| - /sdks/sandbox/go | ||
| - /tests/go | ||
| - /examples/chrome | ||
| schedule: | ||
| interval: weekly | ||
| open-pull-requests-limit: 10 | ||
| groups: | ||
| go-minor-patch: | ||
| update-types: | ||
| - minor | ||
| - patch | ||
|
|
||
| # ---- Container base images ---------------------------------------------- | ||
| # The gap that let OS-package CVEs accumulate. Covers every Dockerfile dir; | ||
| # bases are pinned by tag@digest so Dependabot bumps both the tag and digest. | ||
| - package-ecosystem: docker | ||
| directories: | ||
| - /kubernetes | ||
| - /components/egress | ||
| - /components/execd | ||
| - /components/ingress | ||
| - /server | ||
| - /sandboxes/code-interpreter | ||
| - /examples/chrome | ||
| - /examples/desktop | ||
| - /examples/playwright | ||
| - /examples/vscode | ||
| schedule: | ||
| interval: weekly | ||
| open-pull-requests-limit: 10 | ||
| groups: | ||
| docker-images: | ||
| patterns: | ||
| - "*" | ||
|
|
||
| # ---- Python (uv / pip) --------------------------------------------------- | ||
| - package-ecosystem: pip | ||
|
dvaldivia marked this conversation as resolved.
Outdated
|
||
| directories: | ||
| - /server | ||
| - /cli | ||
| - /sdks/code-interpreter/python | ||
| - /sdks/mcp/sandbox/python | ||
| - /sdks/sandbox/python | ||
| - /tests/python | ||
| schedule: | ||
| interval: weekly | ||
| open-pull-requests-limit: 10 | ||
| groups: | ||
| python-minor-patch: | ||
| update-types: | ||
| - minor | ||
| - patch | ||
|
|
||
| # ---- JavaScript / npm ---------------------------------------------------- | ||
| - package-ecosystem: npm | ||
| directories: | ||
| - /docs | ||
| - /sdks | ||
| - /sdks/code-interpreter/javascript | ||
| - /sdks/sandbox/javascript | ||
|
dvaldivia marked this conversation as resolved.
Outdated
|
||
| - /tests/javascript | ||
| schedule: | ||
| interval: weekly | ||
| open-pull-requests-limit: 10 | ||
| groups: | ||
| npm-minor-patch: | ||
| update-types: | ||
| - minor | ||
| - patch | ||
|
|
||
| # ---- GitHub Actions ------------------------------------------------------ | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: weekly | ||
| open-pull-requests-limit: 5 | ||
| groups: | ||
| actions: | ||
| patterns: | ||
| - "*" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.