add_entity_html_report
This function adds html data with entity identifier as title.
siemplify.result.add_entity_html_report(entity_identifier, report_name, report_contents)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
entity_identifier | string | entity identifier values such as 1.1.1.1, google.com | N/A | Yes |
report_name | string | HTML report name |
|
Yes |
report_contents | HTML | HTML contents of the report |
|
Yes |
Return Type
NoneType
Example
Sample code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
entity_identifier = "10.0.0.1"
report_name = "HTML Report"
report_contents = "<html><body><title>html content</title></body></html>"
siemplify.result.add_entity_html_report(entity_identifier, report_name, report_contents)
Result Behavior
The provided html contents will be added to entity 10.0.0.1.
Result Value
None