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.1.tar.gz (43.4 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.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rbom-0.1.1.tar.gz
  • Upload date:
  • Size: 43.4 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.1.tar.gz
Algorithm Hash digest
SHA256 58377b732f067b6ff1b1da6aa55d1308c005944fa22fffc6da1301c121d69a69
MD5 8807cc783b3602edcf11f34e2a13ecec
BLAKE2b-256 015f2a2bf5da50a4554d599aec6d9d6e4bf033b3a108feb4c1e58d83b5e82787

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rbom-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a700f5485300b4a7874504831e00aac1cf2e60b254ea95df8d16544e3a8c5875
MD5 18f4cf0e8bcb46bb20a9cd230ab2bdbc
BLAKE2b-256 093d4bb87eb992594a4088589a1e54a1047de1dd87caf69f5d3c7d121ae1f032

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