The purpose of this repository is to allow Splunk community to report issues and enhancements requests
2
stars
0
forks
source link
bug - REST API - Update endpoints calling the method generic_batch_update will not take into account replacements with empty values, which impacts reset actions such as in splk-dhm/mhm #645
bug - REST API - Update endpoints calling the method generic_batch_update will not take into account replacements with empty values, which impacts reset actions such as in splk-dhm/mhm
When calling REST API endpoints for update purposes, TrackMe implements a batch update method to update KVstore records as fast as possible.
This Python method is called generic_batch_update and currently ignores replacement of values by an actual empty value.
However, doing so causes a regression for some specific endpoints such as the reset endpoint for splk-dhm/mhm.
This fix updates the function to call a Python native object method instead to update the records transparently.
bug - REST API - Update endpoints calling the method generic_batch_update will not take into account replacements with empty values, which impacts reset actions such as in splk-dhm/mhm