Endpoint
Description
Updates the Test of Design (ToD) and Test of Effectiveness (ToE) ratings for a sub-control. The system automatically calculates the Total Effectiveness.Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
sub_control_id | UUID | Yes | Sub-control identifier |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
tod | string | No | Test of Design: A (Excellent) to E (Inadequate) |
toe | string | No | Test of Effectiveness: 1 (Highly Effective) to 5 (Ineffective) |
testing_date | date | No | Date control was tested |
tested_by | string | No | Name of tester |
evidence_notes | string | No | Testing evidence documentation |
tod_justification | string | No | Justification for ToD rating |
toe_justification | string | No | Justification for ToE rating |
Response
Total Effectiveness Calculation
The system calculates total effectiveness based on the ToD/ToE matrix:| ToD \ ToE | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| A | Highly Effective | Highly Effective | Effective | Moderately Effective | Less Effective |
| B | Highly Effective | Effective | Effective | Moderately Effective | Less Effective |
| C | Effective | Effective | Moderately Effective | Less Effective | Not Effective |
| D | Moderately Effective | Moderately Effective | Less Effective | Not Effective | Not Effective |
| E | Less Effective | Less Effective | Not Effective | Not Effective | Not Effective |