Okta Identity Governance
/Management APIs
//
List all risk rules
OAuth 2.0 scope:
- okta.governance.riskRule.read
Admin roles:
- APP_ADMIN
Lists all risk rules
Specifies the pagination cursor for the next page of results. Treat this as an opaque value obtained through the standard link headers. See pagination.
Example:after=00u68w6vzKLultXS97g6
A filter expression that returns entries based on the resourceOrn, name, and type properties and supports the following operators:
eqoperator for theresourceOrnpropertyswandcooperator for thenamepropertyeqoperator for thetypeproperty
Filters can be combined with the and operator. The or operator isn't supported, and type can appear at most once.
Note: Query parameter percent encoding is required. See Special characters.
Example:filter=name sw "Process"
Examples:
Search for risk rules with a name that begins with "Process"
filter=name sw "Process"Search for risk rules with a name that contains "Process"
filter=name co "Process"Search for risk rules with a specific resource ORN
filter=resourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ"Search for risk rules of a specific type
filter=type eq "SEPARATION_OF_DUTIES"Search for risk rules of a specific type on a specific resource
filter=type eq "SEPARATION_OF_DUTIES" and resourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ"- https://subdomain.okta.comhttps://subdomain.okta.com/governance/api/v1/risk-rules
curl -i -X GET \
'https://subdomain.okta.com/governance/api/v1/risk-rules?limit=20&after=00u68w6vzKLultXS97g6&filter=name%20sw%20%22Process%22'Risk rules retrieved successfully
Link relations available using the JSON Hypertext Application Language
Response
{ "data": [ { … } ], "_links": { "self": { … }, "next": { … } }, "metadata": { "total": 10 } }