Update Sensor Ids Feature Config
Update the appliance IDS feature configuration. This operation can be called to bulk update the sensors to enable or disable IDS configuration. The operation will either update all or none of the sensors.
Action to enable or disable ids events with or without pcap for reporting by sensor. Valid values are 'enable_without_pcap', 'enable_with_pcap' 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,
"pcap_enabled": false,
"successful_sensor_ids": [
"string"
],
"failed_sensor_ids": [
"string"
]
}
Specifies whether this feature is enabled.
Flag to activate or deactivate pcap for IDS events.
Specifies the sensor ids for which the 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/ids-events