RestPolicyExported

RestPolicyExported
RestPolicyExported
JSON Example
{
    "name": "string",
    "description": "string",
    "type": "string",
    "content": "apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata:\n  name: abc\nrules:\n  - apiGroups: \n      - rbac.authorization.k8s.io/v1\n    resources: \n      - clusterrolebindings\n      - clusterroles\n    verbs: \n      - get \n      - list\n      - create\n      - update\n      - patch\n      - delete\n  - apiGroups: [v1]\n    resources: [serviceaccounts]\n    verbs: [get, list, create, update, patch, delete]\n"
}
string
name
Required

The human readable name of the policy. It shall be unique.

string
description
Optional

A human readable description for the policy.

type
Required

type

string
content
Required

The content of the policy. It contains the K8s Role and ClusterRole definitions.