From 036388e7047f79ba395fe4c8d50e6bff832bc39a Mon Sep 17 00:00:00 2001 From: vakaris_zilius Date: Fri, 18 Feb 2022 11:55:27 +0000 Subject: [PATCH] Agent: don't log the contents of credentials telemetries --- monkey/infection_monkey/telemetry/credentials_telem.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monkey/infection_monkey/telemetry/credentials_telem.py b/monkey/infection_monkey/telemetry/credentials_telem.py index 5da7040d5..c0573d942 100644 --- a/monkey/infection_monkey/telemetry/credentials_telem.py +++ b/monkey/infection_monkey/telemetry/credentials_telem.py @@ -17,6 +17,9 @@ class CredentialsTelem(BaseTelem): """ self._credentials = credentials + def send(self, log_data=True): + super().send(log_data=False) + def get_data(self) -> Dict: # TODO: At a later time we can consider factoring this into a Serializer class or similar. return json.loads(json.dumps(self._credentials, default=_serialize))