GitHub Action to generate CBOMs.
on:
workflow_dispatch:
jobs:
cbom-scan:
runs-on: ubuntu-latest
name: CBOM generation
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create CBOM
uses: PQCA/[email protected]
id: cbom
# Allow you to persist CBOM after a job has completed, and share
# that CBOM with another job in the same workflow.
- name: Create and publish CBOM artifact
uses: actions/upload-artifact@v4
with:
name: "CBOM"
path: ${{ steps.cbom.outputs.filename }}
The current scanning capabilities of the CBOMkit are defined by the Sonar Cryptography Plugin's supported languages and cryptographic libraries:
Language | Cryptographic Library | Coverage |
---|---|---|
Java | JCA | 100% |
BouncyCastle (light-weight API) | 100%1 |
While the CBOMkit's scanning capabilities are currently bound to the Sonar Cryptography Plugin, the modular design of this plugin allows for potential expansion to support additional languages and cryptographic libraries in future updates.
Footnotes
-
We only cover the BouncyCastle light-weight API according to this specification ↩