Skip to content

Combined doc update - PSMICRO-900 - binary expansion docs - #96

Open
dbaker-arch wants to merge 24 commits into
RedHatProductSecurity:mainfrom
dbaker-arch:dbaker-900
Open

Combined doc update - PSMICRO-900 - binary expansion docs#96
dbaker-arch wants to merge 24 commits into
RedHatProductSecurity:mainfrom
dbaker-arch:dbaker-900

Conversation

@dbaker-arch

Copy link
Copy Markdown

Combined docs update for binary expansion notes.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2f87b226-d889-4ce3-9854-08e8c3304c78

📥 Commits

Reviewing files that changed from the base of the PR and between 431b914 and ad43401.

📒 Files selected for processing (1)
  • docs/scanning-vendors.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/scanning-vendors.md

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Updated CSAF/VEX guidance to reflect current advisory and VEX publication practices, scopes, profiles, product relationships, and package metadata.
    • Expanded RPM and repository metadata documentation, including package discovery, module details, modular RPM queries, and repository lookup guidance.
    • Clarified CVE, CPE, PURL, product-status, and modular RPM terminology.
    • Updated SBOM, VEX, and security-data publication guidance.
    • Replaced outdated issue-tracker links with current Atlassian project references throughout the documentation.

Walkthrough

The documentation updates describe current CSAF/VEX publication practices, clarify RPM and repository guidance, expand product metadata definitions, and replace legacy SECDATA links with Red Hat Atlassian URLs.

Changes

Documentation guidance updates

Layer / File(s) Summary
CSAF and VEX model documentation
docs/csaf-vex.md
The guide now documents CSAF advisory and VEX files, profiles, publication scope, product identifiers, status fields, and binary and modular RPM expansion.
RPM and repository guidance
docs/scanning-vendors.md
The guide now distinguishes RPM types, explains SRPM queries and package discovery, and documents current repository metadata and lookup commands.
SECDATA feedback and project links
docs/csaf-vex.md, docs/purl.md, docs/sbom.md, docs/scanning-vendors.md, docs/vex-ga-details.md, docs/vex-ga.md
SECDATA references now use Red Hat Atlassian project links. The scanning guide also includes updated question and bug-report links.

Estimated code review effort: 2 (Simple) | ~10 minutes

Mergeability Score: ⚪ Minimal · up to ad434

This documentation-only update introduces no actionable merge-blocking risk; it is merge-ready after normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title identifies the documentation update and its binary expansion focus, which matches a stated objective of the changeset.
Description check ✅ Passed The description is related to the documentation changes and specifically mentions the binary expansion notes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 8

🧹 Nitpick comments (1)
docs/csaf-vex.md (1)

43-43: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use descriptive link text.

Replace here with destination-specific text such as CSAF advisory directory, per-CVE VEX directory, and binary-RPM-aware VEX feed. This improves link discoverability and addresses the MD059 warnings.

Also applies to: 60-61

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/csaf-vex.md` at line 43, Update the links in docs/csaf-vex.md, including
the additional occurrences around lines 60–61, to replace generic “here” link
text with destination-specific labels such as “CSAF advisory directory,”
“per-CVE VEX directory,” and “binary-RPM-aware VEX feed,” while preserving the
existing URLs and surrounding content.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/csaf-vex.md`:
- Around line 204-206: Update the CPE definition in the documentation to
describe CPE as a structured naming scheme, not a centralized database; state
that the NVD hosts a dictionary of official CPE names, while preserving the
existing reference link.
- Around line 332-358: Update the RPM expansion documentation around “Binary RPM
Expansion” and “Modular RPM (rpmmod) Expansion” to define the consumer contract:
scanners must form product/component pairs, traverse module RPMs through
RPM-to-module and module-to-product relationships, and specify how to resolve
SRPM-level versus binary-RPM status mismatches so affectedness is neither
omitted nor misattributed. Align the wording with the relationship model
referenced in docs/scanning-vendors.md.
- Around line 5-9: Update the CSAF VEX coverage statement in the document
introduction to retain July 10, 2024 as the historical GA milestone while
qualifying the current effective scope and date, including the later all-CVE
rollout and subsequent removal of files based solely on public CVE data; link to
the Red Hat changelog for these changes if appropriate, and avoid implying that
an absent CVE indicates no association.
- Around line 132-133: Update the CSAF VEX field documentation to distinguish
document.tracking.id as the VEX document identifier and initial_release_date as
that document’s first publication date. Move CVE-specific metadata under
vulnerabilities[].cve, and document the Red Hat convention of using a CVE ID as
the document ID when applicable.

In `@docs/scanning-vendors.md`:
- Line 52: Update the RPM module statement in the documentation to say that RHEL
10 deprecates modularity and does not distribute modular RPM content, while
clarifying that module functionality is scheduled for removal in a future major
release. Avoid wording that implies rpmmod handling should be removed for all
RHEL releases.
- Around line 60-61: Update the documentation around RPM discovery to
distinguish regular packages from module streams and profiles: retain rpm -qa
for binary RPMs, document dnf module list --installed for RPM modules in
modularity-enabled content, and specify the fallback behavior when dnf is
unavailable.
- Around line 228-231: Align the rollout date in the legacy content manifest
section with the verified content-sets replacement date documented elsewhere,
replacing the conflicting July 2025 date while preserving the deprecation
guidance.
- Around line 328-334: Update the vendor-scanning documentation and
implementation described around the binary RPM repository lookup to use an
installed-package/transaction-scoped query, such as DNF5’s --installed query
with %{from_repo}, instead of unscoped dnf repoquery metadata. Ensure the
scanner emits only the repository recorded at installation time, preventing
currently available but uninvolved repositories from reaching the CPE-mapping
step.

---

Nitpick comments:
In `@docs/csaf-vex.md`:
- Line 43: Update the links in docs/csaf-vex.md, including the additional
occurrences around lines 60–61, to replace generic “here” link text with
destination-specific labels such as “CSAF advisory directory,” “per-CVE VEX
directory,” and “binary-RPM-aware VEX feed,” while preserving the existing URLs
and surrounding content.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6079703c-33d2-4766-a0aa-15f476c58ae1

📥 Commits

Reviewing files that changed from the base of the PR and between b1abb59 and f621f10.

📒 Files selected for processing (6)
  • docs/csaf-vex.md
  • docs/purl.md
  • docs/sbom.md
  • docs/scanning-vendors.md
  • docs/vex-ga-details.md
  • docs/vex-ga.md

Comment thread docs/csaf-vex.md Outdated
Comment thread docs/csaf-vex.md
Comment thread docs/csaf-vex.md Outdated
Comment thread docs/csaf-vex.md
Comment thread docs/scanning-vendors.md Outdated
Comment thread docs/scanning-vendors.md
Comment thread docs/scanning-vendors.md
Comment thread docs/scanning-vendors.md

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/csaf-vex.md (1)

235-235: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Use rpm with the rpmmod qualifier.

rpmmod is not a purl type. Update this sentence to list rpm and oci purl types, and state that modular RPMs use the rpmmod qualifier.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/csaf-vex.md` at line 235, Update the purl content-type sentence in the
CSAF VEX documentation to list only the rpm and oci types, and state that
modular RPMs use the rpmmod qualifier.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/scanning-vendors.md`:
- Line 233: Update the container image path documentation in the scanning
guidance to use the absolute `/root/buildinfo/` directory instead of the
relative `root/buildinfo/` path, preserving the surrounding instructions.

---

Outside diff comments:
In `@docs/csaf-vex.md`:
- Line 235: Update the purl content-type sentence in the CSAF VEX documentation
to list only the rpm and oci types, and state that modular RPMs use the rpmmod
qualifier.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 368468fe-f343-43da-a071-2a18f41686b2

📥 Commits

Reviewing files that changed from the base of the PR and between d22db49 and fb5a0a9.

📒 Files selected for processing (4)
  • docs/csaf-vex.md
  • docs/purl.md
  • docs/scanning-vendors.md
  • docs/vex-ga.md
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/purl.md
  • docs/vex-ga.md

Comment thread docs/scanning-vendors.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant