fix(hosts): count host vulnerabilities by CVE #82

Merged
simon merged 1 commit from fix/host-vulnerability-cve-scope into main 2026-05-24 08:28:29 +00:00
Owner

Summary

  • Count host vulnerability totals by distinct CVE instead of raw finding rows.
  • Deduplicate host vulnerability table rows to one representative finding per CVE.
  • Move last scan into the summary cards and add CVE published age to details.

Validation

  • pnpm --dir apps/web type-check
  • pnpm --dir apps/web lint app/(dashboard)/hosts/[id]/vulnerabilities-tab.tsx lib/actions/vulnerabilities-core.ts tests/e2e/hosts/vulnerabilities.spec.ts
  • pnpm --dir apps/web test:e2e tests/e2e/hosts/vulnerabilities.spec.ts

Release notes

  • Web image release expected through the normal release-please pipeline after merge.
## Summary - Count host vulnerability totals by distinct CVE instead of raw finding rows. - Deduplicate host vulnerability table rows to one representative finding per CVE. - Move last scan into the summary cards and add CVE published age to details. ## Validation - pnpm --dir apps/web type-check - pnpm --dir apps/web lint app/(dashboard)/hosts/[id]/vulnerabilities-tab.tsx lib/actions/vulnerabilities-core.ts tests/e2e/hosts/vulnerabilities.spec.ts - pnpm --dir apps/web test:e2e tests/e2e/hosts/vulnerabilities.spec.ts ## Release notes - Web image release expected through the normal release-please pipeline after merge.
fix(hosts): count host vulnerabilities by CVE
All checks were successful
Conventional PR title / Conventional PR title (pull_request) Successful in 1s
PR Checks (Docker images) / Ansible API contract (pull_request) Successful in 7s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 7s
SAST / trivy (filesystem) (pull_request) Successful in 19s
SAST / semgrep (pull_request) Successful in 36s
SAST / trivy (config / IaC) (pull_request) Successful in 17s
Secret Scan / gitleaks (pull_request) Successful in 12s
SAST / gosec (agent) (pull_request) Successful in 1m14s
SAST / gosec (ingest) (pull_request) Successful in 1m15s
PR Checks (Docker images) / Ingest Docker image (pull_request) Successful in 1m35s
PR Checks (Docker images) / Ansible API Docker image (pull_request) Successful in 1m46s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m42s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 2m46s
4367e53d10
simon merged commit f42413304d into main 2026-05-24 08:28:29 +00:00
simon deleted branch fix/host-vulnerability-cve-scope 2026-05-24 08:28:29 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carrtech/ct-ops!82
No description provided.