List cloud checks behind a control
GET
/v1/cloud-security/controls/{controlId}/checks
const url = 'https://api.varman.io/v1/cloud-security/controls/example/checks';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.varman.io/v1/cloud-security/controls/example/checks \ --header 'X-API-Key: <X-API-Key>'Returns the cloud test checks that provide evidence for a control (through its linked tasks), each with pass or fail and failing resource count, plus how many checks pass.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”controlId
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Organization ID (required for session auth, optional for API key auth)
Responses
Section titled “Responses”Checks returned
Control not found