"Wie mache ich aus einem Befund ein Ticket?" Without a connected tracker, people copied the finding and the AI assessment by hand. The finding page now helps in two ways.
Copy as ticket text (every finding)
Below the badges: Als Ticket-Text kopieren / Copy as ticket text. It copies this one finding as Markdown and shows Kopiert / Copied for two seconds (Kopieren fehlgeschlagen / Copy failed if the browser refuses). The Markdown is built in Rust (ticket_markdown, unit-tested); JavaScript only calls navigator.clipboard.writeText. Labels follow the UI language; a committed secret is shortened as on the page. Not a findings export.
Copied from a local run (DE):
## SQL-Injection im Login-Handler
- **Schweregrad:** Hoch
- **Status:** Offen
- **Fundstelle:** `app/auth/login.py:42`### Beschreibung
Die Abfrage in `login()` setzt die Benutzereingabe `username` direkt in den SQL-Text ein.
### Einschätzung
Die Eingabe kommt ungeprüft aus dem Login-Formular und erreicht die Datenbank; ausnutzbar ohne Anmeldung.
### CRA-Themen
-`cra-ai-3` Sichere Systemarchitektur
-`cra-ai-4` Least-Privilege-Prinzip
[Im Prüfwerk öffnen](http://127.0.0.1:8981/findings/6af500000000000000000001)
Breakpilot Git hint (only without a tracker)
Next to the button: "Mit Breakpilot Git werden Tickets automatisch angelegt." / "With Breakpilot Git, tickets are created automatically.", with the links Tracker für dieses Prüfobjekt anbinden / Connect a tracker to this target and Anleitung Managed Git / Managed Git guide (guide/managed-git, or guide/managed-git-en in English; built from the configured DOCS_URL).
Connected = the target came from a managed git source (source_repo), or scan_config.issue_tracker is set with a tracker_type. A tracker block without a type opens no tickets (build_tracker returns None), so it does not count. New OnboardedTarget::issue_tracker_connected() in compliance-core.
The agent adds issue_tracker_connected to GET /api/v1/targets/{id}/compliance, which the finding page already fetches, so no new request.
The hint shows only when that field is explicitly false (not while loading) and the finding has no tracker_issue_url.
Open point: the dashboard has no tracker settings (see docs repositories.md, "Connecting an Issue Tracker"), so "Tracker anbinden" links to that docs section, not to a screen in the dashboard.
Docs
docs/guide/findings.md (new "Turning a finding into a ticket") and docs/guide/issues.md ("Without a Connected Tracker").
cargo fmt --all --check; clippy -D warnings for compliance-core, compliance-agent, and compliance-dashboard with server and web (dashboard also with Rust 1.94).
Local UI run (agent + dashboard, throwaway MongoDB): target without tracker shows button and hint; target with a GitLab tracker shows the button only; a finding with a ticket on an unconnected target shows no hint; EN and dark mode checked; the clipboard content was read back and matches the above.
Closes #980
"Wie mache ich aus einem Befund ein Ticket?" Without a connected tracker, people copied the finding and the AI assessment by hand. The finding page now helps in two ways.
## Copy as ticket text (every finding)
Below the badges: **Als Ticket-Text kopieren** / **Copy as ticket text**. It copies this one finding as Markdown and shows **Kopiert** / **Copied** for two seconds (**Kopieren fehlgeschlagen** / **Copy failed** if the browser refuses). The Markdown is built in Rust (`ticket_markdown`, unit-tested); JavaScript only calls `navigator.clipboard.writeText`. Labels follow the UI language; a committed secret is shortened as on the page. Not a findings export.
Copied from a local run (DE):
```markdown
## SQL-Injection im Login-Handler
- **Schweregrad:** Hoch
- **Status:** Offen
- **Fundstelle:** `app/auth/login.py:42`
### Beschreibung
Die Abfrage in `login()` setzt die Benutzereingabe `username` direkt in den SQL-Text ein.
### Einschätzung
Die Eingabe kommt ungeprüft aus dem Login-Formular und erreicht die Datenbank; ausnutzbar ohne Anmeldung.
### CRA-Themen
- `cra-ai-3` Sichere Systemarchitektur
- `cra-ai-4` Least-Privilege-Prinzip
[Im Prüfwerk öffnen](http://127.0.0.1:8981/findings/6af500000000000000000001)
```
## Breakpilot Git hint (only without a tracker)
Next to the button: "Mit Breakpilot Git werden Tickets automatisch angelegt." / "With Breakpilot Git, tickets are created automatically.", with the links **Tracker für dieses Prüfobjekt anbinden** / **Connect a tracker to this target** and **Anleitung Managed Git** / **Managed Git guide** (`guide/managed-git`, or `guide/managed-git-en` in English; built from the configured `DOCS_URL`).
- Connected = the target came from a managed git source (`source_repo`), or `scan_config.issue_tracker` is set **with a `tracker_type`**. A tracker block without a type opens no tickets (`build_tracker` returns `None`), so it does not count. New `OnboardedTarget::issue_tracker_connected()` in compliance-core.
- The agent adds `issue_tracker_connected` to `GET /api/v1/targets/{id}/compliance`, which the finding page already fetches, so no new request.
- The hint shows only when that field is explicitly `false` (not while loading) and the finding has no `tracker_issue_url`.
**Open point:** the dashboard has no tracker settings (see docs `repositories.md`, "Connecting an Issue Tracker"), so "Tracker anbinden" links to that docs section, not to a screen in the dashboard.
## Docs
`docs/guide/findings.md` (new "Turning a finding into a ticket") and `docs/guide/issues.md` ("Without a Connected Tracker").
## Checks
- Tests: `a_target_has_a_tracker_when_one_is_set_or_it_is_managed` (core); `the_ticket_text_holds_the_finding_and_a_link_back`, `the_ticket_text_leaves_out_what_the_finding_lacks`, `the_ticket_text_shortens_a_committed_secret`, `a_docs_page_joins_the_configured_root` (dashboard).
- `cargo fmt --all --check`; clippy `-D warnings` for compliance-core, compliance-agent, and compliance-dashboard with `server` and `web` (dashboard also with Rust 1.94).
- Local UI run (agent + dashboard, throwaway MongoDB): target without tracker shows button and hint; target with a GitLab tracker shows the button only; a finding with a ticket on an unconnected target shows no hint; EN and dark mode checked; the clipboard content was read back and matches the above.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #980
"Wie mache ich aus einem Befund ein Ticket?" Without a connected tracker, people copied the finding and the AI assessment by hand. The finding page now helps in two ways.
Copy as ticket text (every finding)
Below the badges: Als Ticket-Text kopieren / Copy as ticket text. It copies this one finding as Markdown and shows Kopiert / Copied for two seconds (Kopieren fehlgeschlagen / Copy failed if the browser refuses). The Markdown is built in Rust (
ticket_markdown, unit-tested); JavaScript only callsnavigator.clipboard.writeText. Labels follow the UI language; a committed secret is shortened as on the page. Not a findings export.Copied from a local run (DE):
Breakpilot Git hint (only without a tracker)
Next to the button: "Mit Breakpilot Git werden Tickets automatisch angelegt." / "With Breakpilot Git, tickets are created automatically.", with the links Tracker für dieses Prüfobjekt anbinden / Connect a tracker to this target and Anleitung Managed Git / Managed Git guide (
guide/managed-git, orguide/managed-git-enin English; built from the configuredDOCS_URL).source_repo), orscan_config.issue_trackeris set with atracker_type. A tracker block without a type opens no tickets (build_trackerreturnsNone), so it does not count. NewOnboardedTarget::issue_tracker_connected()in compliance-core.issue_tracker_connectedtoGET /api/v1/targets/{id}/compliance, which the finding page already fetches, so no new request.false(not while loading) and the finding has notracker_issue_url.Open point: the dashboard has no tracker settings (see docs
repositories.md, "Connecting an Issue Tracker"), so "Tracker anbinden" links to that docs section, not to a screen in the dashboard.Docs
docs/guide/findings.md(new "Turning a finding into a ticket") anddocs/guide/issues.md("Without a Connected Tracker").Checks
a_target_has_a_tracker_when_one_is_set_or_it_is_managed(core);the_ticket_text_holds_the_finding_and_a_link_back,the_ticket_text_leaves_out_what_the_finding_lacks,the_ticket_text_shortens_a_committed_secret,a_docs_page_joins_the_configured_root(dashboard).cargo fmt --all --check; clippy-D warningsfor compliance-core, compliance-agent, and compliance-dashboard withserverandweb(dashboard also with Rust 1.94).🤖 Generated with Claude Code