Print Download PDF Send Feedback

Previous

Next

Request Object Structure

A request object has JSON fields that are relevant to the request, with metadata about the request. The body of the request can also have a detailed section, with data for each feature that can be used. If not given, the Threat Prevention service uses the best default values.

Example:

{

"request": {

"sha1": "af1aab67180197681016fc32654ec3cac2850109",

"features": [

"te"

],

"te": {

"reports": [

"xml"

]

}

}

}

In this example, sha1 and features are general fields, to ask the service for a Threat Emulation knowledge base to report known data on the SHA-1 digest with the " af1..." ID. The te section is the feature: get the report in XML format.