NH-141840 Add Jira creation to image publish workflow if Critical/High risks#797
Open
tammy-baylis-swi wants to merge 21 commits into
Open
NH-141840 Add Jira creation to image publish workflow if Critical/High risks#797tammy-baylis-swi wants to merge 21 commits into
tammy-baylis-swi wants to merge 21 commits into
Conversation
24fee92 to
f818933
Compare
ee070a8 to
2c58ae0
Compare
36b2f43 to
e3d63e9
Compare
e3d63e9 to
cdb49ff
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the autoinstrumentation image publish workflows to automatically create Jira issues for Docker Scout–detected vulnerabilities by introducing a reusable composite GitHub Action and a Jira issue JSON template.
Changes:
- Added a composite action (
jira_vuln_k8s) to parse Docker Scout SARIF results and create Jira tickets per Critical/High finding. - Updated both prod and beta image publish workflows to invoke the new Jira-ticket creation action after SARIF upload.
- Added a Jira issue payload template for “Security Vuln” issues.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/build_publish_image_autoinstrumentation.yaml | Invokes Jira ticket creation step after Docker Scout SARIF generation/upload for prod publish workflow. |
| .github/workflows/build_publish_image_autoinstrumentation_beta.yaml | Invokes Jira ticket creation step after Docker Scout SARIF generation/upload for beta publish workflow. |
| .github/actions/jira_vuln_k8s/action.yaml | New composite action to parse SARIF and POST Jira issues for findings. |
| .github/templates/jira-security-vuln.json | New Jira issue JSON template used by the composite action. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the existing "beta" and prod image publish workflows to generate one Jira ticket per Docker Scout-detected vulnerability. See ticket for more testing details.