How to Configure Create Software Bom

Published
Length
3 min read

Luis Felipe Dias

All posts

To create software bom files, you add an inventory step to your build pipeline. You set it up by scanning source lockfiles and container layers during each build. A software bill of materials lists every open source package and dependency in your app. Security teams read this list to find known flaws before code goes live. When a new bug comes out, teams check their lists to find at-risk apps fast. How to create software bom setups in build pipelines Your build runner creates the inventory r

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

To create software bom files, you add an inventory step to your build pipeline. You set it up by scanning source lockfiles and container layers during each build.

A software bill of materials lists every open source package and dependency in your app. Security teams read this list to find known flaws before code goes live. When a new bug comes out, teams check their lists to find at-risk apps fast.

How to create software bom setups in build pipelines

Your build runner creates the inventory right after it compiles the app code. The scanner reads package manifest files and container images to find every nested library. This setup affects build runners, release pipelines, and artifact storage permissions across your team.

You should pick one standard output format, like CycloneDX or SPDX, for all projects. Standard formats let your security tools read and compare files from different languages. Set your build runner to sign the output file with a cryptographic key right away.

Signing proves that no one changed the list after the build finished. Give the build runner write permissions only to the artifact store. Never let human users edit or overwrite stored inventory files by hand. Set the pipeline to fail if the scanner cannot read a package lockfile.

How to check your inventory and spot runtime gaps

After you set up the pipeline, you must check that the output matches reality. Teams run a dependency analyzer against the stored list during every release check. You should also log when a build creates, signs, or uploads a new file.

Auditors read these logs to confirm that every release went through the scan step. Good logs show the build ID, timestamp, and cryptographic hash of the file. Still, a static build list only shows what went into the app image.

Software-Defined Perimeter (SDP) + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

It does not control what happens once an engineer logs in to a live server. An engineer with database or server permissions can still run risky commands by hand. They might query raw user tables that hold emails, phone numbers, or card numbers.

Static build scans also cannot mask sensitive fields when someone queries a live database. If a tool rewrites matched fields in results, it happens during the live session. Your build list tracks code risk, while live session rules handle runtime data risk.

Best ways to store and share dependency lists

Store each inventory file right next to its matching container image or app binary. Many teams attach the signed file directly to the container registry entry. This keeps the dependency record tied to the exact version running in production.

When you share these files with buyers or auditors, use read-only role permissions. Keep internal package names private if they reveal secret details about your system design. Review your scanner rules every quarter to make sure new code repos get scanned.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

When should my pipeline generate the dependency list?

Run the generator right after your build tool resolves and locks all package versions. Scanning locked files gives you exact version numbers instead of broad version ranges.

Should we scan source code or built container images?

You should scan both during your release process. Source scans catch app libraries, while image scans catch operating system packages installed later.

How do we keep dependency lists safe from tampering?

Have your build runner sign each file with a private key during the build. Check that signature before you load the file into your flaw tracker.

The query runs. The emails stay hidden.