-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add kbom documentation (#5363)
- Loading branch information
Showing
6 changed files
with
191 additions
and
119 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Kubernetes | ||
|
||
When scanning a Kubernetes cluster, Trivy differentiates between the following: | ||
|
||
1. Cluster infrastructure (e.g api-server, kubelet, addons) | ||
1. Cluster configuration (e.g Roles, ClusterRoles). | ||
1. Application workloads (e.g nginx, postgresql). | ||
|
||
Whenever Trivy scans either of these Kubernetes resources, the container image is scanned separately to the Kubernetes resource definition (the YAML manifest) that defines the resource. | ||
When scanning any of the above, the container image is scanned separately to the Kubernetes resource definition (the YAML manifest) that defines the resource. | ||
|
||
Container image is scanned for: | ||
- Vulnerabilities | ||
- Misconfigurations | ||
- Exposed secrets | ||
|
||
Kubernetes resource definition is scanned for: | ||
- Vulnerabilities - partially supported through [KBOM scanning](#KBOM) | ||
- Misconfigurations | ||
- Exposed secrets | ||
|
||
To learn more, please see the [documentation for Kubernetes scanning](../target/kubernetes.md) |
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.