1+ apiVersion : apiextensions.k8s.io/v1
2+ kind : CustomResourceDefinition
3+ metadata :
4+ name : vulnerabilityreports.trivy-operator.devopstales.io
5+ labels :
6+ app.kubernetes.io/managed-by : trivy-operator
7+ spec :
8+ group : trivy-operator.devopstales.io
9+ versions :
10+ - name : v1
11+ served : true
12+ storage : true
13+ schema :
14+ openAPIV3Schema :
15+ description : |
16+ VulnerabilityReport summarizes vulnerabilities in application dependencies and operating system packages
17+ built into container images.
18+ type : object
19+ required :
20+ - apiVersion
21+ - kind
22+ - metadata
23+ - report
24+ properties :
25+ apiVersion :
26+ type : string
27+ kind :
28+ type : string
29+ metadata :
30+ type : object
31+ report :
32+ description : |
33+ Report is the actual vulnerability report data.
34+ type : object
35+ required :
36+ - updateTimestamp
37+ - artifact
38+ - summary
39+ - vulnerabilities
40+ properties :
41+ updateTimestamp :
42+ description : |
43+ UpdateTimestamp is a timestamp representing the server time in UTC when this report was updated.
44+ type : string
45+ format : date-time
46+ registry :
47+ description : |
48+ Registry is the registry the Artifact was pulled from.
49+ type : object
50+ properties :
51+ server :
52+ description : |
53+ Server the FQDN of registry server.
54+ type : string
55+ artifact :
56+ description : |
57+ Artifact represents a standalone, executable package of software that includes everything needed to
58+ run an application.
59+ type : object
60+ properties :
61+ repository :
62+ description : |
63+ Repository is the name of the repository in the Artifact registry.
64+ type : string
65+ tag :
66+ description : |
67+ Tag is a mutable, human-readable string used to identify an Artifact.
68+ type : string
69+ summary :
70+ description : |
71+ Summary is a summary of Vulnerability counts grouped by Severity.
72+ type : object
73+ required :
74+ - criticalCount
75+ - highCount
76+ - mediumCount
77+ - lowCount
78+ - unknownCount
79+ - status
80+ properties :
81+ criticalCount :
82+ description : |
83+ CriticalCount is the number of vulnerabilities with Critical Severity.
84+ type : integer
85+ minimum : 0
86+ highCount :
87+ description : |
88+ HighCount is the number of vulnerabilities with High Severity.
89+ type : integer
90+ minimum : 0
91+ mediumCount :
92+ description : |
93+ MediumCount is the number of vulnerabilities with Medium Severity.
94+ type : integer
95+ minimum : 0
96+ lowCount :
97+ description : |
98+ LowCount is the number of vulnerabilities with Low Severity.
99+ type : integer
100+ minimum : 0
101+ unknownCount :
102+ description : |
103+ UnknownCount is the number of vulnerabilities with unknown severity.
104+ type : integer
105+ minimum : 0
106+ status :
107+ description : |
108+ The status of the image scann
109+ type : string
110+ enum :
111+ - OK
112+ - ERROR
113+ vulnerabilities :
114+ description : |
115+ Vulnerabilities is a list of operating system (OS) or application software Vulnerability items found in the Artifact.
116+ type : array
117+ items :
118+ type : object
119+ required :
120+ - vulnerabilityID
121+ - resource
122+ - installedVersion
123+ - severity
124+ - title
125+ properties :
126+ vulnerabilityID :
127+ description : |
128+ VulnerabilityID the vulnerability identifier.
129+ type : string
130+ resource :
131+ description : |
132+ Resource is a vulnerable package, application, or library.
133+ type : string
134+ installedVersion :
135+ description : |
136+ InstalledVersion indicates the installed version of the Resource.
137+ type : string
138+ score :
139+ type : number
140+ severity :
141+ type : string
142+ enum :
143+ - CRITICAL
144+ - HIGH
145+ - MEDIUM
146+ - LOW
147+ - UNKNOWN
148+ - NONE
149+ - ERROR
150+ title :
151+ type : string
152+ description :
153+ type : string
154+ primaryLink :
155+ type : string
156+ links :
157+ type : array
158+ items :
159+ type : string
160+ additionalPrinterColumns :
161+ - jsonPath : .report.artifact.repository
162+ type : string
163+ name : Repository
164+ description : The name of image repository
165+ - jsonPath : .report.artifact.tag
166+ type : string
167+ name : Tag
168+ description : The name of image tag
169+ - jsonPath : .metadata.creationTimestamp
170+ type : date
171+ name : Age
172+ description : The age of the report
173+ - jsonPath : .report.summary.criticalCount
174+ type : integer
175+ name : Critical
176+ description : The number of critical vulnerabilities
177+ priority : 1
178+ - jsonPath : .report.summary.highCount
179+ type : integer
180+ name : High
181+ description : The number of high vulnerabilities
182+ priority : 1
183+ - jsonPath : .report.summary.mediumCount
184+ type : integer
185+ name : Medium
186+ description : The number of medium vulnerabilities
187+ priority : 1
188+ - jsonPath : .report.summary.lowCount
189+ type : integer
190+ name : Low
191+ description : The number of low vulnerabilities
192+ priority : 1
193+ - jsonPath : .report.summary.unknownCount
194+ type : integer
195+ name : Unknown
196+ description : The number of unknown vulnerabilities
197+ priority : 1
198+ - jsonPath : .report.summary.status
199+ type : string
200+ name : STATUS
201+ description : The status of the image scann
202+ priority : 0
203+ scope : Namespaced
204+ names :
205+ singular : vulnerabilityreport
206+ plural : vulnerabilityreports
207+ kind : VulnerabilityReport
208+ listKind : VulnerabilityReportList
209+ categories :
210+ - all
211+ shortNames :
212+ - vuln
213+ - vulns
0 commit comments