Get cloud scan details
less than a minute
GET
Use this endpoint to get information about an existing cloud scan template.https://daas.digicert.com/apicontroller/v1/scan/getCloudScanDetails?accountId=1419609&divisionId=304778
Example requests and responses
cURL
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' \
200 OK
{
"error": null,
"data": {
"accountId": "1419609",
"divisionId": 304778,
"surveyName": "Single cloud scan",
"surveyDefId": 3238,
"status": "completed",
"percentage": 100
}
}
URL query parameters
| Name | Req/Opt | Type | Description |
|---|---|---|---|
| accountId | required | string | Account ID. |
| divisionId | required | integer | Division ID. |
Response parameters
| 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. |
Was this page helpful?
Provide feedback