Commit Graph

8 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
d1f46b6e09 2022-03-02 20:07:36 +00:00
34e518c14a 2022-03-01 23:47:32 +00:00
4421e6d7e6 2022-03-01 21:03:02 +00:00
8966f0e8e4 2022-03-01 20:26:05 +00:00
4f76d2f3e4 2022-03-01 20:01:52 +00:00
ac46eb394d 2022-03-01 19:48:00 +00:00