API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · risks

Risk Schema

Schema ID
risk
Collection
risks
Permissions
  • Readrisk_view
  • Createrisk_create
  • Editrisk_edit
  • Deleterisk_delete

Fields

Risk Schema

risks4 permissions

Schema for validating risk entities

partyIduuidoptional

Organization (ADR 1132); null belongs to the own organization

nullable
titlestringrequired

Risk title

1–500 characters
descriptionstringoptional

Risk description

nullable
categorystringoptional

Risk category

STRATEGICOPERATIONALCOMPLIANCETECHNICALSECURITYDATA_PROTECTION
nullable
statusstringrequired

Risk status

IDENTIFIEDASSESSEDTREATINGACCEPTANCE_PENDINGACCEPTEDMITIGATEDCLOSED
inherentLikelihoodnumberoptional

Inherent likelihood (1-5)

1 – 5nullable
inherentImpactnumberoptional

Inherent impact (1-5)

1 – 5nullable
inherentRiskScorenumberoptional

Computed inherent risk score (protected)

read-onlynullable
residualLikelihoodnumberoptional

Residual likelihood (1-5)

1 – 5nullable
residualImpactnumberoptional

Residual impact (1-5)

1 – 5nullable
residualRiskScorenumberoptional

Computed residual risk score (protected)

read-onlynullable
treatmentStrategystringoptional

Risk treatment strategy

AVOIDMITIGATETRANSFERACCEPT
nullable
ownerIduuidoptional

Risk owner user UUID

nullable
linkedAssetIdsstring[]optional

Linked asset UUIDs

Default: []
linkedTicketIdsstring[]optional

Linked ticket UUIDs

Default: []
linkedProjectIdsstring[]optional

Linked project UUIDs

Default: []
linkedContractIdsstring[]optional

Linked contract UUIDs

Default: []
reviewDatedatetimeoptional

Next review date

nullable
reviewCycleDaysnumberoptional

Review cycle in days

nullable
tagsstring[]optional

Risk tags

Default: []
objectivesstring[]optional

Affected protection goals

max 3 items
prioritystringoptional

Order of treatment

HIGHMEDIUMLOWnull
nullable
criticalAssetIdsstring[]optional

Assets that need a separate look beyond the business process

max 100 items
sourceRequirementIdsstring[]optional

Requirements this risk stems from

max 100 items
likelihoodPeriodstringoptional

Period the likelihood refers to

max 100 charactersnullable
impactReasonstringoptional

Why the impact has this value

max 2000 charactersnullable
checklistobject[]optional

Confirmed points of the checklist (protected, written by its route)

max 35 itemsread-only
nrintegerrequired
1 – 35
byUserIdstringrequired
max 64 characters
atdatetimerequired
notestringoptional
max 1000 charactersnullable
threatIdsstring[]optional

Threats: BSI id such as "G 0.39" or the id of a grc_threat

max 100 items
suggestionSourceobjectoptional

Source of an adopted suggestion (protected, set by the adopt route)

read-onlynullable
typestringrequired
REQUIREMENTEOL_ASSETBACKUPBREACHLOOKALIKEEXERCISETOOL_REGISTRATIONBIA_GAPGSPP_HIGH_PROCESSGSPP_UNCOVERED_ASSETGSPP_PERMANENT_SHOULD
refIdstringrequired
1–300 characters
aiTextobjectoptional

The suggestion text came from the AI (protected, set by the adopt route)

read-onlynullable
aiGeneratedbooleanoptional
modelstringoptional
max 200 charactersnullable
generatedAtdatetimeoptional
nullable
approvedBystringoptional
max 64 charactersnullable
acceptanceobjectoptional

Signed acceptance (protected, written by the acceptance service only)

read-onlynullable
signEnvelopeIdstringoptional
max 64 charactersnullable
acceptedByNamestringoptional
max 300 charactersnullable
acceptedAtdatetimeoptional
nullable
validUntildatetimeoptional
nullable
validityMonthsintegeroptional
1 – 36nullable
requestedAtdatetimeoptional
nullable
requestedBystringoptional
max 64 charactersnullable
dmsDocumentIdstringoptional
max 64 charactersnullable
measuresobject[]optional

Treatment measures with their back references

max 200 items
idstringrequired
1–64 characters
titlestringrequired
1–500 characters
statusstringrequired
OPENIN_PROGRESSDONE
taskIdstringoptional
max 64 charactersnullable
ticketIdstringoptional
max 64 charactersnullable
quotationIdstringoptional
max 64 charactersnullable
quotationItemIdstringoptional
max 64 charactersnullable
dueDatestringoptional
max 40 charactersnullable
reviewReminderSentForstringoptional

Review date the job grc-review-reminders already notified about (technical)

max 64 charactersread-onlynullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/risks — List, paginated + filterable
  • GET /api/v1/risks/<id> — Single entity
  • POST /api/v1/risks — Create
  • PATCH /api/v1/risks/<id> — Partial update
  • DELETE /api/v1/risks/<id> — Soft delete
  • GET /api/v1/risks/<id>/timeline — Audit + activities

Search