Skip to main content

Record scope

For listed scopes, the record being touched must be on a list the caller passes with the call, so an agent can only reach the records it is serving.

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

Policy data​

pbac.operator.controls.record_scope​

  • Role: operator
  • Written by: operator
  • Schema: src/main/resources/schemas/operator-record-scope.v1.json
SettingTypeDefault
checks[].scopestringnone in the schema
checks[].attributestringnone in the schema

Reads​

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

Emits​

  • deny

Reason codes​

CodeCategoryEntry pointSetting
record_not_permittedcontroltokenpbac.operator.controls.record_scope#checks

Implementation​

KindReferenceFilesRole
rego_packagepbac.controls.record_scopeopa/policies/pbac/controls/record_scope.regodecides