Agent: Add `target` in CredentialsStolenEvent in zerologon

This commit is contained in:
Shreya Malviya 2022-10-06 17:04:58 +05:30 committed by Ilija Lazoroski
parent 16ed8d6233
commit a50554f115
1 changed files with 1 additions and 0 deletions

View File

@ -336,6 +336,7 @@ class ZerologonExploiter(HostExploiter):
) -> None:
credentials_stolen_event = CredentialsStolenEvent(
source=get_agent_id(),
target=self.host.ip_addr,
tags=CREDENTIALS_STOLEN_EVENT_TAGS,
stolen_credentials=extracted_credentials,
)