Skip to content

PBM-1710-SBOMS for PBM#369

Open
rasika-chivate wants to merge 18 commits into
2.15.0from
PBM-1710-SBOMS-for-PBM
Open

PBM-1710-SBOMS for PBM#369
rasika-chivate wants to merge 18 commits into
2.15.0from
PBM-1710-SBOMS-for-PBM

Conversation

@rasika-chivate

Copy link
Copy Markdown
Collaborator

Provide SBOMS for PBM

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation for Software Bill of Materials (SBOM) availability in Percona Backup for MongoDB (PBM) and exposes the new page in the MkDocs navigation.

Changes:

  • Adds a new reference page describing where to find and how to scan PBM SBOMs across packaging formats (tarball/RPM/DEB/Docker).
  • Updates MkDocs navigation to include the new SBOM documentation page.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
mkdocs-base.yml Adds a nav entry intended to link to the new SBOM reference page.
docs/reference/sboms-pbm.md New documentation page describing SBOM locations and scanning examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mkdocs-base.yml Outdated
Comment thread docs/reference/sboms-pbm.md Outdated
Comment thread docs/reference/sboms-pbm.md Outdated
Comment thread docs/reference/sboms-pbm.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@rasika-chivate rasika-chivate temporarily deployed to PBM-1710-SBOMS-for-PBM - pbm-docs PR #369 June 8, 2026 06:47 — with Render Destroyed
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@rasika-chivate rasika-chivate temporarily deployed to PBM-1710-SBOMS-for-PBM - pbm-docs PR #369 June 8, 2026 06:48 — with Render Destroyed
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread variables.yml Outdated
Comment thread docs/reference/sboms-pbm.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment thread variables.yml Outdated
Comment thread docs/reference/sboms-pbm.md Outdated
Comment thread docs/reference/sboms-pbm.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@rasika-chivate rasika-chivate temporarily deployed to PBM-1710-SBOMS-for-PBM - pbm-docs PR #369 June 8, 2026 09:33 — with Render Destroyed
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@rasika-chivate rasika-chivate temporarily deployed to PBM-1710-SBOMS-for-PBM - pbm-docs PR #369 June 8, 2026 09:33 — with Render Destroyed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

Comment on lines +5 to +6
Starting with version 2.15.0, every Percona Backup for MongoDB (PBM) release includes a [CycloneDX 1.6 :octicons-link-external-16:](https://cyclonedx.org/specification/overview/){:target="_blank"} SBOM in JSON format.

Comment on lines +20 to +22
| Binary tarball | `percona-backup-mongodb-{{release}}/percona-backup-mongodb-{{release}}.cdx.json` |
| RPM package | `/usr/share/doc/percona-backup-mongodb/percona-backup-mongodb-{{release}}.cdx.json` |
| DEB package | `/usr/share/doc/percona-backup-mongodb/percona-backup-mongodb-{{release}}.cdx.json` |
Comment on lines +34 to +38
tar tzf percona-backup-mongodb-{{release}}-x86_64.tar.gz | grep cdx.json

# Extract and scan
tar xzf percona-backup-mongodb-{{release}}-x86_64.tar.gz \
-C /tmp percona-backup-mongodb-{{release}}/percona-backup-mongodb-{{release}}.cdx.json
tar xzf percona-backup-mongodb-{{release}}-x86_64.tar.gz \
-C /tmp percona-backup-mongodb-{{release}}/percona-backup-mongodb-{{release}}.cdx.json
trivy sbom --severity HIGH,CRITICAL --ignore-unfixed \
/tmp/percona-backup-mongodb-{{release}}/percona-backup-mongodb-{{release}}.cdx.json

# Scan it (replace 9.x with your RHEL/OL version)
trivy sbom --severity HIGH,CRITICAL --ignore-unfixed --distro redhat/9.x \
/usr/share/doc/percona-backup-mongodb/percona-backup-mongodb-{{release}}.cdx.json

# Scan it
trivy sbom --severity HIGH,CRITICAL --ignore-unfixed \
/usr/share/doc/percona-backup-mongodb/percona-backup-mongodb-{{release}}.cdx.json
Comment on lines +79 to +80
trivy image --severity HIGH,CRITICAL --ignore-unfixed --sbom-sources oci \
docker.io/percona/percona-backup-mongodb:{{release}}
Comment on lines +90 to +93
docker run --rm -it --entrypoint cat \
docker.io/percona/percona-backup-mongodb:{{release}} \
/usr/share/doc/percona-backup-mongodb/percona-backup-mongodb-{{release}}.cdx.json \
| trivy sbom --severity HIGH,CRITICAL --ignore-unfixed -
Comment on lines +102 to +103
oras discover --format tree \
docker.io/percona/percona-backup-mongodb:{{release}}-amd64

@vorsel vorsel left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general

@rasika-chivate rasika-chivate changed the base branch from main to 2.15.0 June 12, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants