Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
imageSha |
Mandatory |
string |
Specify the SHA value of a specific image in the user’s scope. |
API request
curl -X GET
"<qualys_base_url>/csapi/v1.3/images/c64844065dcbc3d0a90c365c1f56421766a5cebf05f7ecbd3377af410fff09fd/compliance" --header "Authorization: Bearer <token>"
Response
{
"uuid": "5d48f83b-cddb-33ac-8fad-e8452dd116b1",
"sha": "c64844065dcbc3d0a90c365c1f56421766a5cebf05f7ecbd3377af410fff09fd",
"customerUuid": "192cc974-1e44-cb6c-806e-f78f6441cb0d",
"created": "1603477517000",
"updated": "1605017537578",
"controls": [
{
"controlId": 10826,
"policyUuid": "e07da90a-dc32-48e0-9bbb-2eae68012333",
"technologyId": 0,
"criticality": "MEDIUM",
"posture": "SETTING_NOT_FOUND",
"lastEvaluated": "1605017382800",
"datapoints": [
{
"key": "dockersensor00.image.healthcheck",
"value": "161803399999999"
}
]
}
],
"lastComplianceScanned": "1605017537578"
}