post
/public_api/v1/assets/get_external_website/
Required License: **Cortex Xpanse Expander**
Get details about specific websites based on website IDs. You can submit up to 20 website IDs.
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-}/public_api/v1/assets/get_external_website/" \
-d '{
"request_data" : {
"website_id_list" : [ "website_id_list", "website_id_list", "website_id_list", "website_id_list", "website_id_list" ]
}
}'
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
required
request_data
required
Object
A dictionary containing the API request fields.
website_id_list
optional
Array
of strings
A string representing the website ID you want to get details for. Limit is 20 website ids
Responses
OK
Body
reply
required
Object
details
optional
Array
of objects
website_id
optional
String
host
optional
String
protocol
optional
String
is_active
optional
String
site_categories
optional
Array
of strings
technology_ids
optional
Array
of strings
first_observed
optional
Integer
last_observed
optional
Integer
provider_names
optional
Array
of strings
ips
optional
Array
of strings
port
optional
Integer
active_service_ids
optional
Array
of strings
http_type
optional
String
security_assessments
optional
Array
of objects
name
optional
String
priority
optional
Integer
score
optional
Integer
securityAssessmentDetails
optional
Object
pages
optional
Array
of objects
url
optional
String
message
optional
String
elements
optional
Array
of objects
name
optional
String
value
optional
String
description
optional
String
rootPageHttpStatusCode
optional
String
isNonConfiguredHost
optional
Boolean
externally_inferred_vulnerability_score
optional
Number
externally_inferred_cves
optional
Array
of strings
tags
optional
Array
of strings
assets
optional
Array
of objects
id
required
String
name
required
String
assetType
required
String
technologies
optional
Array
of objects
id
optional
String
version
optional
String
cpe
optional
String
categoryIds
optional
Array
of integers
technologyDetails
optional
Object
confidence
optional
Number
urls
optional
Array
of objects
url
required
String
ip
required
String
observed
required
Integer
evidence
optional
Object
impliedBy
required
Array
of strings
patterns
required
Array
of objects
type
required
String
regex
required
String
value
required
String
name
optional
String
third_party_resources
optional
Array
of objects
url
optional
String
type
optional
String
thirdPartyResourceDetails
optional
Object
observed
required
Integer
forms
optional
Array
of objects
url
required
String
action
required
String
purpose
required
String
formDetails
required
Object
fields
required
Array
of objects
name
required
String
maxLength
required
Integer
required
required
Boolean
dataType
required
String
details
optional
Object
ips
optional
Array
of objects
ip
required
String
lastObserved
required
Integer
firstObserved
required
Integer
screenshots
optional
Array
of objects
url
required
String
ip
required
String
size
required
Integer
observed
required
Integer
Bad Request. Got an invalid JSON.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.
Unauthorized access. An issue occurred during authentication. This can indicate an incorrect key, id, or other invalid authentication parameters.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.
Unauthorized access. User does not have the required license type to run this API.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.
Forbidden access. The provided API Key does not have the required RBAC permissions to run this API.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.
Unprocessable Entity
Body
code
optional
Integer
Error code
status
optional
String
Error name
message
optional
String
Error message
errors
optional
Object
Errors
Internal server error. A unified status for API communication type errors.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.