Andras Bacsai
8b7dbbafb2
fix(api): hide sensitive fields by default, expose via makeVisible for privileged tokens
...
Models now declare $hidden for passwords, tokens, db URLs, and compose
fields. API controllers flip from makeHidden-on-deny to makeVisible-on-
allow (can_read_sensitive=true), fixing fields that were never hidden.
Also adds missing fields (mysql/mariadb passwords, logdrain keys, etc.)
to privileged disclosure lists.
Tests added: Feature/Security/ApiSensitiveFieldsTest and
Unit/Models/SensitiveFieldsHiddenTest cover all affected models and
controllers.
2026-04-30 11:28:06 +02:00
..
2026-04-30 11:28:06 +02:00
2026-03-31 13:45:31 +02:00
2026-04-20 11:27:10 +02:00
2026-03-31 13:45:31 +02:00
2025-10-11 11:16:28 +02:00
2026-03-31 13:45:31 +02:00
2026-03-29 21:25:41 +02:00
2026-03-30 13:35:35 +02:00
2026-03-29 21:25:41 +02:00
2026-03-31 13:51:06 +02:00
2026-04-30 11:28:06 +02:00
2026-03-31 13:45:31 +02:00
2026-03-29 21:25:41 +02:00
2026-04-29 10:30:43 +02:00
2026-04-28 22:36:56 +02:00
2026-03-29 21:25:41 +02:00
2025-06-18 14:29:46 +02:00
2026-03-16 21:27:10 +01:00
2026-03-31 13:51:06 +02:00
2026-03-31 13:45:31 +02:00
2026-03-29 21:25:41 +02:00
2026-04-20 11:51:51 +02:00
2026-04-03 11:33:21 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-04-30 11:28:06 +02:00
2026-04-30 11:28:06 +02:00
2026-04-30 11:28:06 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 11:07:52 +02:00
2026-03-29 21:25:41 +02:00
2025-02-07 19:36:52 +01:00
2026-04-30 11:28:06 +02:00
2026-04-19 11:55:12 +02:00
2026-04-30 11:28:06 +02:00
2026-04-30 11:28:06 +02:00
2026-04-30 11:28:06 +02:00
2026-04-30 11:28:06 +02:00
2026-04-30 11:28:06 +02:00
2026-04-30 11:28:06 +02:00
2026-04-30 11:28:06 +02:00
2026-03-31 13:45:31 +02:00
2026-04-19 11:55:12 +02:00
2026-03-31 13:45:31 +02:00
2026-04-15 15:12:29 +02:00
2025-09-25 11:33:32 +02:00
2026-03-29 21:25:41 +02:00
2026-04-20 12:09:48 +02:00
2025-08-12 10:07:11 +02:00
2025-11-25 15:35:01 +01:00