diff --git a/apps/accounts/automations/change_secret/manager.py b/apps/accounts/automations/change_secret/manager.py index f08d01584..2ccd8a68f 100644 --- a/apps/accounts/automations/change_secret/manager.py +++ b/apps/accounts/automations/change_secret/manager.py @@ -134,6 +134,7 @@ class ChangeSecretManager(AccountBasePlaybookManager): record_id = self.record_map[asset_account_id] try: recorder = ChangeSecretRecord.objects.get(id=record_id) + new_secret = recorder.new_secret except ChangeSecretRecord.DoesNotExist: print(f"Record {record_id} not found") continue