Create organization risk
Changed onCreate a risk record with ownership and context so compliance teams can track mitigation and remediation work.
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Request body
Example request
{
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "technology",
"department": "it",
"status": "open",
"likelihood": "possible",
"impact": "major",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"treatmentStrategyDescription": "Implement multi-factor authentication and strengthen password requirements",
"treatmentStrategy": "mitigate",
"assigneeId": "mem_abc123def456"
}Response
Risk created successfully
Example response
{
"id": "rsk_abc123def456",
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "technology",
"department": "it",
"status": "open",
"likelihood": "possible",
"impact": "major",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"treatmentStrategyDescription": "Implement multi-factor authentication and strengthen password requirements",
"treatmentStrategy": "mitigate",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}Changes
- breaking
removed the enum value
adminof the request property - breaking
removed the enum value
govof the request property - breaking
removed the enum value
hrof the request property - breaking
removed the enum value
itof the request property - breaking
removed the enum value
itsmof the request property - breaking
removed the enum value
noneof the request property - breaking
removed the enum value
qmsof the request property - warning
the
request property's maxLength was set to64
- breaking
- breaking
request property
was restricted to a list of enum values - info
added the new
adminenum value to the request property - info
added the new
govenum value to the request property - info
added the new
hrenum value to the request property - info
added the new
itenum value to the request property - info
added the new
itsmenum value to the request property - info
added the new
noneenum value to the request property - info
added the new
qmsenum value to the request property
- breaking