Anso
ca496c89dc
fix: name matched risk inputs in policy block messages ( #1471 )
...
The auto-update, bulk-label, scheduler, and blueprint deploy block
messages hardcoded "image(s) exceed <max_severity>", which is wrong
under the risk-first policy model: a block can be driven by a
known-exploited (KEV) or fixable Critical/High input while the severity
threshold was never the trigger. In those cases the message named a
severity ceiling the policy did not enforce.
Route all four message paths through a shared summarizeBlockReasons
helper (the same reason text the deploy-gate 409 response and the block
dialog already use), so every surface names the inputs that actually
matched. Falls back to a generic phrase when no reason was recorded.
2026-06-26 15:34:24 -04:00
..
2026-06-24 23:22:13 -04:00
2026-06-24 23:22:13 -04:00
2026-06-20 15:06:26 -04:00
2026-06-18 13:38:19 -04:00
2026-05-31 16:36:07 -04:00
2026-06-04 17:45:53 -04:00
2026-05-12 15:49:19 -04:00
2026-05-25 21:09:00 -04:00
2026-06-26 15:34:24 -04:00
2026-04-10 10:05:05 -04:00
2026-06-25 18:03:05 -04:00
2026-06-08 08:44:59 -04:00
2026-06-24 19:48:34 -04:00
2026-06-25 14:13:38 -04:00
2026-04-14 14:37:28 -04:00
2026-04-01 21:56:41 -04:00
2026-06-23 17:42:11 -04:00
2026-06-26 11:59:37 -04:00
2026-06-06 11:18:36 -04:00
2026-06-25 16:05:16 -04:00
2026-06-24 19:57:49 -04:00
2026-04-17 22:45:06 -04:00
2026-05-31 16:00:38 -04:00
2026-06-12 02:15:11 -04:00
2026-06-21 18:20:57 -04:00
2026-06-23 16:58:26 -04:00
2026-06-20 11:58:42 -04:00
2026-06-02 21:40:38 -04:00
2026-06-22 19:33:06 -04:00
2026-06-22 19:33:06 -04:00
2026-06-26 10:16:32 -04:00
2026-05-07 19:23:11 -04:00
2026-05-07 13:16:24 -04:00
2026-06-24 20:05:17 -04:00
2026-06-01 17:27:25 -04:00
2026-06-21 18:16:20 -04:00
2026-05-29 21:09:20 -04:00
2026-06-11 00:26:26 -04:00
2026-05-31 20:29:30 -04:00
2026-06-25 19:47:57 -04:00
2026-06-04 17:45:53 -04:00
2026-06-04 17:45:53 -04:00
2026-06-04 17:45:53 -04:00
2026-06-04 17:45:53 -04:00
2026-06-25 14:13:38 -04:00
2026-05-09 00:11:09 -04:00
2026-05-20 12:53:29 -04:00
2026-06-04 17:45:53 -04:00
2026-06-18 13:38:19 -04:00
2026-05-31 20:28:48 -04:00
2026-06-26 11:59:37 -04:00
2026-05-01 18:57:44 -04:00
2026-05-14 10:21:08 -04:00
2026-06-26 00:07:51 -04:00
2026-06-23 17:42:11 -04:00
2026-05-17 22:00:31 -04:00
2026-05-20 12:53:29 -04:00
2026-05-21 01:00:47 -04:00
2026-06-12 10:41:39 -04:00
2026-06-24 23:00:56 -04:00
2026-04-18 17:48:02 -04:00
2026-04-28 02:08:39 -04:00
2026-05-13 09:40:45 -04:00
2026-06-24 21:02:15 -04:00
2026-06-26 15:34:24 -04:00
2026-06-01 19:47:06 -04:00
2026-06-25 21:56:25 -04:00
2026-06-02 21:40:38 -04:00
2026-06-23 10:01:09 -04:00
2026-06-04 17:45:53 -04:00
2026-05-25 21:25:59 -04:00
2026-06-26 09:23:50 -04:00
2026-06-18 13:38:19 -04:00
2026-05-24 16:07:54 -04:00
2026-05-29 11:46:51 -04:00
2026-06-16 00:42:33 -04:00
2026-06-23 17:42:11 -04:00
2026-06-18 13:38:19 -04:00
2026-06-18 13:38:19 -04:00
2026-06-22 19:33:06 -04:00
2026-06-18 13:38:19 -04:00