Controls

List control tests

GET
/organizations/{organizationId}/controls/{controlId}/tests

Returns the tests defined for a control.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
controlId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/string/controls/string/tests"
{  "items": [    {      "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    }  ],  "total": 0}