Related Concepts: Action Results

This function adds json result with entity identifier as title.

siemplify.result.add_data_table(title, data_table)

Parameters

Param Name Param Type Possible Values Comments Mandatory Parameter
title string Open Ports for this entity Suitable title for the table Yes
data_table list csv_data = [“entity,open ports”, “1.2.3.4,80”] CSV formatted list of information Yes

Return Type

NoneType

Example

Sample code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
title = "open ports per entity"
csv_data = ["entity,open ports", "1.2.3.4,80"] 
siemplify.result.add_data_table(title=title, data_table=csv_data)
Result Behavior
The provided table is added as result. 
Result Value
None