fix(secrets): fix_Record_code_block_secrets
fix_Record_code_block_secrets
@@ -177,7 +177,7 @@ class Runner(BaseRunner[None]):
severity=severity,
check_name=secret.type,
check_result=result,
- code_block=[(secret.line_number, line_text_censored, len(cast(str, secret.secret_value)))],
+ code_block=[(secret.line_number, line_text_censored)],
file_path=f'/{os.path.relpath(secret.filename, root_folder)}',
file_line_range=[secret.line_number, secret.line_number + 1],
resource=secret.secret_hash,
