This repository was archived by the owner on Oct 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +45
-0
lines changed
hooks/imperative-subsequent-scans/templates Expand file tree Collapse file tree 4 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1717 image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
1818 {{- end }}
1919 {{- end }}
20+ serviceAccountName : imperative-combined-scans
2021 env :
2122 - name : CASCADE_AMASS_NMAP
2223 value : {{ .Values.cascade.amassNmap | quote }}
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : RoleBinding
3+ metadata :
4+ annotations :
5+ description : ImperativeCombinedScansHook needs to have the rights to create new scans and the usual patch rules to update the scan status
6+ name : imperative-combined-scans
7+ namespace : {{ .Release.Namespace }}
8+ roleRef :
9+ apiGroup : rbac.authorization.k8s.io
10+ kind : Role
11+ name : imperative-combined-scans
12+ subjects :
13+ - kind : ServiceAccount
14+ name : imperative-combined-scans
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : Role
3+ metadata :
4+ annotations :
5+ description : ImperativeCombinedScansHook needs to have the rights to create new scans and the usual patch rules to update the scan status
6+ name : imperative-combined-scans
7+ namespace : {{ .Release.Namespace }}
8+ rules :
9+ - apiGroups :
10+ - execution.experimental.securecodebox.io
11+ resources :
12+ - scans
13+ verbs :
14+ - get
15+ - list
16+ - create
17+ - apiGroups :
18+ - execution.experimental.securecodebox.io
19+ resources :
20+ - scans/status
21+ verbs :
22+ - get
23+ - patch
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : ServiceAccount
3+ metadata :
4+ annotations :
5+ description : ImperativeCombinedScansHook needs to have the rights to create new scans and the usual patch rules to update the scan status
6+ name : imperative-combined-scans
7+ namespace : {{ .Release.Namespace }}
You can’t perform that action at this time.
0 commit comments