Reorder Targeted Risk Policies
POST {{apiPath}}/environments/{{envID}}/riskPolicySets
This examples uses POST {{apiPath}}/environments/{{envID}}/riskPolicySets with the header application/vnd.pingidentity.policysets.reorder+json to change the order defined for the targeted risk policies in the environment.
The new order for the targeted policies is specified in the targetedRiskPolicySetsOrder array.
There is no need to include the ID of the fallback risk policy in the array.
Prerequisites
-
Refer to Risk Policies for important overview information.
:::requestmodel
For complete property descriptions, refer to Risk Policies.
| Property | Type | Required? |
|---|---|---|
|
Array |
Required |
- :
-
:leveloffset: -1
Headers
Authorization Bearer {{accessToken}}
Content-Type application/vnd.pingidentity.policysets.reorder+json
Body
raw ( application/vnd.pingidentity.policysets.reorder+json )
{
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
{
"id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"
},
{
"id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"
},
{
"id": "508045bc-9290-4cc1-ae39-77492dafbfd4"
},
{
"id": "60bfe930-e8b5-4c44-a157-87989b1b509c"
},
{
"id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"
},
{
"id": "eb2769ed-bb27-473b-8134-95f9385a326f"
}
]
}
Example Request
-
cURL
-
C#
-
Go
-
HTTP
-
Java
-
jQuery
-
NodeJS
-
Python
-
PHP
-
Ruby
-
Swift
curl --location --globoff '{{apiPath}}/environments/{{envID}}/riskPolicySets' \
--header 'Content-Type: application/vnd.pingidentity.policysets.reorder+json' \
--header 'Authorization: Bearer {{accessToken}}' \
--data '{
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
{
"id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"
},
{
"id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"
},
{
"id": "508045bc-9290-4cc1-ae39-77492dafbfd4"
},
{
"id": "60bfe930-e8b5-4c44-a157-87989b1b509c"
},
{
"id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"
},
{
"id": "eb2769ed-bb27-473b-8134-95f9385a326f"
}
]
}'
var options = new RestClientOptions("{{apiPath}}/environments/{{envID}}/riskPolicySets")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Post);
request.AddHeader("Content-Type", "application/vnd.pingidentity.policysets.reorder+json");
request.AddHeader("Authorization", "Bearer {{accessToken}}");
var body = @"{" + "\n" +
@" ""targetedRiskPolicySetsOrder"": [" + "\n" +
@" {" + "\n" +
@" ""id"": ""6af4ef60-fb41-49a6-a203-93824fbcd5dc""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""af9555b4-720e-4ea3-87bb-60469bc5e028""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""1388ae06-89b8-48d7-be12-438daa802603""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""18c670f7-6566-4609-acf6-d61491943ba3""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""41b94c9e-42ca-413f-b8a4-8fe298f4e933""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""77211c41-8231-4423-9686-46772405bbfa""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""8524d436-329d-4a8c-8422-1486f4bb5ab2""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""508045bc-9290-4cc1-ae39-77492dafbfd4""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""60bfe930-e8b5-4c44-a157-87989b1b509c""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""a5a076d4-4182-4aa5-8fbd-d2ce5502af3d""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""eb2769ed-bb27-473b-8134-95f9385a326f""" + "\n" +
@" }" + "\n" +
@" ]" + "\n" +
@" }" + "\n" +
@"";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "{{apiPath}}/environments/{{envID}}/riskPolicySets"
method := "POST"
payload := strings.NewReader(`{
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
{
"id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"
},
{
"id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"
},
{
"id": "508045bc-9290-4cc1-ae39-77492dafbfd4"
},
{
"id": "60bfe930-e8b5-4c44-a157-87989b1b509c"
},
{
"id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"
},
{
"id": "eb2769ed-bb27-473b-8134-95f9385a326f"
}
]
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/vnd.pingidentity.policysets.reorder+json")
req.Header.Add("Authorization", "Bearer {{accessToken}}")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
POST /environments/{{envID}}/riskPolicySets HTTP/1.1
Host: {{apiPath}}
Content-Type: application/vnd.pingidentity.policysets.reorder+json
Authorization: Bearer {{accessToken}}
{
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
{
"id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"
},
{
"id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"
},
{
"id": "508045bc-9290-4cc1-ae39-77492dafbfd4"
},
{
"id": "60bfe930-e8b5-4c44-a157-87989b1b509c"
},
{
"id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"
},
{
"id": "eb2769ed-bb27-473b-8134-95f9385a326f"
}
]
}
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/vnd.pingidentity.policysets.reorder+json");
RequestBody body = RequestBody.create(mediaType, "{\n \"targetedRiskPolicySetsOrder\": [\n {\n \"id\": \"6af4ef60-fb41-49a6-a203-93824fbcd5dc\"\n },\n {\n \"id\": \"af9555b4-720e-4ea3-87bb-60469bc5e028\"\n },\n {\n \"id\": \"1388ae06-89b8-48d7-be12-438daa802603\"\n },\n {\n \"id\": \"18c670f7-6566-4609-acf6-d61491943ba3\"\n },\n {\n \"id\": \"41b94c9e-42ca-413f-b8a4-8fe298f4e933\"\n },\n {\n \"id\": \"77211c41-8231-4423-9686-46772405bbfa\"\n },\n {\n \"id\": \"8524d436-329d-4a8c-8422-1486f4bb5ab2\"\n },\n {\n \"id\": \"dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23\"\n },\n {\n \"id\": \"508045bc-9290-4cc1-ae39-77492dafbfd4\"\n },\n {\n \"id\": \"60bfe930-e8b5-4c44-a157-87989b1b509c\"\n },\n {\n \"id\": \"a5a076d4-4182-4aa5-8fbd-d2ce5502af3d\"\n },\n {\n \"id\": \"eb2769ed-bb27-473b-8134-95f9385a326f\"\n }\n ]\n }\n");
Request request = new Request.Builder()
.url("{{apiPath}}/environments/{{envID}}/riskPolicySets")
.method("POST", body)
.addHeader("Content-Type", "application/vnd.pingidentity.policysets.reorder+json")
.addHeader("Authorization", "Bearer {{accessToken}}")
.build();
Response response = client.newCall(request).execute();
var settings = {
"url": "{{apiPath}}/environments/{{envID}}/riskPolicySets",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/vnd.pingidentity.policysets.reorder+json",
"Authorization": "Bearer {{accessToken}}"
},
"data": JSON.stringify({
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
{
"id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"
},
{
"id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"
},
{
"id": "508045bc-9290-4cc1-ae39-77492dafbfd4"
},
{
"id": "60bfe930-e8b5-4c44-a157-87989b1b509c"
},
{
"id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"
},
{
"id": "eb2769ed-bb27-473b-8134-95f9385a326f"
}
]
}),
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var request = require('request');
var options = {
'method': 'POST',
'url': '{{apiPath}}/environments/{{envID}}/riskPolicySets',
'headers': {
'Content-Type': 'application/vnd.pingidentity.policysets.reorder+json',
'Authorization': 'Bearer {{accessToken}}'
},
body: JSON.stringify({
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
{
"id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"
},
{
"id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"
},
{
"id": "508045bc-9290-4cc1-ae39-77492dafbfd4"
},
{
"id": "60bfe930-e8b5-4c44-a157-87989b1b509c"
},
{
"id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"
},
{
"id": "eb2769ed-bb27-473b-8134-95f9385a326f"
}
]
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
import requests
import json
url = "{{apiPath}}/environments/{{envID}}/riskPolicySets"
payload = json.dumps({
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
{
"id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"
},
{
"id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"
},
{
"id": "508045bc-9290-4cc1-ae39-77492dafbfd4"
},
{
"id": "60bfe930-e8b5-4c44-a157-87989b1b509c"
},
{
"id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"
},
{
"id": "eb2769ed-bb27-473b-8134-95f9385a326f"
}
]
})
headers = {
'Content-Type': 'application/vnd.pingidentity.policysets.reorder+json',
'Authorization': 'Bearer {{accessToken}}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{apiPath}}/environments/{{envID}}/riskPolicySets');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Content-Type' => 'application/vnd.pingidentity.policysets.reorder+json',
'Authorization' => 'Bearer {{accessToken}}'
));
$request->setBody('{\n "targetedRiskPolicySetsOrder": [\n {\n "id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"\n },\n {\n "id": "af9555b4-720e-4ea3-87bb-60469bc5e028"\n },\n {\n "id": "1388ae06-89b8-48d7-be12-438daa802603"\n },\n {\n "id": "18c670f7-6566-4609-acf6-d61491943ba3"\n },\n {\n "id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"\n },\n {\n "id": "77211c41-8231-4423-9686-46772405bbfa"\n },\n {\n "id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"\n },\n {\n "id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"\n },\n {\n "id": "508045bc-9290-4cc1-ae39-77492dafbfd4"\n },\n {\n "id": "60bfe930-e8b5-4c44-a157-87989b1b509c"\n },\n {\n "id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"\n },\n {\n "id": "eb2769ed-bb27-473b-8134-95f9385a326f"\n }\n ]\n }');
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
require "uri"
require "json"
require "net/http"
url = URI("{{apiPath}}/environments/{{envID}}/riskPolicySets")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/vnd.pingidentity.policysets.reorder+json"
request["Authorization"] = "Bearer {{accessToken}}"
request.body = JSON.dump({
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
{
"id": "8524d436-329d-4a8c-8422-1486f4bb5ab2"
},
{
"id": "dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23"
},
{
"id": "508045bc-9290-4cc1-ae39-77492dafbfd4"
},
{
"id": "60bfe930-e8b5-4c44-a157-87989b1b509c"
},
{
"id": "a5a076d4-4182-4aa5-8fbd-d2ce5502af3d"
},
{
"id": "eb2769ed-bb27-473b-8134-95f9385a326f"
}
]
})
response = http.request(request)
puts response.read_body
let parameters = "{\n \"targetedRiskPolicySetsOrder\": [\n {\n \"id\": \"6af4ef60-fb41-49a6-a203-93824fbcd5dc\"\n },\n {\n \"id\": \"af9555b4-720e-4ea3-87bb-60469bc5e028\"\n },\n {\n \"id\": \"1388ae06-89b8-48d7-be12-438daa802603\"\n },\n {\n \"id\": \"18c670f7-6566-4609-acf6-d61491943ba3\"\n },\n {\n \"id\": \"41b94c9e-42ca-413f-b8a4-8fe298f4e933\"\n },\n {\n \"id\": \"77211c41-8231-4423-9686-46772405bbfa\"\n },\n {\n \"id\": \"8524d436-329d-4a8c-8422-1486f4bb5ab2\"\n },\n {\n \"id\": \"dbbfd6dc-8c19-4cd9-86b3-dfcd3981ee23\"\n },\n {\n \"id\": \"508045bc-9290-4cc1-ae39-77492dafbfd4\"\n },\n {\n \"id\": \"60bfe930-e8b5-4c44-a157-87989b1b509c\"\n },\n {\n \"id\": \"a5a076d4-4182-4aa5-8fbd-d2ce5502af3d\"\n },\n {\n \"id\": \"eb2769ed-bb27-473b-8134-95f9385a326f\"\n }\n ]\n }"
let postData = parameters.data(using: .utf8)
var request = URLRequest(url: URL(string: "{{apiPath}}/environments/{{envID}}/riskPolicySets")!,timeoutInterval: Double.infinity)
request.addValue("application/vnd.pingidentity.policysets.reorder+json", forHTTPHeaderField: "Content-Type")
request.addValue("Bearer {{accessToken}}", forHTTPHeaderField: "Authorization")
request.httpMethod = "POST"
request.httpBody = postData
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
return
}
print(String(data: data, encoding: .utf8)!)
}
task.resume()
Example Response
200 OK
{
"_links": {
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"targetedRiskPolicySets.reorder": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPolicySets"
},
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPolicySets"
}
},
"_embedded": {
"riskPolicySets": [
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPolicySets/6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Targeted policy with mitigations",
"createdAt": "2025-04-10T09:56:24.319Z",
"updatedAt": "2025-04-10T11:31:42.709Z",
"defaultResult": {
"level": "LOW",
"type": "VALUE"
},
"targets": {
"condition": {
"and": [
{
"list": [
"AUTHENTICATION",
"AUTHORIZATION"
],
"contains": "${event.flow.type}",
"type": "STRING_LIST"
},
{
"list": [
"Sales"
],
"contains": "${event.user.groups}",
"type": "GROUPS_INTERSECTION"
},
{
"list": [
"6b6f867b-d768-4c2c-a9b6-6816da00d824",
"845c9918-94d7-430c-b3d8-eafafc215fd9"
],
"contains": "${event.targetResource.id}",
"type": "STRING_LIST"
}
],
"type": "AND"
}
},
"riskPolicies": [
{
"id": "06c056bf-7489-4f25-9400-8ee3fb1634fd",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"name": "USER_LOCATION_ANOMALY",
"priority": 1,
"result": {
"mitigations": [
{
"action": "CUSTOM",
"customAction": "CustomActionForUserLocationAnomaly"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.userLocationAnomaly.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.709Z",
"updatedAt": "2025-04-10T11:31:42.709Z"
},
{
"id": "bfeef25e-48d6-4697-a3c0-880ed94abc81",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"name": "VELOCITY",
"priority": 2,
"result": {
"mitigations": [
{
"action": "DENY_AND_SUSPEND"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.ipVelocityByUser.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.709Z",
"updatedAt": "2025-04-10T11:31:42.709Z"
},
{
"id": "59583f8f-2960-4c68-b143-db6277b5d4fd",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"name": "USER_RISK_BEHAVIOR",
"priority": 3,
"result": {
"mitigations": [
{
"action": "VERIFY"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Medium",
"value": "${details.userBasedRiskBehavior.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.709Z",
"updatedAt": "2025-04-10T11:31:42.709Z"
},
{
"id": "b040ea7a-5b0d-4dd6-bb71-7e82fc09be5c",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"name": "EMAIL_REPUTATION",
"priority": 4,
"result": {
"mitigations": [
{
"action": "MFA"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.emailReputation.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.709Z",
"updatedAt": "2025-04-10T11:31:42.709Z"
},
{
"id": "9d682026-0c2f-4f2c-b904-e11fa3212564",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"name": "IP_REPUTATION",
"priority": 5,
"result": {
"mitigations": [
{
"action": "APPROVE"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Low",
"value": "${details.ipRisk.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.709Z",
"updatedAt": "2025-04-10T11:31:42.709Z"
},
{
"id": "52134292-04f1-4feb-ad42-64594478e9c7",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"name": "High scored policy",
"priority": 6,
"result": {
"level": "HIGH",
"type": "VALUE"
},
"condition": {
"between": {
"minScore": 900,
"maxScore": 1000
},
"aggregatedScores": [
{
"value": "${details.userLocationAnomaly.level}",
"score": 40
},
{
"value": "${details.anonymousNetwork.level}",
"score": 60
},
{
"value": "${details.ipRisk.level}",
"score": 40
}
],
"type": "AGGREGATED_SCORES"
},
"createdAt": "2025-04-10T11:31:42.709Z",
"updatedAt": "2025-04-10T11:31:42.709Z"
},
{
"id": "ce222e40-40c6-4da9-9964-8b6ae1dd51fd",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"name": "Medium scored policy",
"priority": 7,
"result": {
"level": "MEDIUM",
"type": "VALUE"
},
"condition": {
"between": {
"minScore": 700,
"maxScore": 900
},
"aggregatedScores": [
{
"value": "${details.userLocationAnomaly.level}",
"score": 40
},
{
"value": "${details.anonymousNetwork.level}",
"score": 60
},
{
"value": "${details.ipRisk.level}",
"score": 40
}
],
"type": "AGGREGATED_SCORES"
},
"createdAt": "2025-04-10T11:31:42.709Z",
"updatedAt": "2025-04-10T11:31:42.709Z"
},
{
"id": "faece2c2-5514-412f-ac63-be0088885234",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
"name": "FALLBACK",
"result": {
"value": "",
"mitigations": [
{
"action": "DENY"
}
],
"type": "MITIGATION_FALLBACK"
},
"createdAt": "2025-04-10T11:31:42.709Z",
"updatedAt": "2025-04-10T11:31:42.709Z"
}
],
"evaluatedPredictors": [
{
"id": "1e035d51-e328-02c3-1f77-61357f549356"
},
{
"id": "368135d2-cd3c-01aa-1ba7-3fcf96c1d7a3"
},
{
"id": "e735fd8b-e314-0d4a-05bd-2e37409b3245"
},
{
"id": "7579bcfa-cc13-064b-364e-151ff8bb918d"
},
{
"id": "29a7db1d-2f67-0cba-144a-ec425ac9b8de"
},
{
"id": "02124097-c66d-0e38-0475-926788edd1f5"
},
{
"id": "41c79993-a200-0de0-22d0-2979c2790b18"
},
{
"id": "5f98480d-7c48-0a3d-2989-5e27161d827f"
},
{
"id": "7a6e027b-8d24-039b-055a-1d4994050d52"
},
{
"id": "98de670b-1fc9-0299-1a0f-6cdd11729b80"
},
{
"id": "a0d4bd3d-253d-0ada-390c-ef231fa0af3f"
},
{
"id": "ef4c6e2d-5bc1-0db8-313a-acfe3bc607c6"
},
{
"id": "feadbf9a-0bfe-0bd7-0fbb-420ee6705c17"
}
],
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPolicySets/af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Targeted policy with mitigations 2",
"createdAt": "2025-04-10T11:48:56.930Z",
"updatedAt": "2025-04-10T13:47:00.208Z",
"defaultResult": {
"level": "LOW",
"type": "VALUE"
},
"targets": {
"condition": {
"and": [
{
"list": [
"AUTHENTICATION",
"AUTHORIZATION"
],
"contains": "${event.flow.type}",
"type": "STRING_LIST"
},
{
"list": [
"Sales"
],
"contains": "${event.user.groups}",
"type": "GROUPS_INTERSECTION"
},
{
"list": [
"6b6f867b-d768-4c2c-a9b6-6816da00d824",
"845c9918-94d7-430c-b3d8-eafafc215fd9"
],
"contains": "${event.targetResource.id}",
"type": "STRING_LIST"
}
],
"type": "AND"
}
},
"riskPolicies": [
{
"id": "07b4fcb8-ef5c-430f-aeb4-fa6ae3d03c29",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"name": "USER_LOCATION_ANOMALY",
"priority": 1,
"result": {
"mitigations": [
{
"action": "CUSTOM",
"customAction": "CustomActionForUserLocationAnomaly"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.userLocationAnomaly.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T13:47:00.208Z",
"updatedAt": "2025-04-10T13:47:00.208Z"
},
{
"id": "a68002bf-94cc-4d11-b0f7-2fa7dfccc215",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"name": "VELOCITY",
"priority": 2,
"result": {
"mitigations": [
{
"action": "DENY_AND_SUSPEND"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.ipVelocityByUser.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T13:47:00.208Z",
"updatedAt": "2025-04-10T13:47:00.208Z"
},
{
"id": "601f1730-8d4f-4b80-bc73-b8e49c9a2e11",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"name": "USER_RISK_BEHAVIOR",
"priority": 3,
"result": {
"mitigations": [
{
"action": "VERIFY"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Medium",
"value": "${details.userBasedRiskBehavior.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T13:47:00.208Z",
"updatedAt": "2025-04-10T13:47:00.208Z"
},
{
"id": "fb5fe664-36fd-41a1-a43e-1f599947aa17",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"name": "EMAIL_REPUTATION",
"priority": 4,
"result": {
"mitigations": [
{
"action": "MFA"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.emailReputation.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T13:47:00.208Z",
"updatedAt": "2025-04-10T13:47:00.208Z"
},
{
"id": "e9b47556-6766-4c44-ab3b-80e09c0f4cb6",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"name": "IP_REPUTATION",
"priority": 5,
"result": {
"mitigations": [
{
"action": "APPROVE"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Low",
"value": "${details.ipRisk.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T13:47:00.208Z",
"updatedAt": "2025-04-10T13:47:00.208Z"
},
{
"id": "027d56fa-f259-47ea-ab3b-552a762bb6dc",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"name": "High scored policy",
"priority": 6,
"result": {
"level": "HIGH",
"type": "VALUE"
},
"condition": {
"between": {
"minScore": 900,
"maxScore": 1000
},
"aggregatedScores": [
{
"value": "${details.userLocationAnomaly.level}",
"score": 40
},
{
"value": "${details.anonymousNetwork.level}",
"score": 60
},
{
"value": "${details.ipRisk.level}",
"score": 40
}
],
"type": "AGGREGATED_SCORES"
},
"createdAt": "2025-04-10T13:47:00.208Z",
"updatedAt": "2025-04-10T13:47:00.208Z"
},
{
"id": "2335d595-2a28-46f5-a683-3f7f2aef1366",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"name": "Medium scored policy",
"priority": 7,
"result": {
"level": "MEDIUM",
"type": "VALUE"
},
"condition": {
"between": {
"minScore": 700,
"maxScore": 900
},
"aggregatedScores": [
{
"value": "${details.userLocationAnomaly.level}",
"score": 40
},
{
"value": "${details.anonymousNetwork.level}",
"score": 60
},
{
"value": "${details.ipRisk.level}",
"score": 40
}
],
"type": "AGGREGATED_SCORES"
},
"createdAt": "2025-04-10T13:47:00.208Z",
"updatedAt": "2025-04-10T13:47:00.208Z"
},
{
"id": "372b6b21-cb17-4036-9f56-7f983a88794c",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
"name": "FALLBACK",
"result": {
"value": "",
"mitigations": [
{
"action": "DENY"
}
],
"type": "MITIGATION_FALLBACK"
},
"createdAt": "2025-04-10T13:47:00.208Z",
"updatedAt": "2025-04-10T13:47:00.208Z"
}
],
"evaluatedPredictors": [
{
"id": "1e035d51-e328-02c3-1f77-61357f549356"
},
{
"id": "368135d2-cd3c-01aa-1ba7-3fcf96c1d7a3"
},
{
"id": "e735fd8b-e314-0d4a-05bd-2e37409b3245"
},
{
"id": "7579bcfa-cc13-064b-364e-151ff8bb918d"
},
{
"id": "29a7db1d-2f67-0cba-144a-ec425ac9b8de"
},
{
"id": "02124097-c66d-0e38-0475-926788edd1f5"
},
{
"id": "41c79993-a200-0de0-22d0-2979c2790b18"
},
{
"id": "5f98480d-7c48-0a3d-2989-5e27161d827f"
},
{
"id": "7a6e027b-8d24-039b-055a-1d4994050d52"
},
{
"id": "98de670b-1fc9-0299-1a0f-6cdd11729b80"
},
{
"id": "a0d4bd3d-253d-0ada-390c-ef231fa0af3f"
},
{
"id": "ef4c6e2d-5bc1-0db8-313a-acfe3bc607c6"
},
{
"id": "feadbf9a-0bfe-0bd7-0fbb-420ee6705c17"
}
],
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPolicySets/1388ae06-89b8-48d7-be12-438daa802603"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "1388ae06-89b8-48d7-be12-438daa802603",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Targeted policy with mitigations 3",
"createdAt": "2025-04-21T08:24:22.331Z",
"updatedAt": "2025-04-21T10:35:05.233Z",
"defaultResult": {
"level": "LOW",
"type": "VALUE"
},
"targets": {
"condition": {
"and": [
{
"list": [
"AUTHENTICATION",
"AUTHORIZATION"
],
"contains": "${event.flow.type}",
"type": "STRING_LIST"
},
{
"list": [
"Sales"
],
"contains": "${event.user.groups}",
"type": "GROUPS_INTERSECTION"
},
{
"list": [
"6b6f867b-d768-4c2c-a9b6-6816da00d824",
"845c9918-94d7-430c-b3d8-eafafc215fd9"
],
"contains": "${event.targetResource.id}",
"type": "STRING_LIST"
}
],
"type": "AND"
}
},
"riskPolicies": [
{
"id": "f9eb274b-b46d-4778-b94d-655aae119fbd",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
"name": "USER_LOCATION_ANOMALY",
"priority": 1,
"result": {
"mitigations": [
{
"action": "CUSTOM",
"customAction": "CustomActionForUserLocationAnomaly"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.userLocationAnomaly.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.233Z",
"updatedAt": "2025-04-21T10:35:05.233Z"
},
{
"id": "8e628457-1019-4da9-9b3d-cc581b748f37",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
"name": "VELOCITY",
"priority": 2,
"result": {
"mitigations": [
{
"action": "DENY_AND_SUSPEND"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.ipVelocityByUser.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.233Z",
"updatedAt": "2025-04-21T10:35:05.233Z"
},
{
"id": "90fa6674-df58-4e44-a51a-4e4e986b8c8e",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
"name": "USER_RISK_BEHAVIOR",
"priority": 3,
"result": {
"mitigations": [
{
"action": "VERIFY"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Medium",
"value": "${details.userBasedRiskBehavior.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.233Z",
"updatedAt": "2025-04-21T10:35:05.233Z"
},
{
"id": "20ebcaff-b3b6-42b8-be3e-c1cada9962dd",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
"name": "EMAIL_REPUTATION",
"priority": 4,
"result": {
"mitigations": [
{
"action": "MFA"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.emailReputation.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.233Z",
"updatedAt": "2025-04-21T10:35:05.233Z"
},
{
"id": "39f07355-4e35-44ba-b1ba-d81a337b5f63",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
"name": "IP_REPUTATION",
"priority": 5,
"result": {
"mitigations": [
{
"action": "APPROVE"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Low",
"value": "${details.ipRisk.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.233Z",
"updatedAt": "2025-04-21T10:35:05.233Z"
},
{
"id": "b4ba4905-e51b-462c-8c11-a212c056668f",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
"name": "High scored policy",
"priority": 6,
"result": {
"level": "HIGH",
"type": "VALUE"
},
"condition": {
"between": {
"minScore": 900,
"maxScore": 1000
},
"aggregatedScores": [
{
"value": "${details.userLocationAnomaly.level}",
"score": 40
},
{
"value": "${details.anonymousNetwork.level}",
"score": 60
},
{
"value": "${details.ipRisk.level}",
"score": 40
}
],
"type": "AGGREGATED_SCORES"
},
"createdAt": "2025-04-21T10:35:05.233Z",
"updatedAt": "2025-04-21T10:35:05.233Z"
},
{
"id": "e8347233-745c-46c4-ace0-bab62027184c",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
"name": "Medium scored policy",
"priority": 7,
"result": {
"level": "MEDIUM",
"type": "VALUE"
},
"condition": {
"between": {
"minScore": 700,
"maxScore": 900
},
"aggregatedScores": [
{
"value": "${details.userLocationAnomaly.level}",
"score": 40
},
{
"value": "${details.anonymousNetwork.level}",
"score": 60
},
{
"value": "${details.ipRisk.level}",
"score": 40
}
],
"type": "AGGREGATED_SCORES"
},
"createdAt": "2025-04-21T10:35:05.233Z",
"updatedAt": "2025-04-21T10:35:05.233Z"
},
{
"id": "cbe23eed-9896-48d9-9886-c56228b2a66d",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
"name": "FALLBACK",
"result": {
"value": "",
"mitigations": [
{
"action": "DENY"
}
],
"type": "MITIGATION_FALLBACK"
},
"createdAt": "2025-04-21T10:35:05.233Z",
"updatedAt": "2025-04-21T10:35:05.233Z"
}
],
"evaluatedPredictors": [
{
"id": "1e035d51-e328-02c3-1f77-61357f549356"
},
{
"id": "368135d2-cd3c-01aa-1ba7-3fcf96c1d7a3"
},
{
"id": "e735fd8b-e314-0d4a-05bd-2e37409b3245"
},
{
"id": "7579bcfa-cc13-064b-364e-151ff8bb918d"
},
{
"id": "29a7db1d-2f67-0cba-144a-ec425ac9b8de"
},
{
"id": "02124097-c66d-0e38-0475-926788edd1f5"
},
{
"id": "41c79993-a200-0de0-22d0-2979c2790b18"
},
{
"id": "5f98480d-7c48-0a3d-2989-5e27161d827f"
},
{
"id": "7a6e027b-8d24-039b-055a-1d4994050d52"
},
{
"id": "98de670b-1fc9-0299-1a0f-6cdd11729b80"
},
{
"id": "a0d4bd3d-253d-0ada-390c-ef231fa0af3f"
},
{
"id": "ef4c6e2d-5bc1-0db8-313a-acfe3bc607c6"
},
{
"id": "feadbf9a-0bfe-0bd7-0fbb-420ee6705c17"
}
],
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPolicySets/18c670f7-6566-4609-acf6-d61491943ba3"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "18c670f7-6566-4609-acf6-d61491943ba3",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Targeted policy with mitigations 4",
"createdAt": "2025-04-21T09:16:29.544Z",
"updatedAt": "2025-04-21T10:35:05.263Z",
"defaultResult": {
"level": "LOW",
"type": "VALUE"
},
"targets": {
"condition": {
"and": [
{
"list": [
"AUTHENTICATION",
"AUTHORIZATION"
],
"contains": "${event.flow.type}",
"type": "STRING_LIST"
},
{
"list": [
"Sales"
],
"contains": "${event.user.groups}",
"type": "GROUPS_INTERSECTION"
},
{
"list": [
"6b6f867b-d768-4c2c-a9b6-6816da00d824",
"845c9918-94d7-430c-b3d8-eafafc215fd9"
],
"contains": "${event.targetResource.id}",
"type": "STRING_LIST"
}
],
"type": "AND"
}
},
"riskPolicies": [
{
"id": "122dcdfa-0a88-431a-a7bb-43b51670f140",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
"name": "USER_LOCATION_ANOMALY",
"priority": 1,
"result": {
"mitigations": [
{
"action": "CUSTOM",
"customAction": "CustomActionForUserLocationAnomaly"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.userLocationAnomaly.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.263Z",
"updatedAt": "2025-04-21T10:35:05.263Z"
},
{
"id": "8ae33148-5dba-481e-9ab5-840fe1f8aee0",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
"name": "VELOCITY",
"priority": 2,
"result": {
"mitigations": [
{
"action": "DENY_AND_SUSPEND"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.ipVelocityByUser.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.263Z",
"updatedAt": "2025-04-21T10:35:05.263Z"
},
{
"id": "6a479b2e-5388-4412-9a6b-964002fce6cf",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
"name": "USER_RISK_BEHAVIOR",
"priority": 3,
"result": {
"mitigations": [
{
"action": "VERIFY"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Medium",
"value": "${details.userBasedRiskBehavior.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.263Z",
"updatedAt": "2025-04-21T10:35:05.263Z"
},
{
"id": "350abb0d-aae9-4477-bbc6-52e026f105fd",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
"name": "EMAIL_REPUTATION",
"priority": 4,
"result": {
"mitigations": [
{
"action": "MFA"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.emailReputation.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.263Z",
"updatedAt": "2025-04-21T10:35:05.263Z"
},
{
"id": "30ca1969-8219-415c-90af-a47a6951f300",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
"name": "IP_REPUTATION",
"priority": 5,
"result": {
"mitigations": [
{
"action": "APPROVE"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Low",
"value": "${details.ipRisk.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.263Z",
"updatedAt": "2025-04-21T10:35:05.263Z"
},
{
"id": "025c0bcf-762c-418d-a30f-2ca469e13e33",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
"name": "High scored policy",
"priority": 6,
"result": {
"level": "HIGH",
"type": "VALUE"
},
"condition": {
"between": {
"minScore": 900,
"maxScore": 1000
},
"aggregatedScores": [
{
"value": "${details.userLocationAnomaly.level}",
"score": 40
},
{
"value": "${details.anonymousNetwork.level}",
"score": 60
},
{
"value": "${details.ipRisk.level}",
"score": 40
}
],
"type": "AGGREGATED_SCORES"
},
"createdAt": "2025-04-21T10:35:05.263Z",
"updatedAt": "2025-04-21T10:35:05.263Z"
},
{
"id": "90373163-9960-478c-826f-ce58ad0023a2",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
"name": "Medium scored policy",
"priority": 7,
"result": {
"level": "MEDIUM",
"type": "VALUE"
},
"condition": {
"between": {
"minScore": 700,
"maxScore": 900
},
"aggregatedScores": [
{
"value": "${details.userLocationAnomaly.level}",
"score": 40
},
{
"value": "${details.anonymousNetwork.level}",
"score": 60
},
{
"value": "${details.ipRisk.level}",
"score": 40
}
],
"type": "AGGREGATED_SCORES"
},
"createdAt": "2025-04-21T10:35:05.263Z",
"updatedAt": "2025-04-21T10:35:05.263Z"
},
{
"id": "2c2c46b9-5d73-43c0-ba53-546e2a3be048",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
"name": "FALLBACK",
"result": {
"mitigations": [
{
"action": "DENY"
}
],
"type": "MITIGATION_FALLBACK"
},
"createdAt": "2025-04-21T10:35:05.263Z",
"updatedAt": "2025-04-21T10:35:05.263Z"
}
],
"evaluatedPredictors": [
{
"id": "1e035d51-e328-02c3-1f77-61357f549356"
},
{
"id": "368135d2-cd3c-01aa-1ba7-3fcf96c1d7a3"
},
{
"id": "e735fd8b-e314-0d4a-05bd-2e37409b3245"
},
{
"id": "7579bcfa-cc13-064b-364e-151ff8bb918d"
},
{
"id": "29a7db1d-2f67-0cba-144a-ec425ac9b8de"
},
{
"id": "02124097-c66d-0e38-0475-926788edd1f5"
},
{
"id": "41c79993-a200-0de0-22d0-2979c2790b18"
},
{
"id": "5f98480d-7c48-0a3d-2989-5e27161d827f"
},
{
"id": "7a6e027b-8d24-039b-055a-1d4994050d52"
},
{
"id": "98de670b-1fc9-0299-1a0f-6cdd11729b80"
},
{
"id": "a0d4bd3d-253d-0ada-390c-ef231fa0af3f"
},
{
"id": "ef4c6e2d-5bc1-0db8-313a-acfe3bc607c6"
},
{
"id": "feadbf9a-0bfe-0bd7-0fbb-420ee6705c17"
}
],
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPolicySets/41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Targeted policy without scores - for PingID users",
"createdAt": "2025-04-10T10:51:03.760Z",
"updatedAt": "2025-04-10T11:31:42.690Z",
"defaultResult": {
"level": "LOW",
"type": "VALUE"
},
"targets": {
"condition": {
"and": [
{
"list": [
"AUTHENTICATION",
"AUTHORIZATION"
],
"contains": "${event.flow.type}",
"type": "STRING_LIST"
},
{
"list": [
"Sales"
],
"contains": "${event.user.groups}",
"type": "GROUPS_INTERSECTION"
},
{
"list": [
"6b6f867b-d768-4c2c-a9b6-6816da00d824",
"845c9918-94d7-430c-b3d8-eafafc215fd9"
],
"contains": "${event.targetResource.id}",
"type": "STRING_LIST"
}
],
"type": "AND"
}
},
"riskPolicies": [
{
"id": "ffbb86e6-3910-4b9a-8710-6e82fc1c2115",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
"name": "USER_LOCATION_ANOMALY",
"priority": 1,
"result": {
"mitigations": [
{
"action": "CUSTOM",
"customAction": "CustomActionForUserLocationAnomaly"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.userLocationAnomaly.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.690Z",
"updatedAt": "2025-04-10T11:31:42.690Z"
},
{
"id": "3862fcca-0ab0-4493-b461-77b69c4f7884",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
"name": "VELOCITY",
"priority": 2,
"result": {
"mitigations": [
{
"action": "DENY_AND_SUSPEND"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.ipVelocityByUser.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.690Z",
"updatedAt": "2025-04-10T11:31:42.690Z"
},
{
"id": "2b1eb5c7-bc44-4c89-956e-140dd81dd872",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
"name": "USER_RISK_BEHAVIOR",
"priority": 3,
"result": {
"mitigations": [
{
"action": "VERIFY"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Medium",
"value": "${details.userBasedRiskBehavior.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.690Z",
"updatedAt": "2025-04-10T11:31:42.690Z"
},
{
"id": "7aeb1a2a-508b-4c61-96db-15abfc6efe00",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
"name": "EMAIL_REPUTATION",
"priority": 4,
"result": {
"mitigations": [
{
"action": "MFA"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.emailReputation.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.690Z",
"updatedAt": "2025-04-10T11:31:42.690Z"
},
{
"id": "13251408-570d-4ea9-aebc-7f2a0e4adea8",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
"name": "IP_REPUTATION",
"priority": 5,
"result": {
"mitigations": [
{
"action": "APPROVE"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Low",
"value": "${details.ipRisk.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-10T11:31:42.690Z",
"updatedAt": "2025-04-10T11:31:42.690Z"
},
{
"id": "b0464207-bc5c-44bc-a592-f0569bd08aa4",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
"name": "FALLBACK",
"result": {
"value": "",
"mitigations": [
{
"action": "DENY"
}
],
"type": "MITIGATION_FALLBACK"
},
"createdAt": "2025-04-10T11:31:42.690Z",
"updatedAt": "2025-04-10T11:31:42.690Z"
}
],
"evaluatedPredictors": [
{
"id": "1e035d51-e328-02c3-1f77-61357f549356"
},
{
"id": "368135d2-cd3c-01aa-1ba7-3fcf96c1d7a3"
},
{
"id": "e735fd8b-e314-0d4a-05bd-2e37409b3245"
},
{
"id": "7579bcfa-cc13-064b-364e-151ff8bb918d"
},
{
"id": "29a7db1d-2f67-0cba-144a-ec425ac9b8de"
},
{
"id": "02124097-c66d-0e38-0475-926788edd1f5"
},
{
"id": "41c79993-a200-0de0-22d0-2979c2790b18"
},
{
"id": "5f98480d-7c48-0a3d-2989-5e27161d827f"
},
{
"id": "7a6e027b-8d24-039b-055a-1d4994050d52"
},
{
"id": "98de670b-1fc9-0299-1a0f-6cdd11729b80"
},
{
"id": "a0d4bd3d-253d-0ada-390c-ef231fa0af3f"
},
{
"id": "ef4c6e2d-5bc1-0db8-313a-acfe3bc607c6"
},
{
"id": "feadbf9a-0bfe-0bd7-0fbb-420ee6705c17"
}
],
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPolicySets/77211c41-8231-4423-9686-46772405bbfa"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "77211c41-8231-4423-9686-46772405bbfa",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Targeted policy without scores - for PingID users 2",
"createdAt": "2025-04-21T08:26:02.948Z",
"updatedAt": "2025-04-21T10:35:05.306Z",
"defaultResult": {
"level": "LOW",
"type": "VALUE"
},
"targets": {
"condition": {
"and": [
{
"list": [
"AUTHENTICATION",
"AUTHORIZATION"
],
"contains": "${event.flow.type}",
"type": "STRING_LIST"
},
{
"list": [
"Sales"
],
"contains": "${event.user.groups}",
"type": "GROUPS_INTERSECTION"
},
{
"list": [
"6b6f867b-d768-4c2c-a9b6-6816da00d824",
"845c9918-94d7-430c-b3d8-eafafc215fd9"
],
"contains": "${event.targetResource.id}",
"type": "STRING_LIST"
}
],
"type": "AND"
}
},
"riskPolicies": [
{
"id": "e7166b1b-a09f-445a-9617-1010404f7d44",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
"name": "USER_LOCATION_ANOMALY",
"priority": 1,
"result": {
"mitigations": [
{
"action": "CUSTOM",
"customAction": "CustomActionForUserLocationAnomaly"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.userLocationAnomaly.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.306Z",
"updatedAt": "2025-04-21T10:35:05.306Z"
},
{
"id": "d73d565b-601f-434b-8211-1b2af84865a7",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
"name": "VELOCITY",
"priority": 2,
"result": {
"mitigations": [
{
"action": "DENY_AND_SUSPEND"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.ipVelocityByUser.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.306Z",
"updatedAt": "2025-04-21T10:35:05.306Z"
},
{
"id": "8e8edec1-57bf-4513-9131-3562aa8dd160",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
"name": "USER_RISK_BEHAVIOR",
"priority": 3,
"result": {
"mitigations": [
{
"action": "VERIFY"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Medium",
"value": "${details.userBasedRiskBehavior.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.306Z",
"updatedAt": "2025-04-21T10:35:05.306Z"
},
{
"id": "0acb23e2-b3cd-446a-bc25-37be5ea093e9",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
"name": "EMAIL_REPUTATION",
"priority": 4,
"result": {
"mitigations": [
{
"action": "MFA"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "High",
"value": "${details.emailReputation.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.306Z",
"updatedAt": "2025-04-21T10:35:05.306Z"
},
{
"id": "30728f14-29f2-4a56-96f1-ade9d36ed506",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
"name": "IP_REPUTATION",
"priority": 5,
"result": {
"mitigations": [
{
"action": "APPROVE"
}
],
"type": "MITIGATION"
},
"condition": {
"equals": "Low",
"value": "${details.ipRisk.level}",
"type": "VALUE_COMPARISON"
},
"createdAt": "2025-04-21T10:35:05.306Z",
"updatedAt": "2025-04-21T10:35:05.306Z"
},
{
"id": "ea157de8-bd13-44fe-8cd1-c7645471a43e",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"policySet": {
"id": "77211c41-8231-4423-9686-46772405bbfa"
},
"name": "FALLBACK",
"result": {
"value": "",
"mitigations": [
{
"action": "DENY"
}
],
"type": "MITIGATION_FALLBACK"
},
"createdAt": "2025-04-21T10:35:05.306Z",
"updatedAt": "2025-04-21T10:35:05.306Z"
}
],
"evaluatedPredictors": [
{
"id": "1e035d51-e328-02c3-1f77-61357f549356"
},
{
"id": "368135d2-cd3c-01aa-1ba7-3fcf96c1d7a3"
},
{
"id": "e735fd8b-e314-0d4a-05bd-2e37409b3245"
},
{
"id": "7579bcfa-cc13-064b-364e-151ff8bb918d"
},
{
"id": "29a7db1d-2f67-0cba-144a-ec425ac9b8de"
},
{
"id": "02124097-c66d-0e38-0475-926788edd1f5"
},
{
"id": "41c79993-a200-0de0-22d0-2979c2790b18"
},
{
"id": "5f98480d-7c48-0a3d-2989-5e27161d827f"
},
{
"id": "7a6e027b-8d24-039b-055a-1d4994050d52"
},
{
"id": "98de670b-1fc9-0299-1a0f-6cdd11729b80"
},
{
"id": "a0d4bd3d-253d-0ada-390c-ef231fa0af3f"
},
{
"id": "ef4c6e2d-5bc1-0db8-313a-acfe3bc607c6"
},
{
"id": "feadbf9a-0bfe-0bd7-0fbb-420ee6705c17"
}
],
"default": false
}
],
"targetedRiskPolicySetsOrder": [
{
"id": "6af4ef60-fb41-49a6-a203-93824fbcd5dc"
},
{
"id": "af9555b4-720e-4ea3-87bb-60469bc5e028"
},
{
"id": "1388ae06-89b8-48d7-be12-438daa802603"
},
{
"id": "18c670f7-6566-4609-acf6-d61491943ba3"
},
{
"id": "41b94c9e-42ca-413f-b8a4-8fe298f4e933"
},
{
"id": "77211c41-8231-4423-9686-46772405bbfa"
}
]
},
"count": 6,
"size": 6
}