> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cybreeze.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload a scan

> Generating an SBOM or HBOM and sending it in.

## Software: an SBOM

**1. Open Risk → Upload a BOM and copy the command**

The page shows the exact command for your codebase, and a version of it you can hand to a coding
agent.

**2. Run it on your own machine**

Only the finished file is sent to Cybreeze. Nothing of your codebase leaves your machine.

**3. Check the component count**

If it looks too high, the generator probably picked up a nested checkout or a worktree that is not
part of the product. Re-run excluding that directory.

**4. Upload the file and pick its product**

It goes to **Queued**, then **Scanning**, then **Completed**.

### Why the command looks the way it does

The page explains each part, and the reasons matter enough to repeat:

| Part | Why |
| - | - |
| A **pinned version** of cdxgen | Not the newest build, and npm verifies the download before it runs. cdxgen is open source — CycloneDX, Apache-2.0 |
| `--no-install-deps` | Stops it installing your dependencies, which would run their install scripts on your machine. **Do not remove it** |
| `cd ..` | Runs it from the folder above your repository. Started inside a pnpm workspace root, cdxgen crashes on any `file:` or `link:` dependency |
| `FETCH_LICENSE=true` | Asks the public registry for each licence. Remove it to stay offline, and expect no licences |

Component hashes come from your lockfile, so commit the lockfile first or the file will have none.

## Hardware: an HBOM

There is no standard generator. Most HBOMs come from the hardware supplier, or from your
manufacturing or PLM system.

Ask for **CycloneDX 1.5 or newer, in JSON**, with one component per device, board, firmware image or
part.

> [!NOTE]
>
> Give firmware and embedded software a **package URL and a version** — only those components can be
> checked for vulnerabilities. Most hardware parts have no package URL, so an HBOM is honestly
> **Partial** rather than fully assessed, and that is expected rather than a problem to hide.

## Keeping it current

Re-upload when you ship a new version, and use **Scan again** in between. The file does not change,
but what is known about its components does.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.