Create Riskbits
Using this API, riskbits can be added/created 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/
HTTP request URL for SHIFT
POST https://{hostname}/auth/realms/{tenantId}/kobilriskbits/resources-auth
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 | String | Rating level of risk |
*score | String | Mention the score level for risk. |
*risk | String | Risk name. |
riskAndroid | String | Android risk name. |
riskIOS | String | iOS risk name. |
*operation | String | Risk operation name |
realmId | String | Tenant name |
Sample Request
{
"ratingLevel" : "L",
"score":"1-491",
"risk" :"60.45",
"riskAndroid":"CodeInjection",
"riskIOS":"CodeInjection",
"operation":"HIGH_RISK",
"realmId":"xxxtenant"
}
Response
Status | Description |
---|---|
201 Created | Successfully created. |
409 Conflict | Already exist. |