Skip to main content

Blocked scopes

Refuses the listed scopes for the calls its layer holds for, whatever the client was granted. Its first use is refusing agents that carry no registered kind.

  • Control id: blocked_scopes
  • Shape: deny. The own row and every matching binding union.
  • Entry points: token
  • Phases: introspect
  • Enforced at: as

Policy data​

pbac.operator.controls.blocked_scopes​

  • Role: operator
  • Written by: operator
  • Schema: src/main/resources/schemas/operator-blocked-scopes.v1.json
SettingTypeDefault
scopesarray of stringnone in the schema

Reads​

  • context.rs_context.resource_id
  • context.rs_context.scopes

Emits​

  • deny

Reason codes​

CodeCategoryEntry pointSetting
scope_blockedcontroltokenpbac.operator.controls.blocked_scopes#scopes

Implementation​

KindReferenceFilesRole
rego_packagepbac.controls.blocked_scopesopa/policies/pbac/controls/blocked_scopes.regodecides