Skip to content

Commit a23f47c

Browse files
vmrh21claude
andcommitted
fix: remove all RHOAIENG project references from docs and commands
Replace RHOAIENG-specific Jira issue key examples with generic PROJ-XXXXX placeholders across cve.find.md, cve.fix.md, and README.md to make the workflow fully team-agnostic. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 5ede32f commit a23f47c

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

workflows/cve-fixer/.claude/commands/cve.find.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Example:
1313
Querying Jira... Found 2 CVEs
1414
1515
Results:
16-
- RHOAIENG-49745: CVE-2025-68121
17-
- RHOAIENG-48536: CVE-2025-61726
16+
- PROJ-49745: CVE-2025-68121
17+
- PROJ-48536: CVE-2025-61726
1818
1919
Report: artifacts/cve-fixer/find/cve-issues-20260226-145018.md
2020
```

workflows/cve-fixer/.claude/commands/cve.fix.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Summary:
3434
1. **Load CVEs from Find Output or User-Specified Jira Issue**
3535

3636
**Option A: User specifies one or more Jira issues**
37-
- If user provides one or more Jira issue IDs (e.g., `/cve.fix RHOAIENG-4973` or `/cve.fix RHOAIENG-4973 RHOAIENG-5821`):
37+
- If user provides one or more Jira issue IDs (e.g., `/cve.fix PROJ-4973` or `/cve.fix PROJ-4973 PROJ-5821`):
3838
- Process each issue independently -- extract CVE ID and component from each
3939
- Use the provided Jira issue ID(s) directly
4040
- Fetch the issue details from Jira API
@@ -687,7 +687,7 @@ Summary:
687687
- **If using `/cve.find` output (Option B)**:
688688
- Read the latest `/cve.find` output from `artifacts/cve-fixer/find/`
689689
- Search for all Jira issues that mention this specific CVE ID in their summary
690-
- Extract the issue IDs (e.g., RHOAIENG-17794, RHOAIENG-16619, etc.)
690+
- Extract the issue IDs (e.g., PROJ-12345, PROJ-12346, etc.)
691691
- Collect all issue IDs for this CVE
692692
- Generate comprehensive PR description with:
693693
- CVE details and severity
@@ -698,9 +698,9 @@ Summary:
698698
- Risk assessment table
699699
- Links to CVE advisories
700700
- **Jira issue references**: List the extracted Jira issue IDs as plain text WITHOUT hyperlinks
701-
- ✅ Correct: `Resolves: RHOAIENG-17794, RHOAIENG-16619, RHOAIENG-16616`
702-
- ❌ Wrong: `Resolves: [RHOAIENG-17794](https://redhat.atlassian.net/browse/RHOAIENG-17794)`
703-
- ❌ Wrong: `Multiple RHOAIENG issues for CVE-2024-21538 across different release branches`
701+
- ✅ Correct: `Resolves: PROJ-12345, PROJ-12346, PROJ-12347`
702+
- ❌ Wrong: `Resolves: [PROJ-12345](https://redhat.atlassian.net/browse/PROJ-12345)`
703+
- ❌ Wrong: `Multiple Jira issues for CVE-2024-21538 across different release branches`
704704
- Do NOT create markdown links for Jira issues
705705
- Do NOT use generic descriptions - list the ACTUAL issue IDs
706706
- Just list the issue IDs separated by commas
@@ -719,7 +719,7 @@ This PR fixes **CVE-YYYY-XXXXX** by upgrading <package> from X.X.X to Y.Y.Y.
719719
- **Impact**: [Description]
720720
- **Vulnerable versions**: X.X.X - X.X.X
721721
- **Fixed version**: Y.Y.Y
722-
- **Jira Issues**: RHOAIENG-XXXXX, RHOAIENG-YYYYY
722+
- **Jira Issues**: PROJ-XXXXX, PROJ-YYYYY
723723
724724
### Test Results
725725
@@ -896,12 +896,12 @@ Fix all open CVEs from /cve.find output (default):
896896
897897
Fix specific Jira issue:
898898
```
899-
/cve.fix RHOAIENG-4973
899+
/cve.fix PROJ-4973
900900
```
901901
902902
Fix multiple specific Jira issues:
903903
```
904-
/cve.fix RHOAIENG-4973 RHOAIENG-5821
904+
/cve.fix PROJ-4973 PROJ-5821
905905
```
906906
907907
Fix with custom message:
@@ -910,7 +910,7 @@ Fix with custom message:
910910
```
911911
912912
**How it works**:
913-
- If you provide Jira issue IDs (e.g., RHOAIENG-XXXXX), the workflow will fix those specific issues
913+
- If you provide Jira issue IDs (e.g., PROJ-XXXXX), the workflow will fix those specific issues
914914
- If you don't provide Jira IDs, the workflow will:
915915
1. Read the latest `/cve.find` output
916916
2. Extract all CVEs with `Status: Open`
@@ -1097,5 +1097,5 @@ After completing this phase:
10971097
- Include CVE ID in commit title
10981098
- Document breaking changes in commit body
10991099
- Reference Jira issues being resolved (plain text IDs, no hyperlinks)
1100-
- Example: `Resolves RHOAIENG-17794, RHOAIENG-427`
1100+
- Example: `Resolves PROJ-12345, PROJ-427`
11011101
- Add Co-Authored-By for AI agent assistance

workflows/cve-fixer/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ Implement remediations for CVEs discovered in Jira by creating pull requests wit
202202
**Usage:**
203203
```bash
204204
/cve.fix # Will prompt for component and Jira issues
205-
/cve.fix RHOAIENG-12345 # Fix specific Jira issue
206-
/cve.fix RHOAIENG-12345,RHOAIENG-12346 # Fix multiple issues
205+
/cve.fix PROJ-12345 # Fix specific Jira issue
206+
/cve.fix PROJ-12345,PROJ-12346 # Fix multiple issues
207207
```
208208

209209
**What it does:**
@@ -281,7 +281,7 @@ artifacts/cve-fixer/
281281
# Step 2: Review the discovered issues in artifacts/cve-fixer/find/
282282

283283
# Step 3: Implement fixes and create PRs
284-
/cve.fix RHOAIENG-12345,RHOAIENG-12346
284+
/cve.fix PROJ-12345,PROJ-12346
285285

286286
# Step 4: Review the created PRs and merge when ready
287287
```

0 commit comments

Comments
 (0)