Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit ae8d657

Browse files
committed
Extending RBAC Rules to allow scan hooks to create new scans (used by imperative-subsequent-scans)
1 parent 4604fe5 commit ae8d657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator/controllers/execution/scan_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ func (r *ScanReconciler) createJobForHook(hook *executionv1.ScanCompletionHook,
977977
{
978978
APIGroups: []string{"execution.experimental.securecodebox.io"},
979979
Resources: []string{"scans"},
980-
Verbs: []string{"get"},
980+
Verbs: []string{"get", "list", "create"},
981981
},
982982
{
983983
APIGroups: []string{"execution.experimental.securecodebox.io"},

0 commit comments

Comments
 (0)