Replies: 2 comments 2 replies
-
@dsever thanks for the report! {
"bom-ref": "pkg:k8s/go.etcd.io%2Fetcd%[email protected]",
"type": "application",
"name": "go.etcd.io/etcd/v3",
"version": "v3.5.15-0",
"purl": "pkg:k8s/go.etcd.io%2Fetcd%[email protected]",
"properties": [
{
"name": "aquasecurity:trivy:resource:Name",
"value": "etcd-kind-control-plane"
},
{
"name": "aquasecurity:trivy:resource:Type",
"value": "controlPlane"
}
]
}, |
Beta Was this translation helpful? Give feedback.
2 replies
-
It make sense as e.g status for minikube:
then kind:
Basically in minikube case there is imageID but is not properly consumable by code https://github.com/aquasecurity/trivy-kubernetes/blob/812ea842831c9f92184993d3810c9d28695e4de1/pkg/k8s/k8s.go#L908 as it will return junk |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
We are running trivy to generate KBOM and use it for offline scanning
Commnda: /usr/bin/trivy k8s minikube --format cyclonedx --disable-node-collector
But generated KBOM is not reflecting installed versions of the installed components (e.g. api, schedulers, proxy...) only for items installed a packages like kubelet
Desired Behavior
KBOM should include artifact versions as well, most likely SHA in case of containers.
Actual Behavior
Versions are missing for system components that we run as containers
Reproduction Steps
1.Use minikube 2.run command trivy k8s minikube --format cyclonedx --disable-node-collector 3. observe output ...
Target
Kubernetes
Scanner
None
Output Format
CycloneDX
Mode
Standalone
Debug Output
Operating System
Ubuntu 22.04
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions