Automated fix version sync for CVEs from GitHub release labels to Jira
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 45/100
Research direction
Start by tracing the existing CVE linkage and Jira issue-tracker flow in keycloak-github-bot, then identify how GitHub label additions and removals can be observed. Done means release labels on keycloak-private keep the corresponding Jira fix versions synchronized, with audit logs and retry behavior when the Jira issue is not yet available.
Written by the indexing model from the issue text.
Description
Summary
Enable keycloak-github-bot to automatically update Jira issue fix versions based on release labels applied to CVE issues in keycloak-private, eliminating manual cross-referencing and giving the Continuous Delivery team visibility into upcoming fixes.
Problem statement
There's a disconnect between where CVE work happens (GitHub/keycloak-private) and where release planning for RHBK happens (Jira):
- Secalert creates Jira issue trackers for CVEs
- Engineers fix CVEs in keycloak-private and apply release labels (e.g.,
26.0.x,24.0.x) versions that will include the fix - Someone from the security team has to manually find each CVE in keycloak-private, check its release labels, then update the corresponding Jira issue with the correct fix version(s)
- Until that manual step happens, the Continuous Delivery team has no visibility into which fixes are coming in their release backlog
This manual matching is error-prone and is creating delays. The CD team ends up flying blind, and the security team wastes time on it instead of real security work.
Proposed solution
Automate the label-to-fix-version sync:
- Jira issue trackers are created by secalert — no change here
- Bot monitors keycloak-private for release labels — when a CVE issue gets a release label (e.g.,
26.0.5), the bot detects it - Bot updates the corresponding Jira issue — sets the fix version field to match the release label(s)
- Continuous updates — if labels are added or removed on GitHub, the bot syncs those changes to Jira
The bot already knows about CVE IDs from the existing flow, so it has the linkage needed to match GitHub issues to Jira issues.
Current
flowchart LR
subgraph Current["Current workflow"]
direction TB
A1[Secalert creates Jira issue] --> B1[Human checks keycloak-private for CVE]
B1 --> C1[Human reads release labels]
C1 --> D1[Human updates Jira fix version]
D1 --> E1[CD team finally sees the fix in backlog]
end
Proposal
flowchart LR
subgraph Proposed["Proposed workflow"]
direction TB
A2[Secalert creates Jira issue] --> B2[Bot detects release labels on keycloak-private]
B2 --> C2[Bot updates Jira fix version]
C2 --> D2[CD team sees fix in backlog immediately]
end
Value & benefits
| Benefit | Who benefits from it | Impact |
|---|---|---|
| Real-time release visibility | Continuous Delivery team | Fixes appear in their backlog as soon as labels are applied, not days later |
| Eliminated manual toil | Security team | No more cross-referencing GitHub and Jira to update fix versions |
| Reduced errors | Everyone | No more missed or incorrect fix versions from human error |
| Faster release cycles | CD team, product | No delays waiting for someone tell which CVEs must go into the RHBK releases |
User stories / scenarios
Scenario: Fix labeled for multiple releases
An engineer fixes CVE-2025-98765 in keycloak-private and applies labels
26.0.5and24.0.12(backport). Within minutes, the bot updates the Jira issue tracker to show fix versions26.0.5and24.0.12. The CD team planning the 26.0.5 release immediately sees this CVE in their backlog without anyone pinging them or manually updating Jira.
Scenario: Label removed after backport decision changes
A backport to
24.0.xis initially planned, but later the team decides not to backport. The engineer removes the24.0.12label from the GitHub issue. The bot detects the removal and updates Jira, removing24.0.12from the fix versions. The CD team's backlog reflects reality without manual intervention.
Acceptance criteria
- When a release label is added to a CVE issue in keycloak-private, the bot updates the corresponding Jira issue's fix version within minutes
- When a release label is removed, the bot removes that fix version from Jira
- Multiple release labels result in multiple fix versions on distinct Jira issues
- The bot handles label additions/removals on existing issues, not just newly labeled ones
- The bot logs all fix version updates for auditability
- If no corresponding Jira issue exists yet, the bot checks again on the next time
Out of scope
- Creating Jira issues (secalert handles that)
- Syncing fix versions from Jira back to GitHub labels
- Modifying the release labeling in keycloak-private
- Any other Jira fields beyond fix version
Discussion
No response
Motivation
No response
Details
No response
- Dominant language
- Java
- Stars
- 10
- Forks
- 11
- Avg merge
- 9d 15h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from keycloak/keycloak-github-bot
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
keycloak/keycloak-github-bot#90 · 3 comments · 1 reaction ·
-
Remove stale issue links from backport PRsPossibly taken @mabartos claimed this 9 days ago. Openkind/enhancement
keycloak/keycloak-github-bot#100 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 56/100
keycloak/keycloak-github-bot#99 · 3 comments · 1 reaction ·
-
kind/bug status/triage
Difficulty 3/5 Half a day Newbie friendliness 42/100
keycloak/keycloak-github-bot#93 · 2 comments ·
-
Remind issue assignees about missing backport PRsMay be free again @mabartos claimed this 44 days ago, and no pull request is open. Openkind/enhancement status/triage
keycloak/keycloak-github-bot#91 · 1 assignee ·
All issues in keycloak/keycloak-github-bot
Similar issues
-
feature request needs triage
Difficulty 1/5 Under an hour Newbie friendliness 66/100
TeamNewPipe/NewPipe#14083 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
PCL-Community/PCL-CE#3907 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 2 days
-
`B3PropagatorExtractorMultipleHeaders` allocates when headers are missingPossibly taken @Eliot5566 claimed this today. OpenBug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-telemetry/opentelemetry-java#9065 ·
Maintainers usually reply within 3 days
-
area/dependencies area/dependencies/quarkus backport/26.6 backport/26.8 kind/cve severity/critical source/scan-dependencies status/triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days