Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
containerSha |
Mandatory |
string |
Specify the SHA value of a specific container in the user’s scope. |
API request
curl -X GET
"<qualys_base_url>/csapi/v1.3/containers/b87b645dffda05e59bb80ac20678b1c1f051c4a1286bafe8c55a58e523d49af5/compliance" --header "Authorization: Bearer <token>"
Response
{
"uuid": "fd011da7-9fed-314f-9884-76713eb66156",
"sha": "b87b645dffda05e59bb80ac20678b1c1f051c4a1286bafe8c55a58e523d49af5",
"customerUuid": "192cc974-1e44-cb6c-806e-f78f6441cb0d",
"created": "1604869118000",
"updated": "1604922275091",
"controls": [
{
"controlId": 10808,
"policyUuid": "e18b623d-3f07-485b-a754-5a1c31727df3",
"technologyId": 0,
"criticality": "CRITICAL",
"posture": "SETTING_NOT_FOUND",
"lastEvaluated": "1604869185266",
"datapoints": [
{
"key": "dockersensor00.container.capdrop",
"value": "161803399999999"
}
]
},
{
"controlId": 10716,
"policyUuid": "e18b623d-3f07-485b-a754-5a1c31727df3",
"technologyId": 0,
"criticality": "SERIOUS",
"posture": "SETTING_NOT_FOUND",
"lastEvaluated": "1604869185266",
"datapoints": [
{
"key": "dockersensor00.container.pidmode",
"value": "161803399999999"
}
]
}
],
"lastComplianceScanned": "1604869185266"
}
Was this topic helpful?