Skip to main content

Watch-only mode

Lets an operator put a resource type into watch-only mode: the decision API records what policy would have denied and lets the call through.

  • Control id: enforcement_mode
  • Shape: deny. Segment bindings do not reach this control, because its Rego does not read settings through pbac.segments.settings.
  • Enforced at: gateway

Policy data​

pbac.operator.controls.enforcement_mode​

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

Reason codes​

This control emits no reason code.

Implementation​

KindReferenceFilesRole
javacom.identos.pbac.pdp.EnforcementModeServicesrc/main/java/com/identos/pbac/pdp/EnforcementModeService.javaenforces