From 85fa06c29699db961cfb1a6edd937773e9e7b095 Mon Sep 17 00:00:00 2001 From: Achia Rosenfeld Date: Tue, 29 Oct 2024 15:20:02 +0200 Subject: [PATCH] lint --- checkov/secrets/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checkov/secrets/runner.py b/checkov/secrets/runner.py index 57f322be727..98c7201760a 100644 --- a/checkov/secrets/runner.py +++ b/checkov/secrets/runner.py @@ -308,12 +308,12 @@ def run( # 'secret.secret_value' can actually be 'None', but only when 'PotentialSecret' was created # via 'load_secret_from_dict' self.save_secret_to_coordinator(secret.secret_value, bc_check_id, resource, secret.line_number, result) - + secret_key_by_line = f'{key}_{secret.line_number}' line_text_censored = line_text for sec in secret_key_by_line_to_secrets[secret_key_by_line]: line_text_censored = omit_secret_value_from_line(cast(str, sec.secret_value), line_text_censored) - + secret_records[secret_key] = SecretsRecord( check_id=check_id, bc_check_id=bc_check_id,