Add List of Riskbits
Using this API, riskbits can be added in a list as provided in the request.
Resource Informations
| Name | Value |
|---|---|
| Requires authentication? | Yes |
| Rate limited? | No |
Request
Request headers
| Key | Value |
|---|---|
| Authorization | Bearer token |
| Content-Type | application/json |
HTTP request URL for SSMS
POST https://{tenantId}.{hostname}/digitanium/v4/riskbits/list
HTTP request URL for SHIFT
POST https://{hostname}/auth/realms/{tenantId}/kobilriskbits/resources-auth/list
note
API requests must be made over https. Calls made over plain http will fail.
Parameters
No parameters fields are required.
Request body (Required)
| Field Name | Type | Description |
|---|---|---|
| ratingLevel(Required) | String | Rating level of risk |
| score (Required) | String | Mention the score level for risk. |
| risk (Required) | String | Risk name. |
| riskAndroid | String | Android risk name. |
| riskIOS | String | iOS risk name. |
| operation (Required) | String | Risk operation name |
| realmId | String | Tenant name |
Sample Request
[
{
"ratingLevel" : "A",
"score":"986-999",
"risk" :"0.80",
"riskAndroid":"",
"riskIOS":"",
"operation":"OK",
"realmId": "XXX_demo"
},{
"ratingLevel" : "E",
"score":"949-961",
"risk" :"4.38",
"riskAndroid":"JBreak",
"riskIOS":"JBreak",
"operation":"OK",
"realmId": "XXX_demo1"
}
]
Response Status Information
| Status Code | Status | Message |
|---|---|---|
| 200 | OK | Successfully added. |
| 401 | Unauthorized | HTTP 401 Unauthorized. |
| 409 | Conflict | Already exist. |