phase.proto

Package : common.gloo.solo.io

Top

phase.proto

Table of Contents

PrioritizedPhase

Prioritized phase is the phase at which a given policy should be applied. The 2 pre-defined phases are “pre” and “post” AuthZ. In addition to the phase, you can specify a priority to indicate at what point this policy should be applied relative to other policies defined in the same phase. For Example, if you have the following policies defined with phases and priorities: 1. phase: preAuthz: priority: 1 2. phase: preAuthz: priority: -1 3. phase: preAuthz: {}
The policies will be run in the following order: (2, 3, 1).
Note: The default phase is defined per policy type which you can find in the policy reference documentation. The following policies currently implement prioritized staging: - RateLimit - JwtAuth - Transformation

Field Type Label Description
preAuthz common.gloo.solo.io.PrioritizedPhase.Phase Apply this policy before Authorization policies are applied.
postAuthz common.gloo.solo.io.PrioritizedPhase.Phase Apply this policy after Authorization policies are applied.

PrioritizedPhase.Phase

A message that describes each individual phase.

Field Type Label Description
priority google.protobuf.Int32Value The priority at which this policy should be applied relative to other policies defined in the same phase. The lowest priority will be run first and the default priority value is 0.