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 throughpbac.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
| Setting | Type | Default |
|---|---|---|
pip_url | string | none in the schema |
pip_api_key | string | none in the schema |
pip_timeout | string | none in the schema |
pip_cache_seconds | integer | none in the schema |
client_rules | object | none in the schema |
Reads
context.entrypoint
Reason codes
This control emits no reason code.
Implementation
| Kind | Reference | Files | Role |
|---|---|---|---|
| rego_package | pbac.controls.consent | opa/policies/pbac/controls/consent.rego | decides |
Send feedback about this page