Get cloud posture score and priority findings
GET
/v1/cloud-security/posture
const url = 'https://api.varman.io/v1/cloud-security/posture';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/posture \ --header 'X-API-Key: <X-API-Key>'Returns the severity weighted cloud posture score (0 to 100) overall and per cloud account, a 30 day daily trend, pass rate per test domain and the top 5 failing findings to fix first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”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”Posture returned