I wanted to ask if it´s supported to create SBOM files through Docker.Dotnet. Through CLI you can create one by calling
docker sbom --format cyclonedx-json image:tag --output "path/filename.sbom.json"
In the docs I couldn´t really find more than the InspectImageAsync which did not help me in this case. If not possible I´d appreciate if you plan supporting this in the future so I don´t need to invoke this via command line any more. Thanks you :)
Output of dotnet --info:
.NET SDK:
Version: 7.0.304
Commit: 7e794e2806
Laufzeitumgebung:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\7.0.304\
Host:
Version: 7.0.7
Architecture: x64
Commit: 5b20af47d9
.NET SDKs installed:
7.0.304 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Hello,
I wanted to ask if it´s supported to create SBOM files through Docker.Dotnet. Through CLI you can create one by calling
docker sbom --format cyclonedx-json image:tag --output "path/filename.sbom.json"
In the docs I couldn´t really find more than the InspectImageAsync which did not help me in this case. If not possible I´d appreciate if you plan supporting this in the future so I don´t need to invoke this via command line any more. Thanks you :)
Output of
dotnet --info
:What version of Docker.DotNet?:
Steps to reproduce the issue: does not apply
What actually happened?:
What did you expect to happen?:
Additional information: