Skip to content

Commit 5e356a3

Browse files
committed
Update license scan tests baseline and exclusions
1 parent 96966e9 commit 5e356a3

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/assets/LicenseScanTests/LicenseExclusions.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,30 @@
1414

1515
# False positive
1616
src/arcade/Documentation/UnifiedBuild/VMR-Permissible-Sources.md|free-unknown,unknown-license-reference
17+
src/arcade/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/copyright|unknown-license-reference
18+
src/arcade/src/Microsoft.DotNet.Build.Tasks.Installers/build/rpm_templates/copyright|unknown-license-reference
1719

1820
# Doesn't apply to code
1921
src/arcade/eng/xcopy-msbuild/msbuild.nuspec|ms-visual-2015-sdk
2022
src/arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/Licenses/*
2123

2224
# Applies to installer, not source
2325
src/arcade/src/Microsoft.DotNet.Build.Tasks.Installers/build/wix/eula.rtf
24-
src/arcade/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/copyright|unknown-license-reference
25-
src/arcade/src/Microsoft.DotNet.Build.Tasks.Installers/build/rpm_templates/copyright|unknown-license-reference
2626

2727
#
2828
# aspnetcore
2929
#
3030

31+
# False positive
32+
src/aspnetcore/src/Installers/Debian/tools/templates/debian/copyright|unknown-license-reference
33+
3134
# A generic statement about license applicability that is being detected as "unknown"
3235
src/aspnetcore/src/Components/THIRD-PARTY-NOTICES.txt|unknown
3336
src/aspnetcore/THIRD-PARTY-NOTICES.txt|unknown
3437

3538
# Windows installer files that have a reference to a URL for license
3639
src/aspnetcore/src/Installers/Windows/**/*.wxl|unknown-license-reference
3740
src/aspnetcore/src/Installers/Windows/**/*.wxs|unknown-license-reference
38-
src/aspnetcore/src/Installers/Debian/tools/templates/debian/copyright|unknown-license-reference
3941

4042
# License reference used in configuration, but not applying to code
4143
src/aspnetcore/src/Mvc/Settings.StyleCop|unknown-license-reference
@@ -195,6 +197,7 @@ src/sdk/src/VirtualMonoRepo/THIRD-PARTY-NOTICES.template.txt
195197

196198
# False positive
197199
src/source-build-externals/src/application-insights/NETCORE/ThirdPartyNotices.txt|unknown-license-reference
200+
src/source-build-externals/src/application-insights/WEB/ThirdPartyNotices.txt|unknown-license-reference
198201
src/source-build-externals/src/azure-activedirectory-identitymodel-extensions-for-dotnet/src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidatorConstants.cs|cpl-1.0
199202
src/source-build-externals/src/humanizer/NuSpecs/*.nuspec*
200203

src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/assets/LicenseScanTests/Licenses.source-build-externals.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
{
44
"path": "src/application-insights/LOGGING/ThirdPartyNotices.txt",
55
"detected_license_expression": "(unknown-license-reference AND apache-2.0) AND mit AND bsd-new"
6-
},
7-
{
8-
"path": "src/application-insights/WEB/ThirdPartyNotices.txt",
9-
"detected_license_expression": "(unknown-license-reference AND bsd-new) AND mit AND ms-pl AND apache-2.0 AND (cc-by-3.0-us AND cc-by-3.0 AND mit) AND ms-rl"
106
}
117
]
128
}

0 commit comments

Comments
 (0)