curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules" \
-H "Authorization: Bearer olive_live_xxx"
{
"rules": [
{
"id": 1,
"name": "High Value Alert",
"type": "AMOUNT_THRESHOLD",
"threshold": 10000000,
"action": "FLAG"
},
{
"id": 2,
"name": "Rapid Velocity",
"type": "TRANSACTION_COUNT",
"time_window": "5m",
"threshold": 10,
"action": "BLOCK"
}
]
}
Manage detection rules
curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules" \
-H "Authorization: Bearer olive_live_xxx"
{
"rules": [
{
"id": 1,
"name": "High Value Alert",
"type": "AMOUNT_THRESHOLD",
"threshold": 10000000,
"action": "FLAG"
},
{
"id": 2,
"name": "Rapid Velocity",
"type": "TRANSACTION_COUNT",
"time_window": "5m",
"threshold": 10,
"action": "BLOCK"
}
]
}
Bearer olive_live_xxx (Admin)curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules" \
-H "Authorization: Bearer olive_live_xxx"
{
"rules": [
{
"id": 1,
"name": "High Value Alert",
"type": "AMOUNT_THRESHOLD",
"threshold": 10000000,
"action": "FLAG"
},
{
"id": 2,
"name": "Rapid Velocity",
"type": "TRANSACTION_COUNT",
"time_window": "5m",
"threshold": 10,
"action": "BLOCK"
}
]
}