Skip to content

Integ#92

Merged
e2hln merged 2 commits into
mainfrom
integ
Jul 21, 2026
Merged

Integ#92
e2hln merged 2 commits into
mainfrom
integ

Conversation

@eaglei15

Copy link
Copy Markdown
Collaborator

No description provided.

eaglei15 added 2 commits July 20, 2026 20:42
…neDX SBOM

Triggered on every pushed v* tag. The workflow:

- Verifies the tag matches pyproject.toml's version and fails fast otherwise,
  so built artifacts can never be named for a different version than the
  release they ship in.
- Builds the Python distribution artifacts (wheel + sdist).
- Generates a CycloneDX SBOM of the project's Python runtime environment with
  cyclonedx-py (run isolated via pipx). Using --pyproject captures the full
  transitive dependency closure and records the dependency graph rooted at
  the project.
- Finalizes the root component's identity: type=application, version from the
  tag, group/namespace GenAI-Security-Project, a namespaced PURL, and
  supplier/manufacturer set to the owning organization.
- Records each built artifact's SHA-256 and SHA-512 hashes as distribution
  external references on the root component.
- Validates the SBOM against the CycloneDX 1.6 schema.
- Publishes a GitHub Release with the artifacts and the SBOM attached.

Adds scripts/finalize_sbom.py to perform the root-component and artifact-hash
finalization.
…peline

ci: release pipeline with CycloneDX SBOM (artifacts + hashes)
@e2hln
e2hln merged commit 9b8056a into main Jul 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants