add_html
This function adds a web link to the selected entity.
siemplify.result.add_html(title, report_name, report_contents)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
title | string | HTML File | Suitable Title for the HTML file | Yes |
report_name | string | report.html | HTML file report. | Yes |
report_contents | string | HTML | HTML content of the file as string. | Yes |
Return Type
NoneType
Example:
Sample Code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
siemplify.result.add_html(title="New evidence", report_name="evidence.html", report_content="<html><body><title>Evidence</title><p>This is html report</p></body></html>")
Result Behavior
The html report gets added as result for the selected entity. Entity can be implicitly selected from the scope
Result Value
None