feat(hosts): improve vulnerability controls #71

Merged
simon merged 1 commit from feat/host-vulnerability-controls into main 2026-05-24 07:04:39 +00:00
Owner

Summary

  • add backend-validated host vulnerability search and filters
  • add numbered pagination controls alongside Previous/Next
  • add a severity breakdown pie chart for the current host vulnerability view

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

Notes

  • Targeted Playwright E2E currently cannot start because Next instrumentation fails to import ./lib/agent/cache-prewarm before tests execute; tracked as issue #70.
## Summary - add backend-validated host vulnerability search and filters - add numbered pagination controls alongside Previous/Next - add a severity breakdown pie chart for the current host vulnerability view ## 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 ## Notes - Targeted Playwright E2E currently cannot start because Next instrumentation fails to import ./lib/agent/cache-prewarm before tests execute; tracked as issue #70.
feat(hosts): improve vulnerability controls
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 4s
SAST / semgrep (pull_request) Successful in 57s
Secret Scan / gitleaks (pull_request) Successful in 13s
SAST / gosec (agent) (pull_request) Successful in 1m24s
SAST / trivy (config / IaC) (pull_request) Successful in 19s
SAST / trivy (filesystem) (pull_request) Successful in 22s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 8s
SAST / gosec (ingest) (pull_request) Successful in 1m31s
PR Checks (Docker images) / Ingest Docker image (pull_request) Successful in 2m14s
PR Checks (Docker images) / Ansible API Docker image (pull_request) Successful in 2m38s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 3m2s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 3m53s
f479c7131f
simon merged commit 8ce0a25a73 into main 2026-05-24 07:04:39 +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!71
No description provided.