feat(api): GET /credentials endpoint

Surfaces the Credential table (deduped attacker auth attempts) via
a new /api/v1/credentials route. Mirrors the Bounty cache pattern
(5s TTL on the unfiltered default page) and reuses the existing
get_credentials / get_total_credentials repo methods + the already
defined CredentialsResponse DTO. Filters: search, service, attacker_ip.
This commit is contained in:
2026-04-25 07:51:20 -04:00
parent b3d1301925
commit 4566146d50
5 changed files with 192 additions and 0 deletions

View File