forked from aquasecurity/starboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vulnerabilityreports.crd.yaml
177 lines (177 loc) · 4.74 KB
/
vulnerabilityreports.crd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: vulnerabilityreports.aquasecurity.github.io
labels:
app.kubernetes.io/managed-by: starboard
spec:
group: aquasecurity.github.io
versions:
- name: v1alpha1
served: true
storage: true
scope: Namespaced
names:
singular: vulnerabilityreport
plural: vulnerabilityreports
kind: VulnerabilityReport
listKind: VulnerabilityReportList
categories:
- all
shortNames:
- vuln
- vulns
validation:
openAPIV3Schema:
type: object
required:
- apiVersion
- kind
- metadata
- report
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
report:
type: object
required:
- scanner
- artifact
- summary
- vulnerabilities
properties:
scanner:
type: object
required:
- name
- vendor
- version
properties:
name:
type: string
vendor:
type: string
version:
type: string
registry:
type: object
properties:
server:
type: string
artifact:
type: object
properties:
repository:
type: string
digest:
type: string
tag:
type: string
mimeType:
type: string
summary:
type: object
required:
- criticalCount
- highCount
- mediumCount
- lowCount
- unknownCount
properties:
criticalCount:
type: integer
minimum: 0
highCount:
type: integer
minimum: 0
mediumCount:
type: integer
minimum: 0
lowCount:
type: integer
minimum: 0
unknownCount:
type: integer
minimum: 0
vulnerabilities:
type: array
items:
type: object
required:
- vulnerabilityID
- resource
- installedVersion
- fixedVersion
- severity
- title
properties:
vulnerabilityID:
type: string
resource:
type: string
installedVersion:
type: string
fixedVersion:
type: string
severity:
type: string
enum:
- CRITICAL
- HIGH
- MEDIUM
- LOW
- UNKNOWN
title:
type: string
description:
type: string
links:
type: array
items:
type: string
additionalPrinterColumns:
- JSONPath: .report.artifact.repository
type: string
name: Repository
description: The name of image repository
- JSONPath: .report.artifact.tag
type: string
name: Tag
description: The name of image tag
- JSONPath: .report.scanner.name
type: string
name: Scanner
description: The name of the vulnerability scanner
- JSONPath: .metadata.creationTimestamp
type: date
name: Age
description: The age of Vulnerability
- JSONPath: .report.summary.criticalCount
type: integer
name: Critical
description: The numer of critical vulnerabilities
priority: 1
- JSONPath: .report.summary.highCount
type: integer
name: High
description: The number of high vulnerabilities
priority: 1
- JSONPath: .report.summary.mediumCount
type: integer
name: Medium
description: The number of medium vulnerabilities
priority: 1
- JSONPath: .report.summary.lowCount
type: integer
name: Low
description: The number of low vulnerabilities
priority: 1
- JSONPath: .report.summary.unknownCount
type: integer
name: Unknown
description: The number of unknown vulnerabilities
priority: 1