Commit Graph

15 Commits

Author SHA1 Message Date
445f9b0d0a case 4717 - KPI interval accepted only as a known date unit
Six KPIs put the request's interval criterion into the query as
DATE_TRUNC('<interval>', ...) unchecked, reachable by staff down to
TechRestricted (security review F26). New KPIFetcher.DateTruncUnitOrNull
accepts only PostgreSQL's date_trunc unit names (any case); the seven KPIs that
read interval refuse anything else with "Invalid 'interval' criteria", the same
form as their existing missing-criteria errors. The client only sends day or
month. (WorkOrderByStatusList reads interval without using it; checked too.)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:36:52 -07:00
73f8dbc3dc 2022-03-07 20:08:45 +00:00
aed7c8aa33 2022-03-02 19:27:18 +00:00
e1a4e047ed 2022-03-02 15:49:01 +00:00
98f8d26eb8 2022-02-27 18:40:52 +00:00
4556c21b6e 2022-02-27 17:31:37 +00:00
13c4f56dc2 2022-02-27 17:20:47 +00:00
25188519d9 2022-02-26 01:00:45 +00:00
919dab2dfb 2022-02-25 19:30:04 +00:00
742f62f806 2022-02-25 18:07:55 +00:00
4a1072d11d 2022-02-25 17:00:24 +00:00
c7a14e2843 2022-02-25 16:54:17 +00:00
20c7f8437a 2022-02-25 00:57:58 +00:00
0424e78fb7 2022-02-25 00:34:25 +00:00
e0bf2cb733 2022-02-25 00:05:20 +00:00