Skip to content

Add DRF throttling for public API endpoints#16

Merged
Daniel-VM merged 5 commits into
BIPLAT-CIBERINFEC:developfrom
Daniel-VM:develop
Jun 29, 2026
Merged

Add DRF throttling for public API endpoints#16
Daniel-VM merged 5 commits into
BIPLAT-CIBERINFEC:developfrom
Daniel-VM:develop

Conversation

@Daniel-VM

Copy link
Copy Markdown
Member

Summary

  • Add DRF IP-based throttling for public databrowser, variant, and access-request catalog endpoints.
  • Keep public endpoints unauthenticated while returning standard DRF 429 Too Many Requests on overuse.
  • Add PUBLIC_API_THROTTLE_RATE configuration and focused tests.

Validation

  • python manage.py test core.tests.PublicAPIRateThrottleTests
  • python manage.py check
  • docker compose -f docker-compose.test.yml config
  • docker compose -f docker-compose.prod.yml config

@Daniel-VM
Daniel-VM merged commit 7ad5718 into BIPLAT-CIBERINFEC:develop Jun 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant