Blog
All Blog Posts | Next Post | Previous Post
Generate an SBOM for Your Delphi Application with TMS Smart Setup
Today

An SBOM (Software Bill of Materials) is a file that says what your software is, which license it ships under and which libraries it depends on. The EU Cyber Resilience Act requires manufacturers to draw one up, and SBOMs show up more and more in audits and security policies.
In this post we generate the SBOM of a Delphi application with TMS Smart Setup in four steps, in an environment that belongs to the project alone. This post was written by César Cardoso of Code4Delphi and is based on his article and video. The sample project is on GitHub.
The four steps
SETUPThe sample project
STEP 1Make the project folder an environment
STEP 2Describe the project in tmsbuild.yaml
STEP 3Install the dependencies in the environment
STEP 4Generate the SBOM
Things to keep in mind
- Dependencies are listed with an id and a description only. The version and license of each library are in that librarys own SBOM, which
*also generates, in its product folder under__smartsetup\Products. - An existing SBOM file is not overwritten. After you change tmsbuild.yaml or the version, run
tms sbom-generate * -force. - Keep
__smartsetupout of version control by adding/__smartsetupto .gitignore. With tms.config.yaml and tmsbuild.yaml in the repository, anyone who clones it can rebuild the environment withtms install c4d.exceptions. - The SBOM lists what Smart Setup knows about, which is the dependencies declared in tmsbuild.yaml. It does not replace a tool that inspects the final executable.
Most of the work is in the application section of tmsbuild.yaml. License, copyright and version are the first things the person who receives your SBOM looks for, so check them before you share the file.
Links
- Sample project on GitHub
- Reference documentation for tms sbom-generate
- Getting started with TMS Smart Setup
Aaron Decramer
This blog post has not received any comments yet.
All Blog Posts | Next Post | Previous Post