add_attachment
Related Concepts: Action Results
This function adds a web link to the selected entity.
siemplify.result.add_attachment(title, filename, file_contents, additional_data)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
title | string | Potentially Malicious File | Suitable Title for the attachment | Yes |
filename | string | chrome_proxy.exe | Suitable filename for the attached file. | Yes |
file_contents | base64 |
|
Base64 formatted file content. | No |
Return Type
NoneType
Example:
Sample Code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
siemplify.result.add_attachment(title="Malicious File", filename="virus.ini", file_contents="Base64 content of virus.ini", additional_data=None)
Result Behavior
The attachment gets added as result.
Result Value
None