Agent: Modify master to pass PostBreachData to PostBreachTelem

This commit is contained in:
Shreya Malviya 2022-03-30 13:44:38 +05:30
parent 9f8463f707
commit 501d32b171
1 changed files with 1 additions and 3 deletions

View File

@ -201,9 +201,7 @@ class AutomatedMaster(IMaster):
return
for pba_data in self._puppet.run_pba(name, options):
self._telemetry_messenger.send_telemetry(
PostBreachTelem(pba_data.display_name, pba_data.command, pba_data.result)
)
self._telemetry_messenger.send_telemetry(PostBreachTelem(pba_data))
def _can_propagate(self) -> bool:
return True