Update Sensor Mps Feature Config
Update the appliance malware analysis feature configuration. This operation can be called to bulk update the sensors to enable or disable flow collection. The operation will either update all or none of the sensors.
Action to enable or disable file analysis for malware prevention. Valid values are 'enable' and 'disable'.
Feature configuration information of the sensor.
Show optional properties
{
"sensor_ids": [
{}
]
}
{
"sensor_ids": [
"string"
]
}
Specifies the sensor IDs for which this feature should be enabled or disabled.
OK
{
"enabled": false,
"successful_sensor_ids": [
"string"
],
"failed_sensor_ids": [
"string"
]
}
Specifies whether this feature is enabled. Default is true.
Specifies the sensor IDs for which this update is successful.
Specifies the sensor IDs for which update feature has failed.
Error
{
"error_code": 0,
"module_name": "string",
"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 POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"sensor_ids":["string"]}' https://{api_host}/sensors/feature-config/malware-prevention-events