PolicyJson
Defined in: src/types/rbac.ts:106
Structured policy document.
Indexable
Section titled “Indexable”[
key:string]:unknown
Additional policy fields (permissions, conditions, etc.).
Properties
Section titled “Properties”filters?
Section titled “filters?”
optionalfilters?:object[]
Defined in: src/types/rbac.ts:112
Filter rules applied by this policy.
rules:
Record<string,unknown>
type:
string
service_name?
Section titled “service_name?”
optionalservice_name?:string
Defined in: src/types/rbac.ts:110
RBAC 2.x service this policy applies to.
statement?
Section titled “statement?”
optionalstatement?:object[]
Defined in: src/types/rbac.ts:117
Permission statements defining allowed or denied actions.
Index Signature
Section titled “Index Signature”[key: string]: unknown
action?
Section titled “action?”
optionalaction?:string[]
effect?
Section titled “effect?”
optionaleffect?:string
resource?
Section titled “resource?”
optionalresource?:string[]
version?
Section titled “version?”
optionalversion?:string
Defined in: src/types/rbac.ts:108
Version of the policy schema.