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>
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"apiVersion": "rbac.authorization.k8s.io/v1",
|
|
"kind": "Role",
|
|
"metadata": {
|
|
"annotations": {
|
|
"rbac.authorization.kubernetes.io/autoupdate": "true"
|
|
},
|
|
"creationTimestamp": "2023-09-11T09:59:01Z",
|
|
"labels": {
|
|
"kubernetes.io/bootstrapping": "rbac-defaults"
|
|
},
|
|
"name": "system::leader-locking-kube-scheduler",
|
|
"namespace": "kube-system",
|
|
"resourceVersion": "182",
|
|
"uid": "adcdff86-1f7d-460d-bb88-e5b64e38cd8b"
|
|
},
|
|
"rules": [
|
|
{
|
|
"apiGroups": [
|
|
""
|
|
],
|
|
"resources": [
|
|
"configmaps"
|
|
],
|
|
"verbs": [
|
|
"watch"
|
|
]
|
|
},
|
|
{
|
|
"apiGroups": [
|
|
""
|
|
],
|
|
"resourceNames": [
|
|
"kube-scheduler"
|
|
],
|
|
"resources": [
|
|
"configmaps"
|
|
],
|
|
"verbs": [
|
|
"get",
|
|
"update"
|
|
]
|
|
}
|
|
]
|
|
} |