Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(relay): Add endpoint for registering trusted relay #82808

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

iambriccardo
Copy link
Member

@iambriccardo iambriccardo commented Jan 2, 2025

This PR exposes a new endpoint for registering an external Relay to Sentry.

This endpoint can be authenticated exclusively with the organization auth token, since it's meant to be used in a cli environment.

Closes: https://github.com/getsentry/team-ingest/issues/275

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 2, 2025
Copy link

codecov bot commented Jan 2, 2025

Codecov Report

Attention: Patch coverage is 95.08197% with 3 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...y/api/endpoints/internal_register_trusted_relay.py 95.08% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #82808      +/-   ##
==========================================
+ Coverage   80.36%   80.46%   +0.10%     
==========================================
  Files        7273     7295      +22     
  Lines      321301   321917     +616     
  Branches    20948    20948              
==========================================
+ Hits       258224   259045     +821     
+ Misses      62675    62470     -205     
  Partials      402      402              

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant