Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix code scanning alert no. 1: Clear-text logging of sensitive inform…
…ation (#5) Fixes [https://github.com/Blackplums/how2validate/security/code-scanning/1](https://github.com/Blackplums/how2validate/security/code-scanning/1) To fix the problem, we should avoid logging any part of the secret, even in a redacted form. Instead, we can log a generic message indicating that a secret is being validated without including the actual secret value. This approach ensures that no sensitive information is exposed in the logs. - Modify the logging statement on line 85 in `src/python/how2validate/validator.py` to remove the secret from the log message. - Ensure that the log message still provides useful information without exposing sensitive data. _Suggested fixes powered by Copilot Autofix. Review carefully before merging._
- Loading branch information