Get Websites Last Assessment

Cortex Xpanse REST API

post /public_api/v1/assets/get_external_websites/last_external_assessment

Gets the time and status of the last update of websites data in Xpanse. A status of "true" indicates the websites data update was successful.

CURL
curl -X POST \ -H "Accept: application/json" \ -H "Content-Type: application/json" -H "authorization: {api-key}" -H "x-xdr-auth-id: {api-key-id}" \ "https://api-yourfqdn/public_api/v1/assets/get_external_websites/last_external_assessment" \ -d '{ "request_data" : "{}" }'
Request headers
authorization
required
String
{api-key}
Example: {api-key}
x-xdr-auth-id
required
String
{api-key-id}
Example: {api-key-id}
Request
Body
optional
Example: {"request_data":{}}
request_data
required
Object
An empty dictionary returns the time and status of the last websites assessment.
Responses

OK

Body
last_external_assessment
optional
status
optional
Boolean
True: the update of websites data was successful. False: the update of websites data failed.
time
optional
String