add_content
This function adds a web link to the selected entity.
siemplify.result.add_content(entity_identifier, content)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
entity_identifier | string | “1.2.3.4” | Unique entity identifier | Yes |
content | dict | content=“some content” | Content is added as the key-value pair to the output of *_get_entity_data(entity_identifier) function. | No |
Return Type
NoneType
Example:
Sample Code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
siemplify.add_content(entity_identifier="1.2.3.4", content="New content")
Result Behavior
The content gets added as result for the selected entity. Entity can be implicitly selected from the scope.
Result Value
None