Metadata-Version: 2.5
Name: sbombox
Version: 0.1.1
Summary: SBOMBox CLI - generate, score, and manage SBOMs from the command line
Project-URL: Homepage, https://sbombox.com
Project-URL: Documentation, https://sbombox.com/docs/cli
Project-URL: Source, https://github.com/sbombox-hq/cli
Project-URL: Issues, https://github.com/sbombox-hq/cli/issues
Author-email: sia-sbombox <sia@sbombox.com>
Maintainer-email: sia-sbombox <sia@sbombox.com>
License-Expression: Apache-2.0
Requires-Python: >=3.12
Requires-Dist: httpx>=0.27
Requires-Dist: keyring>=25.0
Requires-Dist: rich>=13.0
Requires-Dist: ruamel-yaml>=0.18
Requires-Dist: sbombox-core
Requires-Dist: typer>=0.12
Provides-Extra: dev
Requires-Dist: cyclonedx-bom>=7.0; extra == 'dev'
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.4; extra == 'dev'
Provides-Extra: sigstore
Requires-Dist: sbombox-core[sigstore]; extra == 'sigstore'
Description-Content-Type: text/markdown

# SBOMBox CLI

Generate, score, check and upload software bills of materials (SBOMs) from the command line. Works offline for everything except signing in and uploading.

## Install

```sh
curl -fsSL https://sbombox.com/install.sh | sh
```

The installer sets up the CLI and an SBOM generator (syft). If you already have a generator, install the CLI on its own:

```sh
uv tool install sbombox
```

Requires Python 3.12 or newer.

## Quick start

```sh
sbombox generate --dir . --output sbom.json     # make an SBOM for this project
sbombox score sbom.json                         # quality score from 0 to 10
sbombox compliance sbom.json --profile ntia     # check against a ruleset
sbombox fix sbom.json --output sbom.fixed.json  # repair common defects
```

To upload to SBOMBox:

```sh
sbombox login
sbombox push sbom.json
```

In CI, use the [GitHub Action](https://github.com/sbombox-hq/action) or run `sbombox ci` to let pipelines upload with their OIDC identity instead of a stored token. `sbombox check --fail-under 7` makes a quick local or pre-commit gate.

## Commands

| | |
|---|---|
| Set up | `login`, `logout`, `whoami`, `init`, `projects`, `ci` |
| Create and assess | `generate`, `check`, `score`, `compliance`, `list`, `fix`, `share` |
| Publish | `push`, `status` |
| Configure | `upgrade`, `config` |

Run `sbombox <command> --help` for options.

Compliance rulesets: NTIA minimum elements (`ntia-2021`), CISA (`cisa-2025`, `cisa-2026`), EU CRA readiness (`cra-readiness`), BSI TR-03183-2 (`bsi-tr-03183-2@2.1.0` and earlier), FSCT v3 (`fsct-v3`) and OpenChain Telco (`openchain-telco`).

## Links

- Docs: [sbombox.com/docs/cli](https://sbombox.com/docs/cli)
- Source and issues: [github.com/sbombox-hq/cli](https://github.com/sbombox-hq/cli)
- Security reports: see [SECURITY.md](https://github.com/sbombox-hq/cli/blob/main/SECURITY.md)

Licensed under Apache-2.0.
