From 444a18d57ab985cec9af03d257cdbd33cc6f0827 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 29 Jun 2021 08:15:39 -0400 Subject: [PATCH] agent: Fix parameter descriptions in FileEncryptionTelem docstring --- monkey/infection_monkey/telemetry/file_encryption_telem.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/monkey/infection_monkey/telemetry/file_encryption_telem.py b/monkey/infection_monkey/telemetry/file_encryption_telem.py index ff298d3cc..7f18867ab 100644 --- a/monkey/infection_monkey/telemetry/file_encryption_telem.py +++ b/monkey/infection_monkey/telemetry/file_encryption_telem.py @@ -10,10 +10,9 @@ class FileEncryptionTelem(BatchableTelemMixin, IBatchableTelem, BaseTelem): def __init__(self, filepath: Path, success: bool, error: str): """ File Encryption telemetry constructor - :param attempts: List of tuples with each tuple containing the path - of a file it tried encrypting and its result. - If ransomware fails completely - list of one tuple - containing the directory path and error string. + :param filepath: The path to the file that monkey attempted to encrypt + :param success: True if encryption was successful, false otherwise + :param error: An error message describing the failure. Empty unless success == False """ super().__init__()