Replies: 3 comments 7 replies
-
Have run the summary command again and nolonger getting |
Beta Was this translation helpful? Give feedback.
-
@pfrydids I tried to investigate and this is what I have namespace: default, pod: postgres-pod (kubernetes)
Tests: 96 (SUCCESSES: 82, FAILURES: 14)
Failures: 14 (UNKNOWN: 0, LOW: 10, MEDIUM: 3, HIGH: 1, CRITICAL: 0)
namespace: default, pod: postgres-pod
Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)
namespace: default, pod: postgres-pod (gobinary)
Total: 55 (UNKNOWN: 0, LOW: 1, MEDIUM: 20, HIGH: 31, CRITICAL: 3)
And for the summary report: Summary Report for docker-desktop
Workload Assessment
┌───────────┬──────────────────┬───────────────────┬────────────────────┬───────────────────┐
│ Namespace │ Resource │ Vulnerabilities │ Misconfigurations │ Secrets │
│ │ ├───┬───┬───┬───┬───┼───┬───┬───┬────┬───┼───┬───┬───┬───┬───┤
│ │ │ C │ H │ M │ L │ U │ C │ H │ M │ L │ U │ C │ H │ M │ L │ U │
├───────────┼──────────────────┼───┼───┼───┼───┼───┼───┼───┼───┼────┼───┼───┼───┼───┼───┼───┤
│ default │ Pod/postgres-pod │ │ │ │ │ │ │ 1 │ 3 │ 10 │ │ │ │ │ │ │
└───────────┴──────────────────┴───┴───┴───┴───┴───┴───┴───┴───┴────┴───┴───┴───┴───┴───┴───┘
Severities: C=CRITICAL H=HIGH M=MEDIUM L=LOW U=UNKNOWN
Infra Assessment
┌───────────┬──────────┬───────────────────┬───────────────────┬───────────────────┐
│ Namespace │ Resource │ Vulnerabilities │ Misconfigurations │ Secrets │
│ │ ├───┬───┬───┬───┬───┼───┬───┬───┬───┬───┼───┬───┬───┬───┬───┤
│ │ │ C │ H │ M │ L │ U │ C │ H │ M │ L │ U │ C │ H │ M │ L │ U │
└───────────┴──────────┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
Severities: C=CRITICAL H=HIGH M=MEDIUM L=LOW U=UNKNOWN
RBAC Assessment
┌───────────┬──────────┬───────────────────┐
│ Namespace │ Resource │ RBAC Assessment │
│ │ ├───┬───┬───┬───┬───┤
│ │ │ C │ H │ M │ L │ U │
└───────────┴──────────┴───┴───┴───┴───┴───┘
Severities: C=CRITICAL H=HIGH M=MEDIUM L=LOW U=UNKNOWN
The workload assessment seems to match the table results. You might have missed the result in the output so I would doublecheck @pfrydids. As for the Infra and RBAC assessment summary result, is it expected @afdesk? |
Beta Was this translation helpful? Give feedback.
-
@pfrydids thanks for the report again |
Beta Was this translation helpful? Give feedback.
-
Description
For this workload
Running two different commands
trivy k8s --db-repository public.ecr.aws/aquasecurity/trivy-db --report all --include-namespaces test --timeout 15m
produces (including only the count section)
but
trivy k8s --db-repository public.ecr.aws/aquasecurity/trivy-db --report summary --include-namespaces test --timeout 15m
produces
Desired Behavior
That as a user of trivy I have confidence in the summary report
Actual Behavior
The summary report is inconsistent with the all report
Reproduction Steps
Target
Kubernetes
Scanner
Vulnerability
Output Format
Table
Mode
Standalone
Debug Output
Operating System
ubuntu 20.04
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions