add_result_json
This function adds json result to the case.
siemplify.result.add_result_json(json_data)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
json_data | dict | JSON formatted data |
|
Yes |
Return Type
NoneType
Example
Sample code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
json_data = {"title":"10.0.0.1", "Message":"This is the default gateway"}
siemplify.result.add_result_json(json_data)
Result Behavior
The provided Json data will be added to current case.
Result Value
None