-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Fix credential scan issues #4927
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 credential scan issues #4927
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -1,8 +1,9 @@ | |||
Describe "ConvertTo-SecureString" -Tags "CI" { | |||
Describe "ConvertTo--SecureString" -Tags "CI" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to have an extra - between ConvertTo and SecureString
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to rename it to something other than convertto-securestring.
|
||
Context "Checking return types of ConvertTo-SecureString" { | ||
Context "Checking return types of ConvertTo--SecureString" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to have an extra - between ConvertTo and SecureString
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the previous comment
Just out of curiosity, is the |
@megamorf It's specific to the tool we use. Unfortunately, the tool itself is internal to Microsoft only. That is why we run it in VSTS and not our normal CI systems. |
@TravisEz13 Ah, that makes sense. Thanks for the answer :-) |
Add suppression for lines with secrets.
Add suppressions for files which are secrets.
This will be consumed in the VSTS daily build.
Renamed tests with
ConvertTo-SecureString
to avoid false positives