Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update control effectiveness ratings (ToD/ToE)
PATCH /api/v1/controls/sub-controls/{sub_control_id}
sub_control_id
{ "tod": "B", "toe": "2", "testing_date": "2026-01-15", "tested_by": "John Smith", "evidence_notes": "Sample testing of 100 transactions completed", "tod_justification": "Control design is well-structured with documented procedures", "toe_justification": "93% effectiveness rate observed in testing" }
tod
toe
testing_date
tested_by
evidence_notes
tod_justification
toe_justification
{ "data": { "id": "sc-uuid-001", "key_control_id": "kc-uuid-001", "name": "Bureau Data Verification", "tod": "B", "toe": "2", "total_effectiveness": "Effective", "testing_date": "2026-01-15", "tested_by": "John Smith", "evidence_notes": "Sample testing of 100 transactions completed", "updated_at": "2026-01-16T10:00:00Z" }, "message": "Sub-control updated successfully" }
curl -X PATCH "https://api.risklegion.com/api/v1/controls/sub-controls/sc-uuid-001" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "tod": "B", "toe": "2", "testing_date": "2026-01-15", "tested_by": "John Smith" }'