Controls
Update a control test
Updates fields on an existing control test definition.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
controlId*string
controlTestId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/organizations/string/controls/string/tests/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "organizationId": "string", "controlId": "string", "name": "string", "description": "string", "required": true, "cadence": "continuous", "expectedEvidenceType": "document", "monitorKey": "string", "status": "active", "lastRunResult": "pass", "lastRunAt": "string", "lastRunDetail": "string", "lastRunProvider": "string", "lastRunFailingGroups": [ { "checkKey": "string", "count": 0, "sample": [ { "resourceType": "string", "resourceId": "string", "accountId": "string", "region": "string" } ] } ], "lastRunFailingCount": 0, "dateCreated": null, "dateUpdated": null, "property1": null, "property2": null}