Put Threat Metadata Feed

Put Threat Metadata Feed

Update the SSP threat metadata feed. This API is meant to be used in an airgap scenario where SSP cannot communicate with cloud services for periodically downloading up-to-date threat metadata. In an airgap scenario, the user can call this API with a threat metadata feed binary content to stored it in the SSP database by the API. Later on, if SSP is configured appropriately, that content will be used to update the threat metadata in the database, so that SSP can make use of it during its normal operations. The threat metadata feed should be provided in the request body as a binary string with the content-type header 'application/gzip'.

Request
URI
PUT
https://{api_host}/ndr/threat-metadata/metadata/feed
COPY
Request Body

The threat metadata feed should be provided in the request body as a binary string with the content-type header 'application/gzip'.

Authentication
This operation uses the following authentication methods.
Responses
204

The thread metadata feed content was saved in the NDR database.

Operation doesn't return any data structure

400

The server cannot or will not process the request due to something that is perceived to be a client error.

Returns RequestError of type(s) application/json
{
    "module_name": "nsx_metadata_service",
    "error_message": "string",
    "error_code": 0
}
string
module_name
Optional

Name of the module where the error was encountered.

string
error_message
Optional

Message to add error details for the user.

integer
error_code
Optional

Application specific error codes


401

The request requires authentication.

Returns RequestError of type(s) application/json
"RequestError Object"
string
module_name
Optional

Name of the module where the error was encountered.

string
error_message
Optional

Message to add error details for the user.

integer
error_code
Optional

Application specific error codes


403

The server understood the request, but is refusing to fulfill it.

Returns RequestError of type(s) application/json
"RequestError Object"
string
module_name
Optional

Name of the module where the error was encountered.

string
error_message
Optional

Message to add error details for the user.

integer
error_code
Optional

Application specific error codes


415

The request requires authentication.

Returns RequestError of type(s) application/json
"RequestError Object"
string
module_name
Optional

Name of the module where the error was encountered.

string
error_message
Optional

Message to add error details for the user.

integer
error_code
Optional

Application specific error codes


422

The request is unprocessable, what has been submitted by the client cannot be understood.

Returns RequestError of type(s) application/json
"RequestError Object"
string
module_name
Optional

Name of the module where the error was encountered.

string
error_message
Optional

Message to add error details for the user.

integer
error_code
Optional

Application specific error codes


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/gzip' -d '[{}]' https://{api_host}/ndr/threat-metadata/metadata/feed