forked from p15670423/monkey
Island: Fix one missed telemetry processor
This commit is contained in:
parent
474a26aeff
commit
27c0b838c4
|
@ -15,10 +15,10 @@ class CredentialsParser:
|
||||||
def __init__(self, credentials_repository: ICredentialsRepository):
|
def __init__(self, credentials_repository: ICredentialsRepository):
|
||||||
self._credentials_repository = credentials_repository
|
self._credentials_repository = credentials_repository
|
||||||
|
|
||||||
def __call__(self, telemetry_dict):
|
def __call__(self, telemetry_dict, _agent_configuration):
|
||||||
self._parse_credentials(telemetry_dict)
|
self._parse_credentials(telemetry_dict, _agent_configuration)
|
||||||
|
|
||||||
def _parse_credentials(self, telemetry_dict: Mapping):
|
def _parse_credentials(self, telemetry_dict: Mapping, _agent_configuration):
|
||||||
credentials = [
|
credentials = [
|
||||||
Credentials.from_mapping(credential) for credential in telemetry_dict["data"]
|
Credentials.from_mapping(credential) for credential in telemetry_dict["data"]
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue