Skip to content

Commit d03519e

Browse files
Fix code scanning alert no. 31: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 8e66072 commit d03519e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/oracledb/oracle_db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def get_adw_connection(vault_secret_id: str) -> "oracledb.Connection":
336336

337337
secret = vault_secret_id
338338

339-
logging.getLogger().debug(f"The secret id is: {secret}")
339+
logging.getLogger().debug("A secret id was used to retrieve credentials.")
340340
creds = ADBSecretKeeper.load_secret(secret).to_dict()
341341
user = creds.pop("user_name", None)
342342
password = creds.pop("password", None)

0 commit comments

Comments
 (0)