You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request Configuration Object ### Description The RequestConfiguration object is used to represent a request configuration. ### Usage Example Returned from the GET Request Configurations endpoint.
A bool representing whether or not to allow requests for this resource.
auto_approval
bool
A bool representing whether or not to automatically approve requests for this resource.
require_mfa_to_request
bool
A bool representing whether or not to require MFA for requesting access to this resource.
max_duration_minutes
int
The maximum duration for which the resource can be requested (in minutes).
[optional]
recommended_duration_minutes
int
The recommended duration for which the resource should be requested (in minutes). -1 represents an indefinite duration.
[optional]
require_support_ticket
bool
A bool representing whether or not access requests to the resource require an access ticket.
extensions_duration_in_minutes
int
The duration for which access can be extended (in minutes). Set to 0 to disable extensions. When > 0, extensions are enabled for the specified duration.
The list of reviewer stages for the request configuration.
[optional]
priority
int
The priority of the request configuration.
Example
fromopal_security.models.request_configurationimportRequestConfiguration# TODO update the JSON string belowjson="{}"# create an instance of RequestConfiguration from a JSON stringrequest_configuration_instance=RequestConfiguration.from_json(json)
# print the JSON string representation of the objectprint(RequestConfiguration.to_json())
# convert the object into a dictrequest_configuration_dict=request_configuration_instance.to_dict()
# create an instance of RequestConfiguration from a dictrequest_configuration_from_dict=RequestConfiguration.from_dict(request_configuration_dict)