This page details the objects and attributes that are used to build the Common Expression Language (CEL) expressions for custom access levels. Examples are included.
To learn more about CEL, see the CEL language definition.
Objects
Access Context Manager provides four objects that contain access level attributes.
| Objects | |
|---|---|
origin
|
Contains attributes that identify the origin of the request. |
request.auth
|
Contains attributes that identify authentication and authorization aspects of the request. |
request.time
|
Contains time-based attributes that you can use to restrict access to resources based on the time of day, day of the week, or a specific date range. |
levels
|
Contains attributes to define dependency on other access levels. |
device
|
Contains attributes that describe the device the request originated from. |
api
|
Contains attributes related to the API call itself, distinct from the user, device, or network. |
origin attributes
This section lists the attributes supported by the origin object.