Skip to main content

Consent PIP check

Asks an external consent PIP whether the subject has consented to this client, and builds the consent obligation that sends them to the consent IdP when they have not.

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

Policy data​

pbac.operator.controls.consent​

  • Role: operator
  • Written by: operator
  • Schema: src/main/resources/schemas/operator-consent.v1.json
SettingTypeDefault
pip_urlstringnone in the schema
pip_api_keystringnone in the schema
pip_timeoutstringnone in the schema
pip_cache_secondsintegernone in the schema
client_rulesobjectnone in the schema

Reads​

  • context.entrypoint

Reason codes​

This control emits no reason code.

Implementation​

KindReferenceFilesRole
rego_packagepbac.controls.consentopa/policies/pbac/controls/consent.regodecides