The VEX panel on a Prüfobjekt mentioned the CSAF draft's TLP label only in running text ("Der CSAF-Entwurf ist als TLP:AMBER markiert ..."), with no visual cue and no explanation of what TLP:AMBER means for sharing.
What changed
Below "CSAF-Entwurf herunterladen" the panel now reads "Der CSAF-Entwurf ist markiert als [TLP:AMBER]. Prüfen Sie Herausgeber und Aussagen ...", with the label as a badge.
Colours reuse the existing badge classes: AMBER badge-medium (the amber --sev-medium/--warning token), RED badge-danger, GREEN badge-success, CLEAR/WHITE badge-neutral. No new CSS.
Tooltip (title) per FIRST TLP 2.0, DE + EN: AMBER "Weitergabe nur intern und an Kunden, die es wissen müssen" / "Share only within your organisation and with clients who need to know"; RED "Nur für die einzelnen Empfänger, keine Weitergabe"; GREEN "Weitergabe innerhalb der eigenen Community, nicht öffentlich"; CLEAR/WHITE "Weitergabe ohne Einschränkung, öffentlich".
The draft's label stays AMBER (set in compliance_core::csaf_docs); the dashboard mirrors it in one constant next to the badge. Only AMBER is displayed today; the other mappings are there for when the label becomes configurable.
docs/guide/vex.md and vex-en.md mention the badge.
Tests
New components::vex_panel::tests::each_tlp_label_has_its_colour_and_sharing_rule.
cargo fmt --all --check, clippy -D warnings for compliance-dashboard with server and with web.
Not looked at in a browser locally (colour in light and dark theme unverified by eye).
Stage re-test
Open a Prüfobjekt with known vulnerabilities and scroll to the VEX card.
Below "CSAF-Entwurf herunterladen": an amber "TLP:AMBER" badge inside the sentence.
Hover the badge: tooltip "Weitergabe nur intern und an Kunden, die es wissen müssen"; switch the UI to EN: "Share only within your organisation and with clients who need to know".
## What was wrong
The VEX panel on a Prüfobjekt mentioned the CSAF draft's TLP label only in running text ("Der CSAF-Entwurf ist als TLP:AMBER markiert ..."), with no visual cue and no explanation of what TLP:AMBER means for sharing.
## What changed
- Below "CSAF-Entwurf herunterladen" the panel now reads "Der CSAF-Entwurf ist markiert als [TLP:AMBER]. Prüfen Sie Herausgeber und Aussagen ...", with the label as a badge.
- Colours reuse the existing badge classes: AMBER `badge-medium` (the amber `--sev-medium`/`--warning` token), RED `badge-danger`, GREEN `badge-success`, CLEAR/WHITE `badge-neutral`. No new CSS.
- Tooltip (`title`) per FIRST TLP 2.0, DE + EN: AMBER "Weitergabe nur intern und an Kunden, die es wissen müssen" / "Share only within your organisation and with clients who need to know"; RED "Nur für die einzelnen Empfänger, keine Weitergabe"; GREEN "Weitergabe innerhalb der eigenen Community, nicht öffentlich"; CLEAR/WHITE "Weitergabe ohne Einschränkung, öffentlich".
- The draft's label stays AMBER (set in `compliance_core::csaf_docs`); the dashboard mirrors it in one constant next to the badge. Only AMBER is displayed today; the other mappings are there for when the label becomes configurable.
- docs/guide/vex.md and vex-en.md mention the badge.
## Tests
- New `components::vex_panel::tests::each_tlp_label_has_its_colour_and_sharing_rule`.
- `cargo fmt --all --check`, clippy `-D warnings` for compliance-dashboard with `server` and with `web`.
- Not looked at in a browser locally (colour in light and dark theme unverified by eye).
## Stage re-test
1. Open a Prüfobjekt with known vulnerabilities and scroll to the VEX card.
2. Below "CSAF-Entwurf herunterladen": an amber "TLP:AMBER" badge inside the sentence.
3. Hover the badge: tooltip "Weitergabe nur intern und an Kunden, die es wissen müssen"; switch the UI to EN: "Share only within your organisation and with clients who need to know".
4. Check the badge in the dark theme too.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
The VEX panel said "TLP:AMBER" only inside the hint sentence. It now shows
the label as a badge (AMBER amber, RED red, GREEN green, CLEAR/WHITE
neutral, reusing the existing badge classes) with the FIRST TLP 2.0
sharing rule as its tooltip, in German and English.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang
merged commit 0586f2c639 into main2026-10-08 21:45:53 +00:00
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.
What was wrong
The VEX panel on a Prüfobjekt mentioned the CSAF draft's TLP label only in running text ("Der CSAF-Entwurf ist als TLP:AMBER markiert ..."), with no visual cue and no explanation of what TLP:AMBER means for sharing.
What changed
badge-medium(the amber--sev-medium/--warningtoken), REDbadge-danger, GREENbadge-success, CLEAR/WHITEbadge-neutral. No new CSS.title) per FIRST TLP 2.0, DE + EN: AMBER "Weitergabe nur intern und an Kunden, die es wissen müssen" / "Share only within your organisation and with clients who need to know"; RED "Nur für die einzelnen Empfänger, keine Weitergabe"; GREEN "Weitergabe innerhalb der eigenen Community, nicht öffentlich"; CLEAR/WHITE "Weitergabe ohne Einschränkung, öffentlich".compliance_core::csaf_docs); the dashboard mirrors it in one constant next to the badge. Only AMBER is displayed today; the other mappings are there for when the label becomes configurable.Tests
components::vex_panel::tests::each_tlp_label_has_its_colour_and_sharing_rule.cargo fmt --all --check, clippy-D warningsfor compliance-dashboard withserverand withweb.Stage re-test
🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p