Skip to content

feat(runtime): align runtime scans table with Sysdig Secure - #75

Merged
tembleking merged 2 commits into
mainfrom
feat/runtime-location-columns
Sep 30, 2026
Merged

tembleking merged 2 commits into
mainfrom
feat/runtime-location-columns

Conversation

@tembleking

Copy link
Copy Markdown
Member

Users couldn't make sense of the runtime scans table: the same image running in several clusters looked like duplicated rows with different in-use counts, "failed" and Severity vs In Use weren't self-explanatory, yellow chips were unreadable in dark mode, and sorting by Severity/In Use didn't work.

Mirror the Sysdig Secure runtime view so what users see in Backstage maps 1:1 to Secure: cluster/namespace per row, the same columns and order (In Use, Vulnerabilities, Policy Evaluation, Component Lifecycle, Exceptions), compact severity bars and header tooltips. Results with an exception (accepted) show as Passed with an exception marker. Registry and Pipeline tables get the same bars and order for consistency.

Sorting never worked on those columns because cells were JSX and column definitions were rebuilt every render, which resets material-table's sort state. Columns are now static and sort on raw values with a severity-aware comparator.

Also pins undici to ^7.29.1 (transitive via @module-federation/dts-plugin) to clear two high advisories that fail the audit gate, and bumps to 1.6.0 to release.

Fixes GHSA-rfgv-xxqx-mfg5 and GHSA-w293-vg96-wgc3 pulled in transitively
via @module-federation/dts-plugin, which fail the high-severity audit gate.
The same image running in several clusters showed up as seemingly
duplicated rows with different in-use counts, the columns weren't
self-explanatory, and severity chips were unreadable in dark mode.

Mirror the Secure runtime view so users can map what they see in
Backstage to Secure: cluster/namespace per row, In Use / Vulnerabilities
/ Policy Evaluation / Component Lifecycle / Exceptions columns with the
same order, compact severity bars and header tooltips. Accepted
(exception) results show as passed with an exception marker.

Sorting on rendered columns never worked because cells were JSX and the
column definitions were rebuilt every render; sort on raw values with a
severity-aware comparator instead.
@tembleking
tembleking enabled auto-merge (squash) September 30, 2026 11:08
@tembleking
tembleking merged commit 9c0515e into main Sep 30, 2026
4 checks passed
@tembleking
tembleking deleted the feat/runtime-location-columns branch September 30, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants