Repository navigation
Tags
Tags
fix(vulnerability): validate input checks (#878) • Trims vulnerability identifiers and MCP team/workload names. • Rejects package filters without the pkg: prefix in both CLI and MCP. • Validates environments when results are empty, lists available environments for unknown names, and propagates lookup failures. • Hides cleanly scanned, zero-match table rows for all finding filters. Incomplete or failed scans remain visible; JSON retains all selected workloads. • Mentions labels in MCP no-match errors and removes obsolete summary fields from mock schemas and test fixtures.
fix(deps): bump naistrix to v0.54.3 for plain links without styling (#… …875) naistrix v0.54.3 renders links as plain names when styling is disabled, so piped output, files and --no-colors no longer contain OSC 8 escape sequences. Interactive terminals still get clickable links. Table tests captured those escape sequences and asserted the hidden URLs. Test output is not a terminal, so assert the plain names instead.
feat(vulnerabilities): show suppressed findings per searched workload (… …#874) * feat(vulnerabilities): show suppressed findings per searched workload With --suppressed=include, search could not tell which workloads were affected only through suppressed findings. Each affected workload now reads its suppressed and unsuppressed finding counts for the searched identifier and finding filters from its vulnerability overview, in the same query. The table adds a "Suppressed findings" column (for example "1 of 3") and JSON adds suppressed_findings and unsuppressed_findings. Other modes do not request the counts and keep their output unchanged. * feat(vulnerabilities): color suppressed findings in search Match the other vulnerability tables: green when every matching finding is suppressed, warning when some are, and plain when none are. * feat(vulnerabilities): use info color for fully suppressed workloads * test(vulnerabilities): pin search suppression count filters Assert that both per-workload counts keep the searched identifier and finding filters and differ only in ONLY versus EXCLUDE, and that JSON counts, including zero, appear only with --suppressed=include.
fix(vulnerabilities): polish validation messages and MCP report output ( #873) * fix(vulnerabilities): polish validation messages and MCP report output - List every allowed value as "a, b or c" in --order-by, --direction and --scan-status errors, matching the other vulnerability validators. - Expose latest_deployment with snake_case keys (commit_sha, created_at) like the rest of the MCP report and status output. - Name the scanned digest and mutable tag in the tag-only report warning when coverage resolves it, and warn per workload. * test(vulnerabilities): assert key fragments instead of full messages
fix(mcp): normalize expected digests and split reported fix versions (#… …872) The status tool compared expected_digest verbatim, so surrounding whitespace, uppercase hex or a missing sha256: prefix reported the deployed image as not_deployed. Normalize the digest and reject values that are not sha256 digests. The API returns multiple fixed versions as one comma-separated string, so reported_fix_versions could hold "1.26.11, 1.27.4" as one entry. Split and deduplicate the individual versions.
feat(vulnerability): sort vulnerability workloads and filter scan sta… …tus (#870) Add severity-based ordering, direction and repeatable --scan-status filters to vulns list summary, with autocomplete. Severity ordering uses unique vulnerability counts matching the selected finding filters. Incomplete scans sort first in either direction. Combined severity ordering and scan filtering applies scan selection locally after fetching all pages. Default ordering and JSON fields remain unchanged.
PreviousNext