Get cloud scan details

GET https://daas.digicert.com/apicontroller/v1/scan/getCloudScanDetails?accountId=1419609&divisionId=304778
Use this endpoint to get information about an existing cloud scan template.

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

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
divisionIdrequiredintegerDivision ID.

Response parameters

NameTypeDescription
errorobjectIncludes the error code, if any.
dataobjectObject container for response.
.. accountIdstringAccount ID.
.. divisionIdintegerDivision ID.
.. surveyNamestringFriendly name provided for the cloud scan.
Max length: 80 characters
.. surveyDefIdintegerSurvey definition ID of the scan. To get a list of surveyDefId values for your scans, use the scan list endpoint.
.. statusstringProgress of the cloud scan.
.. percentageintegerCompletion percentage of the cloud scan.