feat(findings): copy a finding as ticket text, hint at Breakpilot Git (#980)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m23s
CI / Check (pull_request) Successful in 20m43s

The finding page gets an "Als Ticket-Text kopieren" button that copies
the finding as Markdown (title, severity, status, location, description,
the AI assessment, CRA-Themen and a link back to Prüfwerk), confirmed
with "Kopiert". The Markdown is built in Rust; JavaScript only writes it
to the clipboard.

Where the target opens no tickets on its own and the finding has none, a
hint says "Mit Breakpilot Git werden Tickets automatisch angelegt" and
links to connecting a tracker and to the Managed Git guide. The target's
CRA view now says whether a tracker is connected: one with a type is
configured, or the target came from a managed git source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-11-12 09:43:13 +01:00
1 parent f5697ff21d
commit 4592b8b974
7 files changed
+407 -6

No files matched your search

+18
View File
@@ -93,6 +93,24 @@ in this order:
- **Ihre Einschätzung** (Developer feedback) -- a free-text note, saved when you
leave the field.
### Turning a finding into a ticket
Below the badges, **Als Ticket-Text kopieren** (Copy as ticket text) copies
this one finding to the clipboard as Markdown: title, severity, status,
location (file and line), description, the automated review's assessment, the
**CRA-Themen** (CRA topics) and a link back to the finding in Prüfwerk. Paste
it into a new ticket in any tracker; **Kopiert** (Copied) confirms the copy.
The labels follow the dashboard's language, and a committed secret is
shortened as on the page.
When the finding's target has no issue tracker connected and the finding has
no ticket yet, a hint beside the button reads "Mit Breakpilot Git werden
Tickets automatisch angelegt" (With Breakpilot Git, tickets are created
automatically). It links to
[Connecting an Issue Tracker](/guide/repositories#connecting-an-issue-tracker)
and to [Managed Git](/guide/managed-git). A target counts as connected when an
issue tracker is configured on it or its repository comes from Managed Git.
## Severity Levels
| Severity | Description | Typical Examples |
+4
View File
@@ -80,3 +80,7 @@ Issues are deduplicated using the same fingerprint hash that deduplicates findin
## Linked Issues in Finding Detail
When viewing a [finding's detail page](/guide/findings#finding-detail), you will see a **Verknüpftes Ticket** (Linked issue) section if an issue was created for that finding. This provides a direct link to the external tracker issue, making it easy to jump between the security context in Prüfwerk and the development workflow in your tracker.
## Without a Connected Tracker
Without a tracker, open the ticket by hand: **Als Ticket-Text kopieren** (Copy as ticket text) on the finding's page copies the finding as Markdown, ready to paste into a new ticket. On a target without a tracker the page also points to Breakpilot Git, where tickets are created automatically. See [Turning a finding into a ticket](/guide/findings#turning-a-finding-into-a-ticket).