-
Notifications
You must be signed in to change notification settings - Fork 549
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
[ci] Add exclusions for PoliCheck and CredScan #2389
Conversation
Adds an exclusions file for policheck to allow it to ignore the sources in the `third_party` folder that we do not own.
This cuts the issue set down dramatically (from Latest failing run from main: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7141188&view=logs&j=20168050-bfe6-5e92-c15c-a5eae27a73d9&t=dc840bab-140a-508c-d5e2-ec42cf763889&l=2674 |
The new versions of the tools have uncovered some more issues, but we've gone from 2617 down to 169 in the latest run and now have a better starting point to resolve the rest. This should be ready to go. |
Adds a exclusion files for CredScan and PoliCheck to ignore third party
sources and a mathematical term used as a variable name in number of
places. The versions of the compliance and reporting tasks used have
also been updated.
The new
source.gdnsuppress
file is used to exclude specific terms fromPoliCheck, as the
PoliCheckExclusions.xml
file does not allow verygranular control. This file is generated and uploaded by the build, and
the generated file can be used to update the in-tree file to exclude
more terms in the future as needed.