-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(k8s): add support for vulnerability detection #5268
Merged
Merged
Changes from 10 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
a92a5c4
chore(deps): bump trivy-kubernetes
knqyf263 3bf3125
chore(deps): replace trivy-db
knqyf263 2f0646f
fix(purl): skip empty qualifiers
knqyf263 8d6275c
refactor(purl): add Class()
knqyf263 5e309e6
feat(k8s) add support for vulnerability detection
knqyf263 7bbd0d0
test(k8s): fix PURL for kubelet
knqyf263 8a4430d
add sbom analyzer test and integration test
DmitriyLewen d2cf197
fix typo
DmitriyLewen b49fe17
update KBOM golden file
DmitriyLewen 88160f5
move test to cyclonedx unmarshal
DmitriyLewen 0765482
feat: support other k8s vendor purl
chen-keinan 96a64a4
Merge branch 'main' into k8s_purl
knqyf263 0ef7fba
Merge branch 'main' into k8s_purl
knqyf263 d6bd096
Merge branch 'main' into k8s_purl
knqyf263 9defd4a
test: multi k8s provider purl
chen-keinan a640837
test: multi k8s provider purl
chen-keinan af27321
chore: refer upstream
knqyf263 5c9d2d0
docs: add a spec for the k8s type
knqyf263 a0d815d
fix: revert a regression
knqyf263 a960978
refactor: use strings.Cut
knqyf263 0ef60ec
fix: skip cloud k8s distributions
knqyf263 46347bb
test: fix PURLs
knqyf263 9c35374
chore: downgrade to go 1.20
knqyf263 07365c6
test(integration): fix k8s PURLs
knqyf263 e06442d
docs: add info about scan k8s components
DmitriyLewen 241002c
docs: move usage info to kubernetes target
DmitriyLewen 7c98227
docs: specify Kubernetes components
DmitriyLewen 24f2a8b
feat: add cloud k8s distributions
knqyf263 fe161ce
Merge branch 'main' into k8s_purl
knqyf263 25bc6c6
fix: add nolint
knqyf263 10a3dde
docs: typo
knqyf263 37688b0
fix: use the correct const
knqyf263 2b2153b
Merge branch 'main' into k8s_purl
knqyf263 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 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 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 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 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 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,16 @@ | ||
- bucket: "kubernetes::Official Kubernetes CVE Feed" | ||
pairs: | ||
- bucket: k8s.io/kubelet | ||
pairs: | ||
- key: CVE-2023-2431 | ||
value: | ||
PatchedVersions: | ||
- 1.24.14 | ||
- 1.25.9 | ||
- 1.26.4 | ||
- 1.27.1 | ||
VulnerableVersions: | ||
- "< 1.24.14" | ||
- ">= 1.25.0, < 1.25.9" | ||
- ">= 1.26.0, < 1.26.4" | ||
- ">= 1.27.0, < 1.27.1" |
This file contains 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.
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.
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.
TODO: refer to aquasecurity/trivy-db