NetwitnessSAGetAvailableAssignees
Returns the available NetWitness SA users to be assigned to incidents.
python · RSA NetWitness Security Analytics
Details
| ID | NetwitnessSAGetAvailableAssignees |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10116658 |
| Tags | RSA NetWitness Security Analytics |
README
Returns the available NetWitness SA users to be assigned to incidents.
Script Data
| Name | Description |
|---|---|
| Script Type | python |
| Tags | RSA NetWitness Security Analytics |
Dependencies
This script uses the following commands and scripts.
- nw-get-available-assignees
Inputs
There are no inputs for this script.
Outputs
There are no outputs for this script.
import demistomock as demisto def test_netwitness_im_get_available_assignees(mocker): """ Given: - response mock. When: - running NetwitnessSAGetAvailableAssignees script. Then: - Ensure that the results were built correctly. """ from NetwitnessSAGetAvailableAssignees import netwitness_im_get_available_assignees entry = [{"Type": 3, "Contents": {"availableAssignees": {"some_info": {"info": "test"}}}}] mocker.patch.object(demisto, "executeCommand", return_value=entry) results_mock = mocker.patch.object(demisto, "results") netwitness_im_get_available_assignees() assert results_mock.call_args[0][0]["Contents"] == [{"some_info": "info: test"}]