https://api.bitsighttech.com/ratings/v1/underwriting-guidelines/guideline_guid
Edit an existing underwriting guideline.
Parameters
* Required.
Parameter | Values | |
---|---|---|
guid * [Path] Identify the underwriting guideline to edit. |
[String] Underwriting guideline unique identifier [guideline_guid ]. See GET: Underwriting Guidelines. |
|
risk_vectors * [Body] Define the guidelines for each risk vector. |
[Array] "risk_vectors": [
{
[…]
}
|
|
risk_vector_slug * [Body] Identify the risk vector to edit. |
[String] The risk vector slug. See risk types. | |
minimum_grade * [Body] Set the minimum risk vector grade. |
[String] A - F
|
|
is_active [Body] Determine if the minimum risk vector grade should be active for comparison. |
[Boolean]
|
|
threats [Query] Filter by threats. |
[Array] Comma-separated threat unique identifiers [threat_guid ]. See GET: Underwriting Guidelines. |
|
threat_groups [Query] Filter by threat groups. |
[Array] Comma-separated threat group unique identifiers [threat_group_guid ]. See GET: Underwriting Guidelines. |
Example Request
curl 'https://api.bitsighttech.com/ratings/v1/underwriting-guidelines/m521bb61-33c4-42c9-1234-c8194c305db3' -u api_token -X PATCH -H 'Accept: application/json' -H 'Content-Type: application/json' --data-binary '{ "risk_vectors": [ { "risk_vector_slug": "application_security", "minimum_grade": "A", "is_active": "true" } ], "threats": ["a940bb61-33c4-42c9-1234-c8194c305db3", "a940bb61-33c4-42c9-1234-c8194c305db3", …], "threat_groups": ["a940bb61-33c4-42c9-1234-c8194c305db3", "a940bb61-33c4-42c9-1234-c8194c305db3", …], }' --compressed
Status Codes
Code | Description |
---|---|
200 – Okay |
Everything worked as expected. |
400 – Bad Request |
This can often be due to missing a required parameter. |
401 – No Authentication |
No valid API token was provided. |
403 – Unauthorized |
You do not have permission to access this resource. |
404 – Not Found |
The specified resource could not be found. |
-
April 9, 2024:
threats
&threat_groups
parameters. - April 28, 2023: Published.
Feedback
0 comments
Please sign in to leave a comment.