Repository navigation
Unblock code mirror: perform one-time AzDO secret scanning bypass for false positives - #1993
Conversation
Funny, this part didn't work because the commit contains no changed files, and Maestro triggers on any file changing in the repo. I pushed |
|
@ManickaP @scalablecory, think it's reasonable to rename these props to something less passwordy in case they show up as new files again at some point in the future? Unfortunately I'm not sure how much change is needed, it might not just be the property name. |
|
@dagood see how I suppressed that for the dotnet/runtime-assets repo: https://github.com/dotnet/runtime-assets/blob/master/.config/CredScanSuppressions.json. |
|
@dagood @ViktorHofer I've been playing with CredScan locally. I can take the results and put them into the suppression file if you want. Should I do it? |
|
IMO that would be nice to have, yeah. Basically documentation for what's already suppressed and how to suppress again without a special commit. |
Our code mirror from GitHub to AzDO is not working, blocking official builds: https://dev.azure.com/dnceng/internal/_build/results?buildId=491921&view=logs&j=a3453f18-ed27-56b8-78ee-81a7631275fb&t=31021d3c-3c27-555b-7ff0-047656185682&l=19
These are obviously not secrets:
runtime/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.DefaultProxyCredentials.cs
Line 93 in 0cab4ab
runtime/src/libraries/Common/tests/System/Net/Http/PostScenarioTest.cs
Line 27 in 0cab4ab
I believe we have bypassed this check before, but the error was reactivated by #1676 moving the files around. That PR's merge commit is also the first commit our AzDO repo is lacking.
The instructions say that we need to push an empty commit with the message
**BYPASS_SECRET_SCANNING**to bypass it, so after submitting this PR I'm going to fast-forward merge it tomaster. This will trigger the mirroring build to run again with this commit at the tip ofmasterand succeed, if the instructions in the error message are correct.If another PR gets merged before this PR gets reviewed (blocking the FF merge I need to do) I'm going to rebase this PR and FF merge it immediately afterwards.