
Skill
compute-plugin-package-overlay-cve-list
generate CVE management reports
Description
Builds a deduped RHDH CVE Management CSV from GA plugin workspace changes in rhdh-plugin-export-overlays since a version tag (patches, source.json, plugins-list). Use for "CVE CSV", "workspace CVEs since tag", "collect overlay CVEs", "CVE management CSV", orchestrator/lightspeed CVE review, or plugin package overlay CVE list.
SKILL.md
Compute plugin package overlay CVE list
Goal
Produce a unique CVE list (CSV matching RHDH CVE Management exports) for dependency/CVE fixes on a release branch since a revision, scoped to generally-available plugin workspaces.
Primary repo: rhdh-plugin-export-overlays.
Prerequisites
- Node 18+,
git,gh - For Jira enrich (default): Cursor Atlassian MCP (
plugin-atlassian-atlassian) — runcursor-mcp-authfirst - Optional local
--rhdh-repofor--sincedate fallback
Do not reimplement parsing — run the bundled script. The CLI does not call Jira; the agent enriches via MCP.
Run (extract)
SKILL=skills/compute-plugin-package-overlay-cve-list # under 1-rhdh-skill checkout
node "${SKILL}/scripts/compute-plugin-package-overlay-cve-list.mjs" \
--since 1.10.2 \
--regex 'orchestrator|lightspeed' \
--repo /home/nboldt/1/1-overlays
# Default: /tmp/1.10/RHDH CVE Management - 1.10.3-plugins.csv
# /tmp/1.10/RHDH CVE Management - 1.10.3-plugins.rows.json
--since 1.10.2 alone implies --branch release-1.10. Omit --repo to clone overlays into /tmp/rhdh-plugin-export-overlays-<timestamp>.
Agent enrich (default)
Unless --no-metadata:
- Load
cursor-mcp-auth→ok:mcp(atlassianUserInfo). cloudId:2b9e35e3-6bd3-4cec-b838-f4249ee02432orhttps://redhat.atlassian.net.- For each unique JIRA key (or bulk JQL) → MCP
getJiraIssue/searchJiraIssuesUsingJqlwith fields:summary,status,resolution,duedate,customfield_10859(ProdSec CVSS vector; take leading score, e.g.7.5from7.5 CVSS:3.1/...). UseissueFieldsToEnrichfrom the script. - For CVEs with no JIRA → MCP
searchJiraIssuesUsingJql:project IN (RHIDP,RHDHBUGS,RHDHPLAN) AND summary ~ "CVE-…" AND (<jql>)--jqlis an inclusion rule. DefaultResolution != null→ MCPresolution is not EMPTY. - Write enrich JSON, then apply (same
--jqlkeeps matching rows in the CSV):
# enrich.json shape:
# { "issues": { "RHIDP-123": { "status","resolution","dueDate","cvss","summary" } },
# "cveJiras": { "CVE-2026-1": ["RHIDP-456"] } }
node "${SKILL}/scripts/compute-plugin-package-overlay-cve-list.mjs" \
--apply-enrich /tmp/1.10/enrich.json \
--rows-json "/tmp/1.10/RHDH CVE Management - 1.10.3-plugins.rows.json" \
-o "/tmp/1.10/RHDH CVE Management - 1.10.3-plugins.csv"
Never invent CVSS — only use the leading score from customfield_10859 (or another explicit CVSS field). Never paste OAuth secrets into chat.
Flags
| Flag | Behavior |
|---|---|
--repo | Optional overlays checkout; else clone to /tmp/rhdh-plugin-export-overlays-<timestamp> |
--branch | Optional; from --since X.Y.Z → release-X.Y |
--since | Required (unless --apply-enrich). Tag / SHA / X.Y.Z |
--regex | Optional workspace name filter; always intersected with GA |
--rhdh-repo | Optional local rhdh checkout for since-date fallback |
--no-metadata | Skip agent MCP enrich (no .rows.json unless --rows-json) |
--jira-projects | Default RHIDP,RHDHBUGS,RHDHPLAN (PR body scan) |
--jql | Keep enriched rows matching EXPR (default Resolution != null) |
--no-jql | Disable JQL filtering (keep all) |
-o | Output CSV path; default /tmp/<stream>/RHDH CVE Management - <nextz>-plugins.csv |
--rows-json | Write/read row JSON for MCP enrich |
--apply-enrich | Merge MCP enrich JSON into CSV |
--json | Summary on stderr |
References
Gotchas
- Overlays may lack version tags —
--since X.Y.Zuses the tip-most branch commit mentioning that version (release message orresolve X.Y.Z CVEs), not an earlier release-message alone - CVE tracking is GA-only (
spec.support: generally-available) - Skip test-only commits (
e2e-tests/,smoke-tests/) - Enrich via Atlassian MCP after extract (
--apply-enrich) - If no JIRA for a CVE, JIRA Issue column gets the overlays commit URL
- Unchanged / prior-release backport CVEs → Resolution
Done <since>, StatusClosed <since>(e.g.Done 1.10.2/Closed 1.10.2); JIRA from introduce commit PR
More skills from the rhdh-skill repository
View all 24 skillsagent-ready
assess repository readiness for AI agents
Jul 16AgentsCode AnalysisEngineeringbackstage-upgrade
upgrade Backstage dependencies
Jul 16EngineeringMaintenanceMigrationbase-images-and-rpms
update base images and lockfiles
Jul 16AutomationConfigurationContainersDeploymentbug-fix
diagnose and fix plugin bugs
Jul 29DebuggingQATestingcreate-plugin
scaffold and package RHDH dynamic plugins
Jul 16DeploymentPlugin Developmentcursor-mcp-auth
authenticate Atlassian MCP for Jira
Jul 29AuthJiraMCPOAuth
More from Red Hat Developer
View publisherkonflux-release-data-rpa
update release tags in konflux-release-data
rhdh-skill
Jul 16AutomationDeploymentGitLabkonflux-tekton-updates
update Konflux Tekton task digests
rhdh-skill
Jul 16AutomationCI/CDDeploymentEngineeringlifecycle
check Red Hat product lifecycle status
rhdh-skill
Jul 16ComplianceMaintenanceOperationsnfs-migration
migrate plugins to New Frontend System
rhdh-skill
Jul 16EngineeringFrontendMigrationoverlay
manage RHDH plugin export overlays
rhdh-skill
Jul 16AutomationCode ReviewDeploymentEngineering