Agent: Remove target from SSHCredentialCollector event construction

This commit is contained in:
Ilija Lazoroski 2022-08-16 17:31:02 +02:00
parent 205ff84b31
commit eec48e9cd8
1 changed files with 0 additions and 1 deletions

View File

@ -165,7 +165,6 @@ def to_credentials(ssh_info: Iterable[Dict]) -> Sequence[Credentials]:
def _publish_credentials_stolen_event(collected_credentials: Credentials, event_queue: IEventQueue):
credentials_stolen_event = CredentialsStolenEvent(
target=None,
tags=frozenset(SSH_COLLECTOR_EVENT_TAG),
stolen_credentials=[collected_credentials],
)