fix(jira,tests): push system gaps to Jira, show detect suggested procedure in catalog
Aegis CI / lint-and-test (push) Has been cancelled
Snyk Security Scan / Python vulnerabilities (backend) (push) Has been cancelled
Snyk Security Scan / npm vulnerabilities (frontend) (push) Has been cancelled
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Has been cancelled

flag_blue_review_gap saved system_gaps on the test but the Jira
in_review comment never mentioned it, so a flagged capability gap was
silently invisible in Jira. Now included in the comment and tagged
with a system-gap label for filtering.

Also surfaces TestTemplate.detect_suggested_procedure as a read-only
reference in the Test Catalog's create-from-template modal — it was
only ever shown in the admin template editor, not here, so an approved
suggestion appeared to vanish when viewed from the catalog.
This commit is contained in:
kitos
2026-07-15 08:56:19 +02:00
parent 11080bd627
commit 44fdb4dbd3
3 changed files with 57 additions and 0 deletions
@@ -221,6 +221,19 @@ export default function TestFromTemplateForm({
</div>
</div>
{/* Detect Suggested Procedure (read-only reference for Blue Team) */}
<div>
<label className="mb-1.5 block text-sm font-medium text-gray-300">
Detect Suggested Procedure
<span className="ml-2 text-xs text-gray-500">(read-only reference for Blue Team)</span>
</label>
<div className="rounded-lg border border-gray-700 bg-gray-800/50 p-3">
<p className="whitespace-pre-wrap font-mono text-sm text-gray-400">
{template?.detect_suggested_procedure || "No detection procedure suggested yet."}
</p>
</div>
</div>
{/* Error */}
{createMutation.isError && (
<div className="rounded-lg border border-red-500/30 bg-red-900/20 p-3 text-sm text-red-400">