TheHive4py icon indicating copy to clipboard operation
TheHive4py copied to clipboard

Method to update only selected custom fields

Open TytoCapensis opened this issue 4 years ago • 1 comments

Added api.update_case_customfields(). This method allows to update only selected custom fields (instead of update them all at once), which can be useful for:

  • having automations on the filling of a custom field (such as a webhook) ;
  • preventing conflicts linked to race conditions when several automations are running on custom fields (For more details, see https://github.com/TheHive-Project/TheHive/issues/1839 )

(Please note that this PR adds a new file (utils.py), and that despite I tested the code with several dummy values, this should still be beta-tested before release)

TytoCapensis avatar Mar 23 '21 09:03 TytoCapensis

Are there any plans to merge this PR as we have a use case for updating single customFields and this would make life a lot easier?

wizedkyle avatar Sep 11 '22 04:09 wizedkyle

@wizedkyle is this feature still relevant to you or you moved to v5 in the meantime?

Kamforka avatar Sep 26 '23 17:09 Kamforka

We are closing this PR as it targets the 1.x version of thehive4py, which is no longer supported.

Kamforka avatar Oct 09 '23 07:10 Kamforka