Retrieves compliance graph data for a specific resource within a custom group, showing the overall compliance percentage and breakdown of all profiles scanned
https://{server-hostname}:8383/dcapi/scap/compliance/result/resourceGraph/{resourceId}
VulnerabilityMgmt.READCopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Computer/resource ID. Fetch from Get CG Association Details
curl --request GET \
--url https://appdomain/dcapi/scap/compliance/result/resourceGraph/{resourceId} \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52'Scan status. SCAN_SCHEDULED, SCAN_FAILED, SCAN_SUCCEEDED, or YET_TO_SCAN
Compliance status breakdown for the resource
Total rules across all profiles for the resource
Number of scanned profiles
Number of failed rules
Overall pass percentage or NA
Detailed rule breakdown
Total passed rules
Total failed rules
Total unscored rules
Total error rules
Unauthorized error code returned when authentication credentials are missing, expired, or invalid (authentication=required)
Authentication failure reason
Rate limit error code returned when the API call threshold (configured via threshold/duration in security XML) is exceeded; client is locked out for lock-period minutes
Rate limit exceeded message with retry guidance
Resource compliance graph data after successful scan
{
"scan": "SCAN_SUCCEEDED",
"status": {
"scanned": 2,
"percentage": "82",
"breakdown": {
"unscored": 35,
"passed": 400,
"failed": 45,
"error": 10
},
"attention": 45,
"totalRules": 490
}
}
Authentication credentials are missing or invalid
{
"errorMessage": "Authentication required",
"errorCode": "UNAUTHORIZED"
}
API call threshold exceeded
{
"errorMessage": "Rate limit exceeded. Retry after some time",
"errorCode": "TOO_MANY_REQUESTS"
}
![]()
Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.