Repository navigation
[ci] Update PoliCheck suppression signatures - #13838
Conversation
PoliCheck build 16168378 reported 17 findings whose suppressions no longer matched. Update the signatures to the values in the build log: * src/Microsoft.Android.Build.Tasks/Tasks/Aapt2.cs:396 matches the aapt2 error text \ailed to parse whitelist from config file\; it must stay unchanged. * tools/workload-dependencies/AndroidManifestFeed_d18.0.xml contains verbatim Google license text. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Remove signatures for the deleted MonoVM logging and key management files, as well as the old aapt2 alternative signature. Correct the license descriptions for the Intel, MIPS, and Android XR findings. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Without archived PoliCheck findings or a fresh scan, the 17 replacement signatures and six removals in the opaque suppression file require human verification.
No open issues 🎉
What changed in this PR
Updates .NET for Android’s PoliCheck suppressions to follow recent file moves and removals, without changing product code or third-party license text.
Changes:
- Replaces 17 suppression signatures for the moved AAPT2 task and Android SDK manifest.
- Removes six obsolete suppressions for deleted MonoVM logging and key-management files.
- Corrects Intel, MIPS, and Android XR license justifications and refreshes the update timestamp.
| File | Description |
|---|---|
.gdn/policheck/source.gdnsuppress |
Refreshes signatures, removes obsolete entries, and corrects license justifications. |
Review effort: Balanced
|
/azp run Xamarin.Android-PR |
|
No pipelines are associated with this pull request. |
|
@dalexsoto review |
|
Internal
The public CI (dnceng-public) is offline, so this internal build is the only CI result. |
|
In response to @jonathanpeppers's request: I checked the suppression JSON, all changed hunks, and the pipeline wiring. The remaining review evidence is the PoliCheck findings output for build 16168378: each of the 17 added signatures in |

Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
2e1fe939b4a67cea42e2c59bd115df3e86121732↑ All 31 findings from the reported scan match retained suppressions.
↓ Guardian and PoliCheck were not run locally.
Context: https://devdiv.visualstudio.com/DevDiv/DevDiv%20Team/_build/results?buildId=16168378&view=logs&j=cea97f13-aa8f-5c62-1a4c-3826793da08a&t=efdc787f-274e-5122-0b15-8b92cd93cc6d&l=133
Context: #13513, #13515, #11607, #12868, #13834
PoliCheck reported 17 findings with signatures that did not match existing suppressions after the aapt2 task and Android SDK manifest moved. One finding matches an
aapt2error message that the build tasks must recognize; the others occur in third-party license text.Remove the old-path signatures and add the signatures for the current paths. Historical scan results confirm that the 16 license findings have the same rules and contexts. Also remove six suppressions for deleted MonoVM logging and key management files, and correct the Intel, MIPS, and Android XR license descriptions.
Validation:
git diff --check origin/main...HEADandpython -m json.tool .gdn\policheck\source.gdnsuppress > $nullpassed. A comparison of archived scan results confirmed that all 31 findings from the reported scan still match the suppression file and that the obsolete signatures were removed. PoliCheck was not rerun; Guardian and PoliCheck were not available on PATH.