Controls

Run a control test

POST
/organizations/{organizationId}/controls/{controlId}/tests/{controlTestId}/run

Records the result of running a control test, optionally with supporting evidence.

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 POST "https://example.com/organizations/string/controls/string/tests/string/run" \  -H "Content-Type: application/json" \  -d '{    "result": "pass"  }'
{  "run": {    "id": "string",    "organizationId": "string",    "controlId": "string",    "controlTestId": "string",    "result": "pass",    "ranAt": "string",    "source": "manual",    "detail": "string",    "output": null,    "controlEvidenceId": "string",    "sweepId": "string",    "actionRunId": "string",    "dateCreated": null,    "dateUpdated": null  },  "controlEvidenceId": "string"}