ScriptResult module

add_entity_json

Add the json result with entity identifier as title.

siemplify.result.add_entity_json(entity_identifier, json_data)

add_result_json

Add the json result to the case.

siemplify.result.add_result_json(json_data)

add_entity_content

Add the json result with entity identifier as title.

siemplify.result.add_entity_content(entity_identifier, content)

add_entity_table

Add data table with the entity identifier as table title.

siemplify.result.add_entity_table(entity_identifier, data_table)

add_entity_attachment

Add the json result with entity identifier as title.

siemplify.result.add_entity_attachment(entity_identifier, filename, file_contents, additional_data=None)

add_entity_html_report

Add html data with entity identifier as title.

siemplify.result.add_entity_html_report(entity_identifier, report_name, report_contents)

Add json result with entity identifier as title.

siemplify.result.add_entity_link(entity_identifier, link)

Add a web link to the selected entity.

siemplify.add_link(title, link)

add_attachment

Add attachment.

siemplify.result.add_attachment(title, filename, file_contents, additional_data)

add_content

siemplify.result.add_content(entity_identifier, content)

add_html

siemplify.result.add_html(title, report_name, report_contents)

add_json

Add a json result with entity identifier as title.

siemplify.result.add_json(entity_identifier, json_data)

add_data_table

siemplify.result.add_data_table(title, data_table)

loadConfigFromFile

Load logger config file.

loadConfigFromFile(run_folder=run_folder, log_location=log_location)

exception

This function logs a message with ERROR level in logs./ In addition, the traceback of the last exception will be written to the logs as well.

exception(message)

error

This function logs a message with ERROR level in logs.

error(message)

warn

This function logs a message with WARN level in logs.

warn(message)

info

This function logs a message with INFO level in logs.

info(message)