Get cloud scan activity

GET https://daas.digicert.com/apicontroller/v1/scan/getCloudScanActivity
Use this endpoint to get information about the activities enabled for an existing cloud scan template.

Example requests and responses

cURL

curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/scan/getCloudScanActivity' \
--header 'X-DC-DEVKEY: {{api_key}} ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountId": 126993,
    "searchCriteriaList": [],
    "startIndex": 1,
    "pageSize": 50,
    "sortedColumn": "domain",
    "sortOrder": "ASC"
}'

200 OK

{
    "error": null,
    "data": {
        "percentage": 0,
        "status": "in_progress",
        "totalCount": 3,
        "cloudscanActivity": [
            {
                "id": 14809443,
                "type": "Included",
                "domain": "amazon.com",
                "status": "in_progress",
                "updatedDate": 1588786078633,
                "lastCompletedDate": 1588786078633
            },
            {
                "id": 14809442,
                "type": "Included",
                "domain": "digicert.com",
                "status": "in_progress",
                "updatedDate": 1588786076973,
                "lastCompletedDate": 1588786076973
            }
        ]
    }
}

URL query parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
divisionIdrequiredintegerDivision ID.
searchCriteriaListoptionalarrayFilter results by specified values. The array includes key, operation, and value.
Example:
startIndexoptionalintegerStart at the specified index.
Default:1
pageSizeoptionalintegerNumber of records per page.
Allowed values: 0 to 512
sortedColumnoptionalstringSort results by specified parameter.
sortOrderoptionalstringSort direction.
Allowed values: DESC (descending: 9-0, Z-A), ASC (ascending: 0-9, A-Z)
Default:DESC

Response parameters

NameTypeDescription
errorobjectIncludes the error code, if any.
dataobjectObject container for response.
.. percentageintegerCompletion percentage of the cloud scan.
.. statusstringStatus of the cloud scan.
Possible values: Completed, failed, partial, in_progress
.. totalCountintegerTotal number of domains present in the cloud scan.
.. cloudscanActivityarrayList of objects with details about the activities found for the cloud scan template.
.. .. idintegerDomain ID.
.. .. typestringIP/Domains to be included or excluded.
Possible values: Included, Excluded
.. .. domainstringScanned domain.
.. .. statusstringStatus of scanned domain.
Possible values: Completed, failed, added, in_progress
.. .. updatedDateintegerDate when the domain was last updated (epoch in milliseconds).
.. .. lastCompletedDateintegerDate when the domain was last scanned via cloud scanner (epoch in milliseconds).