bert.hausmans
bdb89a2479
feat: sentry-laravel install + scrubber + ignored exceptions
WS-7 PR-2 commit 1. Wires sentry-laravel into the app behind a
config-only no-op when SENTRY_DSN_BACKEND is empty (RFC §3.3).
- composer require sentry/sentry-laravel ^4.15 (resolved 4.25.1)
- config/sentry.php: DSN env mapped to SENTRY_DSN_BACKEND, environment
falls back to APP_ENV, traces/profiles forced to 0.0 (RFC §2
amendment B), send_default_pii hard-pinned false, before_send to
SentryEventScrubber, ignore_exceptions covers ValidationException /
AuthenticationException / AuthorizationException.
- app/Services/Observability/SentryEventScrubber.php: recursive body /
header / query-string scrubber + form_values wholesale replacement +
HttpException sub-500 drop (status filter that ignore_exceptions
cannot do class-only). Max-depth guard against malicious payloads.
- app/Enums/Observability/ActorType.php: enum + resolver for §3.6
actor_type tag (consumed by BindSentryContext in commit 2).
- tests/Feature/Observability/PiiScrubbingTest.php: 20 cases.
- api/.env.example: SENTRY_DSN_BACKEND + SENTRY_RELEASE entries.
Larastan: clean. Test count: 1487 to 1507.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 08:55:50 +02:00
..
2026-04-25 02:33:21 +02:00
2026-05-05 21:15:10 +02:00
2026-04-10 23:04:55 +02:00
2026-04-14 08:16:36 +02:00
2026-04-10 11:15:51 +02:00
2026-04-15 20:12:21 +02:00
2026-04-16 20:42:25 +02:00
2026-04-14 08:16:36 +02:00
2026-04-29 00:14:20 +02:00
2026-04-15 20:12:21 +02:00
2026-04-14 08:16:36 +02:00
2026-04-13 00:44:34 +02:00
2026-04-08 01:34:46 +02:00
2026-04-24 23:43:34 +02:00
2026-05-06 08:55:50 +02:00
2026-04-17 12:35:41 +02:00
2026-04-24 17:10:37 +02:00
2026-04-14 08:44:24 +02:00
2026-04-14 08:16:36 +02:00
2026-04-24 16:38:08 +02:00
2026-05-06 00:24:01 +02:00
2026-04-14 22:07:37 +02:00
2026-04-14 22:07:37 +02:00
2026-03-29 23:19:06 +02:00
2026-04-17 20:47:39 +02:00