API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · risks

Risk Schema

ID du schéma
risk
Collection
risks
Autorisations
  • Lirerisk_view
  • Créerrisk_create
  • Modifierrisk_edit
  • Supprimerrisk_delete

Champs

Risk Schema

risks4 autorisations

Schema for validating risk entities

partyIduuidfacultatif

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

nullable
titlestringobligatoire

Risk title

1–500 caractères
descriptionstringfacultatif

Risk description

nullable
categorystringfacultatif

Risk category

STRATEGICOPERATIONALCOMPLIANCETECHNICALSECURITYDATA_PROTECTION
nullable
statusstringobligatoire

Risk status

IDENTIFIEDASSESSEDTREATINGACCEPTANCE_PENDINGACCEPTEDMITIGATEDCLOSED
inherentLikelihoodnumberfacultatif

Inherent likelihood (1-5)

1 – 5nullable
inherentImpactnumberfacultatif

Inherent impact (1-5)

1 – 5nullable
inherentRiskScorenumberfacultatif

Computed inherent risk score (protected)

lecture seulenullable
residualLikelihoodnumberfacultatif

Residual likelihood (1-5)

1 – 5nullable
residualImpactnumberfacultatif

Residual impact (1-5)

1 – 5nullable
residualRiskScorenumberfacultatif

Computed residual risk score (protected)

lecture seulenullable
treatmentStrategystringfacultatif

Risk treatment strategy

AVOIDMITIGATETRANSFERACCEPT
nullable
ownerIduuidfacultatif

Risk owner user UUID

nullable
linkedAssetIdsstring[]facultatif

Linked asset UUIDs

Par défaut : []
linkedTicketIdsstring[]facultatif

Linked ticket UUIDs

Par défaut : []
linkedProjectIdsstring[]facultatif

Linked project UUIDs

Par défaut : []
linkedContractIdsstring[]facultatif

Linked contract UUIDs

Par défaut : []
reviewDatedatetimefacultatif

Next review date

nullable
reviewCycleDaysnumberfacultatif

Review cycle in days

nullable
tagsstring[]facultatif

Risk tags

Par défaut : []
objectivesstring[]facultatif

Affected protection goals

max. 3 éléments
prioritystringfacultatif

Order of treatment

HIGHMEDIUMLOWnull
nullable
criticalAssetIdsstring[]facultatif

Assets that need a separate look beyond the business process

max. 100 éléments
sourceRequirementIdsstring[]facultatif

Requirements this risk stems from

max. 100 éléments
likelihoodPeriodstringfacultatif

Period the likelihood refers to

max. 100 caractèresnullable
impactReasonstringfacultatif

Why the impact has this value

max. 2000 caractèresnullable
checklistobject[]facultatif

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

max. 35 élémentslecture seule
nrintegerobligatoire
1 – 35
byUserIdstringobligatoire
max. 64 caractères
atdatetimeobligatoire
notestringfacultatif
max. 1000 caractèresnullable
threatIdsstring[]facultatif

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

max. 100 éléments
suggestionSourceobjectfacultatif

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

lecture seulenullable
typestringobligatoire
REQUIREMENTEOL_ASSETBACKUPBREACHLOOKALIKEEXERCISETOOL_REGISTRATIONBIA_GAPGSPP_HIGH_PROCESSGSPP_UNCOVERED_ASSETGSPP_PERMANENT_SHOULD
refIdstringobligatoire
1–300 caractères
aiTextobjectfacultatif

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

lecture seulenullable
aiGeneratedbooleanfacultatif
modelstringfacultatif
max. 200 caractèresnullable
generatedAtdatetimefacultatif
nullable
approvedBystringfacultatif
max. 64 caractèresnullable
acceptanceobjectfacultatif

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

lecture seulenullable
signEnvelopeIdstringfacultatif
max. 64 caractèresnullable
acceptedByNamestringfacultatif
max. 300 caractèresnullable
acceptedAtdatetimefacultatif
nullable
validUntildatetimefacultatif
nullable
validityMonthsintegerfacultatif
1 – 36nullable
requestedAtdatetimefacultatif
nullable
requestedBystringfacultatif
max. 64 caractèresnullable
dmsDocumentIdstringfacultatif
max. 64 caractèresnullable
measuresobject[]facultatif

Treatment measures with their back references

max. 200 éléments
idstringobligatoire
1–64 caractères
titlestringobligatoire
1–500 caractères
statusstringobligatoire
OPENIN_PROGRESSDONE
taskIdstringfacultatif
max. 64 caractèresnullable
ticketIdstringfacultatif
max. 64 caractèresnullable
quotationIdstringfacultatif
max. 64 caractèresnullable
quotationItemIdstringfacultatif
max. 64 caractèresnullable
dueDatestringfacultatif
max. 40 caractèresnullable
reviewReminderSentForstringfacultatif

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

max. 64 caractèreslecture seulenullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/risks — Liste, paginée et filtrable
  • GET /api/v1/risks/<id> — Une entité
  • POST /api/v1/risks — Créer
  • PATCH /api/v1/risks/<id> — Mise à jour partielle
  • DELETE /api/v1/risks/<id> — Suppression logique
  • GET /api/v1/risks/<id>/timeline — Audit et activités

Recherche