github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/rego/schemas/rbac.json (about) 1 { 2 "$schema": "https://json-schema.org/draft/2020-12/schema", 3 "$id": "https://github.com/khulnasoft-lab/defsec/tree/master/pkg/rego/schemas/rbac.json", 4 "type": "object", 5 "properties": { 6 "apiVersion": { 7 "type": "string" 8 }, 9 "kind": { 10 "type": "string" 11 }, 12 "metadata": { 13 "type": "object" 14 }, 15 "spec": { 16 "type": "object" 17 }, 18 "rules": { 19 "type": "array", 20 "items": { 21 "type": "object", 22 "properties": { 23 "apiGroups": { 24 "type": "array", 25 "items": { 26 "type": "string" 27 } 28 }, 29 "resources": { 30 "type": "array", 31 "items": { 32 "type": "string" 33 } 34 }, 35 "resourceNames": { 36 "type": "array", 37 "items": { 38 "type": "string" 39 } 40 }, 41 "verbs": { 42 "type": "array", 43 "items": { 44 "type": "string" 45 } 46 } 47 } 48 } 49 } 50 } 51 }