Skip to main content

Release Bill of Materials (RBOM)

Project description

RBOM

Release Bill Of Materials


PyPI GA Code style: black PyPI

UNDER DEVELOPMENT 🚧

Setup

Create a rbom.yaml in the root repository directory, you can have multiple: - dev: dev.rbom.yaml - staging: staging.rbom.yaml - production: prod.rbom.yaml

Overview

Policy support

Custom Policy

Here for example a policy can be defined programatically, by checking if the actor who ran the workflow is an admin:

rbom set --policy custom:actor-is-admin --passed=${{ github.actor.is_admin }}

Pre-Defined Policies

In the context of GitHub actions for example, a policy id can be that of a check suite such as tests.

The policy id gha-check: Run Tests must be the same as the job name. We specify gha-check: to know to look at GitHub's check suite and then use Run Tests to determine if that specific job passed or failed.

This is auto-matically handled by rbom and the pre-defined policy. You could also add a new policy on the fly by using:

rbom new --policy id="gha-check: Run Tests"

Installation

pip install rbom

Signing

Generate RSA Key Pair

openssl genrsa -out private_rbom_key.pem 2048
openssl rsa -in private_rbom_key.pem -pubout -out public_rbom_key.pem

Haiku
"Scripts fire in the night,
What shipped, who signed, what passed checks?
RBOM leaves no doubt"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rbom-0.1.2.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rbom-0.1.2-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file rbom-0.1.2.tar.gz.

File metadata

  • Download URL: rbom-0.1.2.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for rbom-0.1.2.tar.gz
Algorithm Hash digest
SHA256 99f2aa2a5ed246a7f629054982684b7c3a0c2d313ad37a6aacc3251c8330a9cb
MD5 71d013603b88c83d7cd0915e0f0011ae
BLAKE2b-256 f113a5305ce7f9bc79025dcd9fe704e42c1f7870a9d8821659587aeecf88a008

See more details on using hashes here.

File details

Details for the file rbom-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: rbom-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for rbom-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3546f553e8eb6cec749946270b0150257eb41e6845f336e20e3b6e0190bda6c2
MD5 ea7c89d77f5bf96a59267a42ffd5cb80
BLAKE2b-256 a143e0196cfc3d9199367ae4870463b5b979c730b5177697ca9afce8ffee1353

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page