Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions operator/templates/rbac/cascadingrule_editor_role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

# permissions for end users to edit cascadingrules.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cascadingrule-editor-role
rules:
- apiGroups:
- cascading.securecodebox.io
resources:
- cascadingrules
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- cascading.securecodebox.io
resources:
- cascadingrules/status
verbs:
- get
24 changes: 24 additions & 0 deletions operator/templates/rbac/cascadingrule_viewer_role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

# permissions for end users to view cascadingrules.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cascadingrule-viewer-role
rules:
- apiGroups:
- cascading.securecodebox.io
resources:
- cascadingrules
verbs:
- get
- list
- watch
- apiGroups:
- cascading.securecodebox.io
resources:
- cascadingrules/status
verbs:
- get
9 changes: 8 additions & 1 deletion operator/templates/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ rules:
- get
- patch
- update
- apiGroups:
- execution.securecodebox.io/status
resources:
- scheduledscans
verbs:
- get
- patch
- update
- apiGroups:
- rbac.authorization.k8s.io
resources:
Expand All @@ -116,6 +124,5 @@ rules:
verbs:
- create
- get
- update
- list
- watch
28 changes: 28 additions & 0 deletions operator/templates/rbac/scancompletionhook_editor_role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

# permissions for end users to edit scancompletionhooks.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: scancompletionhook-editor-role
rules:
- apiGroups:
- execution.securecodebox.io
resources:
- scancompletionhooks
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- execution.securecodebox.io
resources:
- scancompletionhooks/status
verbs:
- get
24 changes: 24 additions & 0 deletions operator/templates/rbac/scancompletionhook_viewer_role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

# permissions for end users to view scancompletionhooks.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: scancompletionhook-viewer-role
rules:
- apiGroups:
- execution.securecodebox.io
resources:
- scancompletionhooks
verbs:
- get
- list
- watch
- apiGroups:
- execution.securecodebox.io
resources:
- scancompletionhooks/status
verbs:
- get