towerops/lib/towerops/security
Graham McIntire 6c90e8bd4f refactor: adopt Towerops.Result helpers in 8 call sites
Use Result.map, Result.unwrap_or, and Result.ok? where they replace
verbose case statements. Skipped sites where return shapes (3-tuples,
:skipped atoms) prevent clean adoption.

- proto/wire.ex: skip_field varint and length-delimited use Result.map
- organizations.ex: list_organization_ids uses Result.unwrap_or([])
- security/four_oh_four_tracker.ex: count_404s uses Result.unwrap_or(0)
- billing/billing_notifier.ex: at-least-one-success check uses Result.ok?
- topology.ex: two success-counting sites use Result.ok?
- snmp/wireless_client_discovery.ex: walk_or_empty uses Result.unwrap_or(%{})
2026-04-30 14:43:24 -05:00
..
brute_force.ex dialyzer: fix all unmatched_return warnings (154 → 0) 2026-04-21 10:03:55 -05:00
cloudflare_client.ex Add GeoIP import HTTP tests 2026-03-10 16:02:49 -05:00
four_oh_four_tracker.ex refactor: adopt Towerops.Result helpers in 8 call sites 2026-04-30 14:43:24 -05:00
ip_block.ex Add 404-based brute force protection system 2026-02-10 16:31:48 -06:00
ip_whitelist.ex Add 404-based brute force protection system 2026-02-10 16:31:48 -06:00