Skip to content

Commit

Permalink
Mention cachi2 limitation in rpm repo id rule
Browse files Browse the repository at this point in the history
It's a small fixup for c9909c4 from
a few weeks ago.

Ref: https://issues.redhat.com/browse/EC-901
  • Loading branch information
simonbaird committed Oct 10, 2024
1 parent 568b152 commit 9f3eec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion antora/docs/modules/ROOT/pages/release_policy.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ This package defines rules to confirm that all RPM packages listed in SBOMs spec
[#rpm_repos__ids_known]
=== link:#rpm_repos__ids_known[All rpms have known repo ids]

Each RPM package listed in an SBOM must specify the repository id that it comes from, and that repository id must be present in the list of known and permitted repository ids.
Each RPM package listed in an SBOM must specify the repository id that it comes from, and that repository id must be present in the list of known and permitted repository ids. Currently this is rule enforced only for SBOM components created by cachi2.

*Solution*: Ensure every rpm comes from a known and permitted repository, and that the data in the SBOM correctly records that.

Expand Down
1 change: 1 addition & 0 deletions policy/release/rpm_repos.rego
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ deny contains result if {
# description: >-
# Each RPM package listed in an SBOM must specify the repository id that it comes from,
# and that repository id must be present in the list of known and permitted repository ids.
# Currently this is rule enforced only for SBOM components created by cachi2.
# custom:
# short_name: ids_known
# failure_msg: 'RPM repo id check failed: %s'
Expand Down

0 comments on commit 9f3eec3

Please sign in to comment.