Hi Pierre
The SOAR documentation at this point unfortunately is incomplete.
Even the TaskDTO documentation (https://resilient.localdomain/docs/rest-api/json_TaskDTO.html) provides absolutely no information or any useful information about task privacy.
That said, the way to make a task private is to assign members to it.
When a task has members assigned, it automatically changes its state to "private"
So your script must have something like this
task.members = ['
abc@br.ibm.com', '
xyz@ibm.com']
instead of
task.private = True
Also, I am afraid task.private receives a value that is an object, not a boolean, but I have absolutely no idea how this object looks like because the documentation simply does not provide any info about this. However, setting the task members will do the trick.
I hope it helps.
------------------------------
[]
Leonardo Kenji Shikida
------------------------------