Skip to main content

Trusted issuers

Rejects a software statement or subject token whose issuer is not on the operator's trusted list.

  • Control id: trust
  • Shape: deny. Segment bindings do not reach this control, because its Rego does not read settings through pbac.segments.settings.
  • Entry points: token, register

Policy data​

pbac.operator.controls.trust​

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

Reads​

  • subject.token_issuer
  • context.grant_type
  • context.subject_token_type

Emits​

  • deny
  • reason
  • deny_reasons

Reason codes​

CodeCategoryEntry pointSetting
untrusted_issuercontrolregisterpbac.operator.controls.trust#trusted_issuers
untrusted_token_issuercontroltokenpbac.operator.controls.trust#trusted_issuers

Implementation​

KindReferenceFilesRole
rego_inlineoauth.registeropa/policies/oauth/register.regodecides
rego_inlineoauth.tokenopa/policies/oauth/token.regodecides
rego_readerpbac.operator.controls.trustopa/policies/oauth/trust.regoreads