fix(dashboard): readable tool names for findings, including the new .NET and mobile checks #455

Merged
sharang merged 1 commits from feat/scanner-labels into main 2026-10-05 18:26:27 +00:00
Owner

Item 4 from the platform session's plan: readable names for the new scanners and checks.

Before

The findings list and the finding page showed Finding::scanner raw: dotnet-config, secret-files, dotnet-lifecycle, mobsfscan, gdpr-patterns, control-check and so on.

Now

findings::tool_name(scanner, lang) gives every known tool a German and an English name:

scanner DE EN
dotnet-config .NET-Konfiguration .NET configuration
secret-files Schlüsseldateien im Repository Key files in the repository
dotnet-lifecycle .NET-Version ohne Support .NET version out of support
mobsfscan Mobile-App-Analyse (mobsfscan) Mobile app analysis (mobsfscan)
semgrep, cppcheck, gitleaks, gdpr-patterns, oauth-patterns, plc-control-logic, control-check, osv, syft, manual likewise likewise
  • An unknown tool (clippy, eslint, ruff) keeps its own name.
  • Where it's used:
    • the tool column in the findings list (the internal name stays as the tooltip);
    • the header and the "Scanner" field on the finding page;
    • the CRA view's reason "not fully completed: …".
  • The skipped stages sast_mobile, lfs_objects, sast_vendor_code and sbom_dependencies already have DE/EN names (from #440, #442, #450), as does the .NET work.

Checks

  • fmt and clippy with the CI flags on both dashboard feature sets.
  • Dashboard tests: 81, including a new one for tool_name. The CRA reason test now expects "Codeanalyse (Semgrep)" instead of "semgrep".

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p

Item 4 from the platform session's plan: **readable names for the new scanners and checks.** ## Before The findings list and the finding page showed `Finding::scanner` raw: `dotnet-config`, `secret-files`, `dotnet-lifecycle`, `mobsfscan`, `gdpr-patterns`, `control-check` and so on. ## Now `findings::tool_name(scanner, lang)` gives every known tool a German and an English name: | scanner | DE | EN | |---|---|---| | `dotnet-config` | .NET-Konfiguration | .NET configuration | | `secret-files` | Schlüsseldateien im Repository | Key files in the repository | | `dotnet-lifecycle` | .NET-Version ohne Support | .NET version out of support | | `mobsfscan` | Mobile-App-Analyse (mobsfscan) | Mobile app analysis (mobsfscan) | | `semgrep`, `cppcheck`, `gitleaks`, `gdpr-patterns`, `oauth-patterns`, `plc-control-logic`, `control-check`, `osv`, `syft`, `manual` | likewise | likewise | - An unknown tool (`clippy`, `eslint`, `ruff`) keeps its own name. - **Where it's used:** - the tool column in the findings list (the internal name stays as the tooltip); - the header and the "Scanner" field on the finding page; - the CRA view's reason "not fully completed: …". - The skipped stages `sast_mobile`, `lfs_objects`, `sast_vendor_code` and `sbom_dependencies` already have DE/EN names (from #440, #442, #450), as does the .NET work. ## Checks - fmt and clippy with the CI flags on both dashboard feature sets. - Dashboard tests: 81, including a new one for `tool_name`. The CRA reason test now expects "Codeanalyse (Semgrep)" instead of "semgrep". 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang added 1 commit 2026-10-05 17:53:28 +00:00
fix(dashboard): readable tool names for findings, including the new .NET and mobile checks
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 / Check (pull_request) Successful in 8m16s
12855c2a4c
Findings showed the scanner's internal name (`dotnet-config`,
`secret-files`, `dotnet-lifecycle`, `mobsfscan`, `gdpr-patterns`).
findings::tool_name gives every known tool a German and English name
(".NET-Konfiguration", "Schlüsseldateien im Repository",
".NET-Version ohne Support", "Mobile-App-Analyse (mobsfscan)", …); an
unknown tool keeps its own. Used in the findings list and on the finding
page (the internal name stays as the tooltip) and in the CRA view's
"did not complete" reason. The skipped stages sast_mobile, lfs_objects,
sast_vendor_code and sbom_dependencies already have their names.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang merged commit d98cbbada4 into main 2026-10-05 18:26:27 +00:00
Sign in to join this conversation.