Skip to content

Commit

Permalink
Suppressing System.Private.Uri
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Dec 14, 2024
1 parent 8be3430 commit a8ec1ad
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Credfeto.Package.Test/Credfeto.Package.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
<UseSystemResourceKeys>true</UseSystemResourceKeys>
<WarningsAsErrors />
</PropertyGroup>
<ItemGroup>
<!-- error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-5f2m-466j-3848"/>
<!-- error NU1902: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known moderate severity vulnerability -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-x5qj-9vmx-7g6g"/>
<!-- error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-xhfc-gr8f-ffwc"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Credfeto.Package\Credfeto.Package.csproj" />
</ItemGroup>
Expand Down
8 changes: 8 additions & 0 deletions src/Credfeto.Package/Credfeto.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/credfeto/UpdatePackages</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<!-- error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-5f2m-466j-3848"/>
<!-- error NU1902: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known moderate severity vulnerability -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-x5qj-9vmx-7g6g"/>
<!-- error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-xhfc-gr8f-ffwc"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Credfeto.Extensions.Linq" Version="1.0.51.546" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
Expand Down

0 comments on commit a8ec1ad

Please sign in to comment.