forked from aquasecurity/starboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kubehunterreports.crd.yaml
132 lines (132 loc) · 3.77 KB
/
kubehunterreports.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
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: kubehunterreports.aquasecurity.github.io
labels:
app.kubernetes.io/managed-by: starboard
app.kubernetes.io/version: "0.15.4"
spec:
group: aquasecurity.github.io
versions:
- name: v1alpha1
served: true
storage: true
additionalPrinterColumns:
- jsonPath: ".report.scanner.name"
name: "Scanner"
type: "string"
- jsonPath: ".metadata.creationTimestamp"
name: "Age"
type: "date"
- jsonPath: ".report.summary.highCount"
name: "High"
type: "integer"
priority: 1
- jsonPath: ".report.summary.mediumCount"
name: "Medium"
type: "integer"
priority: 1
- jsonPath: ".report.summary.lowCount"
name: "Low"
type: "integer"
priority: 1
schema:
openAPIV3Schema:
type: object
required:
- apiVersion
- kind
- metadata
- report
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
report:
type: object
required:
- scanner
- summary
- vulnerabilities
properties:
scanner:
type: object
required:
- name
- vendor
- version
properties:
name:
type: string
vendor:
type: string
version:
type: string
summary:
type: object
required:
- highCount
- mediumCount
- lowCount
- unknownCount
properties:
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:
- location
- vid
- category
- severity
- vulnerability
- description
- evidence
- avd_reference
properties:
location:
type: string
vid:
type: string
category:
type: string
vulnerability:
type: string
severity:
type: string
enum:
- high
- medium
- low
- unknown
description:
type: string
evidence:
type: string
avd_reference:
type: string
scope: Cluster
names:
singular: kubehunterreport
plural: kubehunterreports
kind: KubeHunterReport
listKind: KubeHunterReportList
categories: []
shortNames:
- kubehunter