Filter scan

POST https://daas.digicert.com/apicontroller/v1/scan/filter

Use this endpoint to get the list of the scans based on the filter criteria selected.

Related topic

For more information on discovery scan and its details, see Set up and run a scan.

Request parameters

Name

Req/Opt

Type

Description

searchCriteriaList

optional

array

Filter results by specified values. For definitions, see the Filter options for searchCriteriaList table below.

Example:

searchCriteriaList:[
{
"key":"state",
"operation":"EQUALS",
"value":["ACTIVE"]
}
]

filterSelected

required

string

The value to show in the results for each scan that meets the search criteria.

Allowed values: name, sensor,  state, latestResult, scantype, ipAddress.

accountId

required

string

Account ID.

divisionId

required

array

Division IDs.

Response parameters

Name

Type

Description

error

object

Includes the error code if any.

data

object

Object container for response.

.. filterName

string

Specified filter  key.

.. displayName

string

Friendly name of the filter key as it appears in the UI.

.. values

array

List of scans that meet the search criteria. The value shown for each scan is the value set for the  filterSelected parameter in the request body.

Filter options for searchCriteriaList

Key

Operation

Value

name

EQUALS

Scan name

sensor

EQUALS

Sensor name

state

EQUALS

ACTIVE ,SUSPENDED,DELETED, INPROGRESS

latestResult

EQUALS

IN_PROGRESS, COMPLETED, FAILED, PARTIAL, IDLE, SKIPPED, CANCELLED

scantype

EQUALS

One Time, Daily, Weekly, Monthly

ipAddress

EQUALS

IP/FQDN