Skip to content

Commit

Permalink
SBOM
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Dec 17, 2024
1 parent 401be73 commit 934e51d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Credfeto.Package.Update/Credfeto.Package.Update.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<UseSystemResourceKeys>true</UseSystemResourceKeys>
<ValidateExecutableReferencesMatchSelfContained>true</ValidateExecutableReferencesMatchSelfContained>
<WarningsAsErrors />
<GenerateSBOM>true</GenerateSBOM>
</PropertyGroup>
<ItemGroup>
<!-- error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability -->
Expand Down Expand Up @@ -91,5 +92,6 @@
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.3.0.106239" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="ToStringWithoutOverrideAnalyzer" Version="0.6.0" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Sbom.Targets" Version="3.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions src/Credfeto.Package/Credfeto.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<Product>Package Update Tool</Product>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/credfeto/UpdatePackages</RepositoryUrl>
<GenerateSBOM>true</GenerateSBOM>
</PropertyGroup>
<ItemGroup>
<!-- error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability -->
Expand Down Expand Up @@ -89,5 +90,6 @@
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.3.0.106239" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="ToStringWithoutOverrideAnalyzer" Version="0.6.0" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Sbom.Targets" Version="3.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>

0 comments on commit 934e51d

Please sign in to comment.