Appendix E - Tokens, Operators Compatibility for Get List of External Sites API

You can refer to the following tokens and their supported data types and operators while forming each query.

Token

Data Types

Description

Operators Supported

externalSite.name

string

Search the external site using an FQDN (Fully Qualified Domain Name) or an IP address IN, IS_EMPTY, IS_NOT_EMPTY, EQUALS, NOT_EQUALS, CONTAINS

externalSite.scanStatus

string

Search the external sites using their last scan status IN, IS_EMPTY, IS_NOT_EMPTY, EQUALS, NOT_EQUALS, CONTAINS

externalSite.createDate

long date

Search the external sites using the date sites were added to the account. IN, LESSER, IS_EMPTY, GREATER, GREATER_THAN_EQUAL, IS_NOT_EMPTY, EQUALS, NOT_EQUALS, LESS_THAN_EQUAL

externalSite.scanDate

long date

Search the external sites using the last scan date in YYYY-MM-DD format. IN, LESSER, IS_EMPTY, GREATER, GREATER_THAN_EQUAL, IS_NOT_EMPTY, EQUALS, NOT_EQUALS, LESS_THAN_EQUAL

externalSite.id

string

Search the external site using ID. IN, LESSER, IS_EMPTY, GREATER, GREATER_THAN_EQUAL, IS_NOT_EMPTY, EQUALS, NOT_EQUALS, LESS_THAN_EQUAL, CONTAINS

 

Tokens with Date Format Compatibility

Refer to the following tokens which take dates in the queries and their supported date formats with examples.

Token

Format

Example

externalSite.createDate

epoch date format

yyyy-MM-dd'T'HH:mm:ss'Z  

yyyy-MM-dd'T'HH:mm'Z' 

1863402251000

2029-01-18T09:14:11Z

2029-01-18T09:14Z

externalSite.scanDate

yyyy-MM-dd'T'HH'Z'

yyyy-MM-dd'Z'

yyyy-MM-dd

yyyy-MM-dd HH:mm:ss

2029-01-18T09Z

2029-01-18Z

2029-01-18

2029-01-18 09:14:11