A Policy Rule, the combination of a Scope, a Touchpoint, Conditions, and Actions. It allows you to define what
needs to happen (Actions) before a user can execute a sensitive operation (Touchpoint) on a Scope (e.g. a Wallet)
depending on the specific details of the operation (Conditions). See Concepts.
idstringrequired
Id of the Policy Rule. This identifier is not unique in isolation, it must be paired with an specific Policy Rule Version number to uniquely identified a particular version of a Policy Rule. A UUID.
Example: 306258df-dcab-489e-a9fe-ff28ce9fa312
uniqueIdstringrequired
The uniqueId of the Policy Rule version. A UUID.
Example: cb4e0a0a-2768-4024-904a-178ca6d2cd54
namestringrequired
Human readable name of the rule.
Example: My first policy rule
statusstringrequired
Indicates if the Policy Rule is considered in Evaluations.
* 'ACTIVE' - Will be Evaluated.
* 'INACTIVE' - Will NOT be Evaluated.
* 'DENIED' - The requested policy rule change was Denied.
* 'PENDING_APPROVAL' - This version of the policy rule is Pending Approval before it can be activated.
The Policy Rule Version, an integer that is incremented each time the Policy Rule changes.
Default: 1
Example: 1
adminOnlybooleanrequired
true, if the Policy Rule is a BitGo internal rule. Typically, this allows setting Global Policy Rules across enterprises.
Example: false
touchpointIdstringrequired
The id of the Touchpoint associated with the Policy Rule. A UUID.
Example: 0a244ae3-26cf-48ed-9854-edd5b9751f3e
touchpointLabelstringrequired
Label of the Touchpoint associated with the Policy Rule. For example the Transfer from a Wallet Touchpoint.
Example: Transfer from a Wallet
scopeIdstringrequired
The id of the Scope associated with the Policy Rule. A UUID.
Example: 08a3f714-c330-41e6-bd83-bad3a8d37188
scopeLabelstringrequired
Label of the Scope associated with the Policy Rule. For example the All Wallets Scope.
Example: All Wallets
clausesarray[object]required
A combination of Conditions and Actions.
filteringConditionsrequired
Filter by wallet type.
lockedbooleanrequired
true, if the Policy Rule is locked, false otherwise.
Example: false
lockTypestringrequired
Indicates how the Policy Rule is locked.
* 'LOCK_AFTER_DATE' - Will lock after the lockDate set on the Policy Rule.
* 'PERMANENT' - Is permanently locked.
Allowed values: LOCK_AFTER_DATEPERMANENT
Example: PERMANENT
lockDatestring<date-time>
The date after which the Policy Rule will be locked. Only applicable if the Policy Rule is locked with
'LOCK_AFTER_DATE'.
Example: 2023-11-13T14:49:48.830522Z
enterpriseIdstring
The id of the Enterprise this Policy Rule belongs to.
Example: 5d1a5f2c8f0a9c001a5f2c8f0ad00000
lastTriggeredDatestring<date-time>
The date when the Policy Rule was last triggered. Only applicable if the Policy Rule is locked with
'LOCK_AFTER_DATE'.
Example: 2023-11-13T14:49:48.830522Z
lastTriggeredEvaluationIdstring
The id of the Evaluation that last triggered the Policy Rule. A UUID.
Example: 306258df-dcab-489e-a9fe-ff28ce9fa312
createdBystringrequired
The id of the user who created the Policy Rule or the string \"BitGo\".
Example: 5d1a5f2c8f0a9c001a5f2c8f0ad00000
modifiedBystringrequired
The id of the user who last modified the Policy Rule or the string \"BitGo\".
Example: 5d1a5f2c8f0a9c001a5f2c8f0ad00000
createdDatestring<date-time>required
The date when the Policy Rule was created. A timestamp.
Example: 2023-11-13T14:49:48.830522Z
modifiedDatestring<date-time>required
The date when the Policy Rule was last modified. A timestamp.
Example: 2023-11-13T14:49:48.830522Z
lockModifiedBystring
The id of the user who last modified the lock of the Policy Rule.
Example: 5d1a5f2c8f0a9c001a5f2c8f0ad00000
evaluationIdstring
The id of the Evaluation that was done when this Policy Rule version was requested to be created, modified
or deleted. A UUID.