Skip to content

Commit

Permalink
Fix code scanning alert no. 31: Clear-text logging of sensitive infor…
Browse files Browse the repository at this point in the history
…mation

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 8e66072 commit d03519e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ads/oracledb/oracle_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def get_adw_connection(vault_secret_id: str) -> "oracledb.Connection":

secret = vault_secret_id

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

0 comments on commit d03519e

Please sign in to comment.