-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from tks98/metrics-docs
Documentation update
- Loading branch information
Showing
5 changed files
with
29 additions
and
3 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
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 @@ | ||
# Vulnerability Results and Metrics | ||
|
||
### Prometheus Metrics | ||
After an image is scanned, the scan results will be exported to prometheus. The labels to export can be configured. | ||
|
||
By default, all labels are enabled. | ||
```yaml | ||
metricsLabels: "report_name, image_namespace, image_registry, image_repository, | ||
image_tag,image_digest, severity, vulnerability_id, vulnerable_resource_name, | ||
installed_resource_version, fixed_resource_version, vulnerability_title, | ||
vulnerability_link" | ||
``` | ||
Prometheus queries can be used to gain insight into image vulnerabilities on your cluster. This can be useful for auditing purposes. | ||
A metric is exported for every vulnerability detected in each container image. | ||
![prometheus](prometheus.png) | ||
Labels can be used to narrow down and filter results. | ||
![prometheus](prometheus_labels.png) | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.