mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
* store scan results in storage Signed-off-by: Amir Malka <amirm@armosec.io> * store scan results in storage Signed-off-by: Amir Malka <amirm@armosec.io> * save resources in their namespaces, load namespace from env var, extend the config obj Signed-off-by: Amir Malka <amirm@armosec.io> * setting context name Signed-off-by: Amir Malka <amirm@armosec.io> * updated k8s-interface Signed-off-by: Amir Malka <amirm@armosec.io> * scanning a deleted resource Signed-off-by: Amir Malka <amirm@armosec.io> * cr changes Signed-off-by: Amir Malka <amirm@armosec.io> * cr changes Signed-off-by: Amir Malka <amirm@armosec.io> * fix Signed-off-by: Amir Malka <amirm@armosec.io> * remove unused constants Signed-off-by: Amir Malka <amirm@armosec.io> * use t.Setenv Signed-off-by: Amir Malka <amirm@armosec.io> * added tests for rbac triplet slugs Signed-off-by: Amir Malka <amirm@armosec.io> * updated namespace logic Signed-off-by: Amir Malka <amirm@armosec.io> * fix test Signed-off-by: Amir Malka <amirm@armosec.io> --------- Signed-off-by: Amir Malka <amirm@armosec.io>
108 lines
2.3 KiB
JSON
108 lines
2.3 KiB
JSON
{
|
|
"apiVersion": "rbac.authorization.k8s.io/v1",
|
|
"kind": "ClusterRole",
|
|
"metadata": {
|
|
"annotations": {
|
|
"rbac.authorization.kubernetes.io/autoupdate": "true"
|
|
},
|
|
"creationTimestamp": "2023-09-11T09:59:01Z",
|
|
"labels": {
|
|
"kubernetes.io/bootstrapping": "rbac-defaults"
|
|
},
|
|
"name": "system:controller:expand-controller",
|
|
"resourceVersion": "112",
|
|
"uid": "3bf75500-9d3e-499c-9566-41a5c0f74625"
|
|
},
|
|
"rules": [
|
|
{
|
|
"apiGroups": [
|
|
""
|
|
],
|
|
"resources": [
|
|
"persistentvolumes"
|
|
],
|
|
"verbs": [
|
|
"get",
|
|
"list",
|
|
"patch",
|
|
"update",
|
|
"watch"
|
|
]
|
|
},
|
|
{
|
|
"apiGroups": [
|
|
""
|
|
],
|
|
"resources": [
|
|
"persistentvolumeclaims/status"
|
|
],
|
|
"verbs": [
|
|
"patch",
|
|
"update"
|
|
]
|
|
},
|
|
{
|
|
"apiGroups": [
|
|
""
|
|
],
|
|
"resources": [
|
|
"persistentvolumeclaims"
|
|
],
|
|
"verbs": [
|
|
"get",
|
|
"list",
|
|
"watch"
|
|
]
|
|
},
|
|
{
|
|
"apiGroups": [
|
|
"storage.k8s.io"
|
|
],
|
|
"resources": [
|
|
"storageclasses"
|
|
],
|
|
"verbs": [
|
|
"get",
|
|
"list",
|
|
"watch"
|
|
]
|
|
},
|
|
{
|
|
"apiGroups": [
|
|
""
|
|
],
|
|
"resources": [
|
|
"endpoints",
|
|
"services"
|
|
],
|
|
"verbs": [
|
|
"get"
|
|
]
|
|
},
|
|
{
|
|
"apiGroups": [
|
|
""
|
|
],
|
|
"resources": [
|
|
"secrets"
|
|
],
|
|
"verbs": [
|
|
"get"
|
|
]
|
|
},
|
|
{
|
|
"apiGroups": [
|
|
"",
|
|
"events.k8s.io"
|
|
],
|
|
"resources": [
|
|
"events"
|
|
],
|
|
"verbs": [
|
|
"create",
|
|
"patch",
|
|
"update"
|
|
]
|
|
}
|
|
]
|
|
} |