Update Sensor Global Config Mps
Updates sensor global configuration for Malware Prevention. Includes file categories that need to be extracted and analyzed.
Sensor global config.
Show optional properties
{
"document_file_type": false,
"executable_file_type": false,
"media_file_type": false,
"archive_file_type": false,
"data_file_type": false,
"script_file_type": false,
"other_file_type": false
}
{
"archive_file_type": true,
"data_file_type": true,
"document_file_type": true,
"executable_file_type": true,
"media_file_type": true,
"other_file_type": true,
"script_file_type": true
}
Specifies if document file type to be analyzed.
Specifies if executable file type to be analyzed.
Specifies if media file type to be analyzed.
Specifies if archive file type to be analyzed.
Specifies if data file type to be analyzed.
Specifies if script file type to be analyzed.
Specifies if other file type to be analyzed.
OK
{
"archive_file_type": true,
"data_file_type": true,
"document_file_type": true,
"executable_file_type": true,
"media_file_type": true,
"other_file_type": true,
"script_file_type": true
}
Specifies if document file type to be analyzed.
Specifies if executable file type to be analyzed.
Specifies if media file type to be analyzed.
Specifies if archive file type to be analyzed.
Specifies if data file type to be analyzed.
Specifies if script file type to be analyzed.
Specifies if other file type to be analyzed.
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Error
{
"error_code": 0,
"module_name": "sensor",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
This operation contains the following vendor extensions defined in the spec:
["platform-sensor-lic"]
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"document_file_type":"boolean","executable_file_type":"boolean","media_file_type":"boolean","archive_file_type":"boolean","data_file_type":"boolean","script_file_type":"boolean","other_file_type":"boolean"}' https://{api_host}/sensors/mps-global-config