API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen
Entity · risks

Risk Schema

Schema-ID
risk
Collection
risks
Permissions
  • Lesenrisk_view
  • Anlegenrisk_create
  • Ändernrisk_edit
  • Löschenrisk_delete

Felder

Risk Schema

risks4 Permissions

Schema for validating risk entities

partyIduuidoptional

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

nullable
titlestringerforderlich

Risk title

1–500 Zeichen
descriptionstringoptional

Risk description

nullable
categorystringoptional

Risk category

STRATEGICOPERATIONALCOMPLIANCETECHNICALSECURITYDATA_PROTECTION
nullable
statusstringerforderlich

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 Zeichennullable
impactReasonstringoptional

Why the impact has this value

max 2000 Zeichennullable
checklistobject[]optional

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

max 35 Itemsread-only
nrintegererforderlich
1 – 35
byUserIdstringerforderlich
max 64 Zeichen
atdatetimeerforderlich
notestringoptional
max 1000 Zeichennullable
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
typestringerforderlich
REQUIREMENTEOL_ASSETBACKUPBREACHLOOKALIKEEXERCISETOOL_REGISTRATIONBIA_GAPGSPP_HIGH_PROCESSGSPP_UNCOVERED_ASSETGSPP_PERMANENT_SHOULD
refIdstringerforderlich
1–300 Zeichen
aiTextobjectoptional

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

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

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

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

Treatment measures with their back references

max 200 Items
idstringerforderlich
1–64 Zeichen
titlestringerforderlich
1–500 Zeichen
statusstringerforderlich
OPENIN_PROGRESSDONE
taskIdstringoptional
max 64 Zeichennullable
ticketIdstringoptional
max 64 Zeichennullable
quotationIdstringoptional
max 64 Zeichennullable
quotationItemIdstringoptional
max 64 Zeichennullable
dueDatestringoptional
max 40 Zeichennullable
reviewReminderSentForstringoptional

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

max 64 Zeichenread-onlynullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/risks — Liste, paginiert + filterbar
  • GET /api/v1/risks/<id> — Einzelne Entity
  • POST /api/v1/risks — Anlegen
  • PATCH /api/v1/risks/<id> — Teil-Update
  • DELETE /api/v1/risks/<id> — Soft-Delete
  • GET /api/v1/risks/<id>/timeline — Audit + Aktivitäten

Suche