Use this endpoint to get information about an existing cloud scan template.
curl --location --request GET 'https://daas.digicert.com/apicontroller/v1/scan/getCloudScanDetails?accountId=1419609&divisionId=304778' \
--header 'X-DC-DEVKEY: {{api_key}} ' \
--header 'Content-Type: application/json' \
{
"error": null,
"data": {
"accountId": "1419609",
"divisionId": 304778,
"surveyName": "Single cloud scan",
"surveyDefId": 3238,
"status": "completed",
"percentage": 100
}
}
Name | Req/Opt | Type | Description |
---|---|---|---|
accountId | required | string | Account ID. |
divisionId | required | integer | Division ID. |
Name | Type | Description |
---|---|---|
error | object | Includes the error code, if any. |
data | object | Object container for response. |
.. accountId | string | Account ID. |
.. divisionId | integer | Division ID. |
.. surveyName | string |
Friendly name provided for the cloud scan. Max length: 80 characters.. |
.. surveyDefId | integer |
Survey definition ID of the scan. To get a list of surveyDefId values for your scans, use the scan list endpoint.
|
.. status | string | Progress of the cloud scan. |
.. percentage | integer | Completion percentage of the cloud scan. |