towerops/test/towerops_web/controllers/api/v1
Graham McIntire 095c5d3236 fix: M1 — prevent cross-org resource existence probing via scoped fetch
Use Repo.get_by(schema, id: id, organization_id: organization_id) instead of
Repo.get + pattern match so that resources from wrong orgs return :not_found
instead of :forbidden, preventing org membership discovery.
2026-05-12 13:44:19 -05:00
..
activity_controller_test.exs test: add on-call, incident, and PagerDuty notification test coverage 2026-03-14 15:10:27 -05:00
agent_release_webhook_controller_test.exs fix: 11 critical security/correctness bugs from code audit 2026-05-12 10:20:52 -05:00
agents_controller_test.exs add missing REST API controller tests 2026-03-11 14:43:17 -05:00
alerts_controller_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
check_results_controller_test.exs update 2026-05-09 15:24:00 -05:00
checks_controller_test.exs fix: M1 — prevent cross-org resource existence probing via scoped fetch 2026-05-12 13:44:19 -05:00
coverages_controller_test.exs test: redis password branches + suppress 0.0 pattern warnings + coverages from() macro fix 2026-05-08 13:57:07 -05:00
devices_controller_test.exs fix: M1 — prevent cross-org resource existence probing via scoped fetch 2026-05-12 13:44:19 -05:00
escalation_policies_controller_test.exs fix: M1 — prevent cross-org resource existence probing via scoped fetch 2026-05-12 13:44:19 -05:00
gaiia_webhook_controller_test.exs refactor(webhooks): enqueue Oban jobs immediately, ACK fast 2026-05-10 17:18:23 -05:00
geoip_controller_test.exs test: expand coverage across resolvers, vendors, controllers, workers 2026-05-07 14:23:58 -05:00
integrations_controller_test.exs add missing REST API controller tests 2026-03-11 14:43:17 -05:00
invitations_controller_test.exs add missing REST API controller tests 2026-03-11 14:43:17 -05:00
maintenance_windows_controller_test.exs fix: M1 — prevent cross-org resource existence probing via scoped fetch 2026-05-12 13:44:19 -05:00
members_controller_test.exs add missing REST API controller tests 2026-03-11 14:43:17 -05:00
mib_controller_test.exs remove all fixed critical items from bugs.md, fix flaky MIB cache test 2026-05-12 10:35:52 -05:00
mikrotik_webhook_controller_test.exs feat(mikrotik): webhook receiver for MikroTik RouterOS events 2026-05-11 18:02:21 -05:00
organization_controller_test.exs add missing REST API controller tests 2026-03-11 14:43:17 -05:00
pagerduty_webhook_controller_test.exs refactor(webhooks): enqueue Oban jobs immediately, ACK fast 2026-05-10 17:18:23 -05:00
schedules_controller_test.exs fix: M1 — prevent cross-org resource existence probing via scoped fetch 2026-05-12 13:44:19 -05:00
sites_controller_test.exs fix: M1 — prevent cross-org resource existence probing via scoped fetch 2026-05-12 13:44:19 -05:00
stripe_webhook_controller_test.exs refactor(webhooks): enqueue Oban jobs immediately, ACK fast 2026-05-10 17:18:23 -05:00