-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: hide masked value #668
Conversation
The ::add-mask:: command output logs the value to be masked. This does expose critical information which should be hidden from the output.
Codecov Report
@@ Coverage Diff @@
## master #668 +/- ##
==========================================
+ Coverage 49.27% 50.61% +1.34%
==========================================
Files 23 23
Lines 2401 2525 +124
==========================================
+ Hits 1183 1278 +95
- Misses 1090 1111 +21
- Partials 128 136 +8
Continue to review full report at Codecov.
|
@cplee Do you have any thoughts on this? |
Could you add tests, please? |
@catthehacker I've updated it and added a test for this |
@catthehacker Can you review please? |
The
::add-mask::
command output logs the value to be masked.The current implementation does expose critical information which should be hidden from the output.
Note: This PR does not implement proper mask handling. It just suppresses the output of the secret in the
add-mask
command.