Agent: Fix SSHCollector to publish list of Credentials
Previously it was publish list of lists of Credentials
This commit is contained in:
parent
093e2c79dc
commit
6171b66282
|
@ -173,7 +173,7 @@ def _publish_credentials_stolen_event(
|
||||||
):
|
):
|
||||||
credentials_stolen_event = CredentialsStolenEvent(
|
credentials_stolen_event = CredentialsStolenEvent(
|
||||||
tags=SSH_COLLECTOR_EVENT_TAGS,
|
tags=SSH_COLLECTOR_EVENT_TAGS,
|
||||||
stolen_credentials=[collected_credentials],
|
stolen_credentials=collected_credentials,
|
||||||
)
|
)
|
||||||
|
|
||||||
event_queue.publish(credentials_stolen_event)
|
event_queue.publish(credentials_stolen_event)
|
||||||
|
|
Loading…
Reference in New Issue