diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 478a96ca184d18..5aa5769641b5af 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -103,19 +103,19 @@ ## Security /src/sentry/net/ @getsentry/security -/src/sentry/auth/ @getsentry/security @getsentry/enterprise -/tests/sentry/auth/ @getsentry/security @getsentry/enterprise -/src/sentry/api/permissions.py @getsentry/security @getsentry/enterprise -/src/sentry/api/authentication.py @getsentry/security @getsentry/enterprise -/src/sentry/api/endpoints/auth* @getsentry/security @getsentry/enterprise -/src/sentry/users/api/endpoints/user_permission* @getsentry/security @getsentry/enterprise -/src/sentry/web/frontend/auth_close.py @getsentry/security -/src/sentry/web/frontend/auth_login.py @getsentry/security -/src/sentry/web/frontend/auth_logout.py @getsentry/security -/src/sentry/web/frontend/auth_organization_login.py @getsentry/security -/src/sentry/web/frontend/auth_provider_login.py @getsentry/security -/src/sentry/web/frontend/oauth_token.py @getsentry/security -/src/sentry/web/frontend/oauth_authorize.py @getsentry/security +/src/sentry/auth/ @getsentry/security @getsentry/foundations @getsentry/owners-auth +/tests/sentry/auth/ @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/api/permissions.py @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/api/authentication.py @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/api/endpoints/auth* @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/users/api/endpoints/user_permission* @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/web/frontend/auth_close.py @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/web/frontend/auth_login.py @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/web/frontend/auth_logout.py @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/web/frontend/auth_organization_login.py @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/web/frontend/auth_provider_login.py @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/web/frontend/oauth_token.py @getsentry/security @getsentry/foundations @getsentry/owners-auth +/src/sentry/web/frontend/oauth_authorize.py @getsentry/security @getsentry/foundations @getsentry/owners-auth /src/sentry/web/frontend/openidtoken.py @getsentry/security /.agents/skills/sentry-security/ @getsentry/security @@ -228,31 +228,31 @@ pnpm-lock.yaml @getsentry/owners-js-de ## End of Hybrid Cloud ## Alerts & Notifications -/static/app/views/settings/projectAlerts/ @getsentry/alerts-notifications -/static/app/views/alerts/ @getsentry/alerts-notifications +/static/app/views/settings/projectAlerts/ @getsentry/alerts-monitors +/static/app/views/alerts/ @getsentry/alerts-monitors /static/app/views/alerts/rules/uptime @getsentry/crons /static/app/views/explore/releases/ @getsentry/replay-frontend /static/app/views/explore/releases/drawer/ @getsentry/replay-frontend /static/app/views/explore/releases/releaseBubbles/ @getsentry/replay-frontend -/static/app/views/settings/account/notifications/ @getsentry/alerts-notifications - -/src/sentry/templates/sentry/emails/incidents/ @getsentry/alerts-notifications -/src/sentry/incidents/ @getsentry/alerts-notifications -/tests/sentry/incidents/ @getsentry/alerts-notifications -/tests/acceptance/test_incidents.py @getsentry/alerts-notifications - -/src/sentry/snuba/models.py @getsentry/alerts-notifications -/src/sentry/snuba/query_subscriptions/ @getsentry/alerts-notifications -/src/sentry/snuba/subscriptions.py @getsentry/alerts-notifications -/src/sentry/snuba/tasks.py @getsentry/alerts-notifications -/tests/snuba/incidents/ @getsentry/alerts-notifications -/src/sentry/rules/ @getsentry/alerts-notifications -/tests/sentry/rules/ @getsentry/alerts-notifications -/tests/sentry/snuba/test_query_subscription_consumer.py @getsentry/alerts-notifications -/tests/sentry/snuba/test_subscriptions.py @getsentry/alerts-notifications -/tests/sentry/snuba/test_tasks.py @getsentry/alerts-notifications -/src/sentry/notifications/api/endpoints/ @getsentry/alerts-notifications +/static/app/views/settings/account/notifications/ @getsentry/notifications + +/src/sentry/templates/sentry/emails/incidents/ @getsentry/notifications +/src/sentry/incidents/ @getsentry/alerts-monitors +/tests/sentry/incidents/ @getsentry/alerts-monitors +/tests/acceptance/test_incidents.py @getsentry/alerts-monitors + +/src/sentry/snuba/models.py @getsentry/alerts-monitors +/src/sentry/snuba/query_subscriptions/ @getsentry/alerts-monitors +/src/sentry/snuba/subscriptions.py @getsentry/alerts-monitors +/src/sentry/snuba/tasks.py @getsentry/alerts-monitors +/tests/snuba/incidents/ @getsentry/alerts-monitors +/src/sentry/rules/ @getsentry/alerts-monitors +/tests/sentry/rules/ @getsentry/alerts-monitors +/tests/sentry/snuba/test_query_subscription_consumer.py @getsentry/data-browsing +/tests/sentry/snuba/test_subscriptions.py @getsentry/data-browsing +/tests/sentry/snuba/test_tasks.py @getsentry/data-browsing +/src/sentry/notifications/api/endpoints/ @getsentry/notifications ## Endof Alerts & Notifications @@ -449,66 +449,66 @@ tests/sentry/api/endpoints/test_organization_attribute_mappings.py @get ## End of Frontend # Workflow engine -/src/sentry/workflow_engine/ @getsentry/alerts-create-issues -/tests/sentry/workflow_engine/ @getsentry/alerts-create-issues -/static/app/components/workflowEngine/ @getsentry/alerts-create-issues -/static/app/views/automations/ @getsentry/alerts-create-issues -/static/app/views/detectors/ @getsentry/alerts-create-issues +/src/sentry/workflow_engine/ @getsentry/alerts-monitors +/tests/sentry/workflow_engine/ @getsentry/alerts-monitors +/static/app/components/workflowEngine/ @getsentry/alerts-monitors +/static/app/views/automations/ @getsentry/alerts-monitors +/static/app/views/detectors/ @getsentry/alerts-monitors # End of Workflow Engine (ACI) ## Integrations -/src/sentry/sentry_apps/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem -/tests/sentry/sentry_apps/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem -/src/sentry/utils/sentry_apps/ @getsentry/ecosystem -/tests/sentry/utils/sentry_apps/ @getsentry/ecosystem -/src/sentry/middleware/integrations/ @getsentry/ecosystem -/src/sentry/api/endpoints/project_rule*.py @getsentry/alerts-notifications -/src/sentry/api/serializers/models/rule.py @getsentry/alerts-notifications - -/src/sentry/digests/ @getsentry/alerts-notifications -/src/sentry/identity/ @getsentry/enterprise - -/src/sentry/integrations/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem +/src/sentry/sentry_apps/ @getsentry/integration-platform +/tests/sentry/sentry_apps/ @getsentry/integration-platform +/src/sentry/utils/sentry_apps/ @getsentry/integration-platform +/tests/sentry/utils/sentry_apps/ @getsentry/integration-platform +/src/sentry/middleware/integrations/ @getsentry/integration-platform +/src/sentry/api/endpoints/project_rule*.py @getsentry/alerts-monitors +/src/sentry/api/serializers/models/rule.py @getsentry/alerts-monitors + +/src/sentry/digests/ @getsentry/notifications +/src/sentry/identity/ @getsentry/foundations + +/src/sentry/integrations/ @getsentry/integration-platform /src/sentry/integrations/api/endpoints/organization_code_mapping*.py @getsentry/coding-workflows-sentry-backend /src/sentry/integrations/api/endpoints/organization_coding_agents.py @getsentry/machine-learning-ai /src/sentry/integrations/coding_agent/ @getsentry/machine-learning-ai /src/sentry/integrations/utils/codecov.py @getsentry/codecov /src/sentry/integrations/utils/stacktrace_link.py @getsentry/coding-workflows-sentry-backend -/src/sentry/mail/ @getsentry/alerts-notifications -/src/sentry/notifications/ @getsentry/alerts-notifications @getsentry/ecosystem -/src/sentry/notifications/models/ @getsentry/ecosystem -/src/sentry/notifications/notifications/ @getsentry/ecosystem -/src/sentry/notifications/platform/ @getsentry/ecosystem -/src/sentry/pipeline/ @getsentry/ecosystem -/src/sentry/plugins/ @getsentry/ecosystem -/src/sentry/shared_integrations/ @getsentry/ecosystem -/src/sentry/workflow_engine/tasks/actions.py @getsentry/ecosystem +/src/sentry/mail/ @getsentry/notifications +/src/sentry/notifications/ @getsentry/notifications +/src/sentry/notifications/models/ @getsentry/notifications +/src/sentry/notifications/notifications/ @getsentry/notifications +/src/sentry/notifications/platform/ @getsentry/notifications +/src/sentry/pipeline/ @getsentry/foundations +/src/sentry/plugins/ @getsentry/integration-platform +/src/sentry/shared_integrations/ @getsentry/integration-platform +/src/sentry/workflow_engine/tasks/actions.py @getsentry/integration-platform -/src/sentry/users/models/identity.py @getsentry/enterprise +/src/sentry/users/models/identity.py @getsentry/foundations -/src/sentry/tasks/digests.py @getsentry/alerts-notifications -/src/sentry/tasks/email.py @getsentry/alerts-notifications -/src/sentry/tasks/user_report.py @getsentry/alerts-notifications -/src/sentry/tasks/summaries/weekly_reports.py @getsentry/alerts-notifications +/src/sentry/tasks/digests.py @getsentry/notifications +/src/sentry/tasks/email.py @getsentry/notifications +/src/sentry/tasks/user_report.py @getsentry/notifications +/src/sentry/tasks/summaries/weekly_reports.py @getsentry/notifications -/src/sentry_plugins/ @getsentry/product-owners-settings-integrations +/src/sentry_plugins/ @getsentry/integration-platform -/tests/sentry_plugins/ @getsentry/ecosystem -/tests/sentry/integrations/ @getsentry/ecosystem -/tests/sentry/notifications/ @getsentry/alerts-notifications @getsentry/ecosystem +/tests/sentry_plugins/ @getsentry/integration-platform +/tests/sentry/integrations/ @getsentry/integration-platform +/tests/sentry/notifications/ @getsentry/notifications # To find matching files -> find . -name "*sentry_app*.py" -*sentry_app*.py @getsentry/product-owners-settings-integrations @getsentry/ecosystem -*sentryapp*.py @getsentry/product-owners-settings-integrations @getsentry/ecosystem -*doc_integration*.py @getsentry/ecosystem - -/src/sentry/runner/commands/createproject.py @getsentry/ecosystem -/src/sentry/runner/commands/createorg.py @getsentry/ecosystem -/src/sentry/runner/commands/deletions.py @getsentry/ecosystem -/tests/sentry/runner/commands/test_createproject.py @getsentry/ecosystem -/tests/sentry/runner/commands/test_createorg.py @getsentry/ecosystem -/tests/sentry/runner/commands/test_deletions.py @getsentry/ecosystem +*sentry_app*.py @getsentry/integration-platform +*sentryapp*.py @getsentry/integration-platform +*doc_integration*.py @getsentry/integration-platform + +/src/sentry/runner/commands/createproject.py @getsentry/foundations +/src/sentry/runner/commands/createorg.py @getsentry/foundations +/src/sentry/runner/commands/deletions.py @getsentry/foundations +/tests/sentry/runner/commands/test_createproject.py @getsentry/foundations +/tests/sentry/runner/commands/test_createorg.py @getsentry/foundations +/tests/sentry/runner/commands/test_deletions.py @getsentry/foundations ## End of Integrations @@ -530,46 +530,46 @@ tests/sentry/api/endpoints/test_organization_attribute_mappings.py @get ## Enterprise -/src/sentry/api/endpoints/oauth_userinfo.py @getsentry/enterprise -/src/sentry/api/endpoints/organization_auditlogs.py @getsentry/enterprise -/src/sentry/api/endpoints/organization_projects_experiment.py @getsentry/enterprise -/src/sentry/api/endpoints/organization_stats*.py @getsentry/enterprise -/src/sentry/api/endpoints/release_threshold*.py @getsentry/enterprise -/src/sentry/api/endpoints/user_social_identity* @getsentry/enterprise -/src/sentry/auth/staff.py @getsentry/enterprise -/src/sentry/auth/superuser.py @getsentry/enterprise -/src/sentry/middleware/staff.py @getsentry/enterprise -/src/sentry/middleware/superuser.py @getsentry/enterprise -/src/sentry/models/release_threshold/ @getsentry/enterprise -/src/sentry/scim/ @getsentry/enterprise -/src/sentry/integrations/github/ @getsentry/enterprise @getsentry/scm -/src/sentry/web/frontend/auth_login.py @getsentry/enterprise -/static/app/components/superuserStaffAccessForm.tsx @getsentry/enterprise -/static/app/constants/superuserAccessErrors.tsx @getsentry/enterprise -/static/app/views/organizationStats/ @getsentry/enterprise -/static/app/views/settings/organizationAuth/ @getsentry/enterprise -/static/app/views/settings/organizationMembers/inviteBanner.tsx @getsentry/enterprise -/tests/sentry/api/endpoints/test_auth*.py @getsentry/enterprise -/tests/sentry/api/endpoints/test_organization_projects_experiment.py @getsentry/enterprise -/tests/sentry/api/test_data_secrecy.py @getsentry/enterprise -/tests/sentry/api/test_scim*.py @getsentry/enterprise -/tests/sentry/auth/test_staff.py @getsentry/enterprise -/tests/sentry/auth/test_superuser.py @getsentry/enterprise -/tests/sentry/middleware/test_staff.py @getsentry/enterprise -/tests/sentry/integrations/github/ @getsentry/enterprise @getsentry/scm +/src/sentry/api/endpoints/oauth_userinfo.py @getsentry/foundations +/src/sentry/api/endpoints/organization_auditlogs.py @getsentry/foundations +/src/sentry/api/endpoints/organization_projects_experiment.py @getsentry/foundations +/src/sentry/api/endpoints/organization_stats*.py @getsentry/foundations +/src/sentry/api/endpoints/release_threshold*.py @getsentry/foundations +/src/sentry/api/endpoints/user_social_identity* @getsentry/replay-backend +/src/sentry/auth/staff.py @getsentry/foundations @getsentry/owners-auth +/src/sentry/auth/superuser.py @getsentry/foundations @getsentry/owners-auth +/src/sentry/middleware/staff.py @getsentry/foundations +/src/sentry/middleware/superuser.py @getsentry/foundations +/src/sentry/models/release_threshold/ @getsentry/replay-backend +/src/sentry/scim/ @getsentry/foundations +/src/sentry/integrations/github/ @getsentry/foundations @getsentry/scm +/src/sentry/web/frontend/auth_login.py @getsentry/foundations @getsentry/owners-auth +/static/app/components/superuserStaffAccessForm.tsx @getsentry/foundations +/static/app/constants/superuserAccessErrors.tsx @getsentry/foundations +/static/app/views/organizationStats/ @getsentry/foundations +/static/app/views/settings/organizationAuth/ @getsentry/foundations +/static/app/views/settings/organizationMembers/inviteBanner.tsx @getsentry/foundations +/tests/sentry/api/endpoints/test_auth*.py @getsentry/foundations +/tests/sentry/api/endpoints/test_organization_projects_experiment.py @getsentry/foundations +/tests/sentry/api/test_data_secrecy.py @getsentry/foundations +/tests/sentry/api/test_scim*.py @getsentry/foundations +/tests/sentry/auth/test_staff.py @getsentry/foundations +/tests/sentry/auth/test_superuser.py @getsentry/foundations +/tests/sentry/middleware/test_staff.py @getsentry/foundations +/tests/sentry/integrations/github/ @getsentry/foundations @getsentry/scm /tests/sentry/models/releases/ @getsentry/replay-backend -## End of Enterprise +## End of foundations ## APIs /src/sentry/apidocs/ @getsentry/docs -/src/sentry/api/urls.py @getsentry/enterprise +/src/sentry/api/urls.py @getsentry/foundations /api-docs/ @getsentry/docs /tests/apidocs/ @getsentry/docs /.github/workflows/openapi.yml @getsentry/docs /.github/workflows/openapi-diff.yml @getsentry/docs -/src/sentry/conf/api_pagination_allowlist_do_not_modify.py @getsentry/enterprise -/tests/sentry/api/test_path_params.py @getsentry/enterprise +/src/sentry/conf/api_pagination_allowlist_do_not_modify.py @getsentry/foundations +/tests/sentry/api/test_path_params.py @getsentry/foundations ## End of APIs @@ -775,8 +775,8 @@ tests/sentry/api/endpoints/test_organization_attribute_mappings.py @get /static/gsApp/hooks/spendVisibility/ @getsentry/revenue /static/gsApp/views/spendAllocations/ @getsentry/revenue /static/gsApp/views/spikeProtection/ @getsentry/revenue -/static/gsApp/hooks/superuser* @getsentry/enterprise -/static/gsApp/hooks/integration* @getsentry/ecosystem +/static/gsApp/hooks/superuser* @getsentry/foundations +/static/gsApp/hooks/integration* @getsentry/integration-platform /static/gsApp/components/crons/ @getsentry/crons /static/gsApp/components/replay* @getsentry/replay-frontend @@ -788,14 +788,14 @@ tests/sentry/api/endpoints/test_organization_attribute_mappings.py @get /static/gsAdmin/views/relocation* @getsentry/hybrid-cloud ## Ecosystem -/src/sentry/api/endpoints/organization_missing_org_members.py @getsentry/ecosystem -/static/app/components/modals/inviteMissingMembersModal/ @getsentry/ecosystem -/src/sentry/integrations/github/tasks/pr_comment.py @getsentry/ecosystem -/src/sentry/data_secrecy/ @getsentry/ecosystem -/tests/sentry/data_secrecy/ @getsentry/ecosystem -/static/app/views/settings/organizationDataForwarding/ @getsentry/ecosystem -/static/app/views/settings/organizationIntegrations/ @getsentry/ecosystem -/static/app/views/settings/organizationDeveloperSettings/ @getsentry/ecosystem +/src/sentry/api/endpoints/organization_missing_org_members.py @getsentry/scm +/static/app/components/modals/inviteMissingMembersModal/ @getsentry/scm +/src/sentry/integrations/github/tasks/pr_comment.py @getsentry/scm +/src/sentry/data_secrecy/ @getsentry/foundations +/tests/sentry/data_secrecy/ @getsentry/foundations +/static/app/views/settings/organizationDataForwarding/ @getsentry/integration-platform +/static/app/views/settings/organizationIntegrations/ @getsentry/integration-platform +/static/app/views/settings/organizationDeveloperSettings/ @getsentry/integration-platform ## End of Ecosystem @@ -881,24 +881,24 @@ tests/sentry/api/endpoints/test_organization_attribute_mappings.py @get ## SCM /src/sentry/scm/ @getsentry/scm -/src/sentry/integrations/source_code_management/ @getsentry/product-owners-settings-integrations @getsentry/coding-workflows-sentry-backend @getsentry/scm -/src/sentry/integrations/repository/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm -/src/sentry/integrations/github_enterprise/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm -/src/sentry/integrations/gitlab/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm -/src/sentry/integrations/bitbucket/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm -/src/sentry/integrations/bitbucket_server/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm -/src/sentry/integrations/vsts/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm -/src/sentry/integrations/vsts_extension/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm -/src/sentry/integrations/perforce/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm @getsentry/gdx +/src/sentry/integrations/source_code_management/ @getsentry/coding-workflows-sentry-backend @getsentry/scm +/src/sentry/integrations/repository/ @getsentry/scm +/src/sentry/integrations/github_foundations/ @getsentry/scm +/src/sentry/integrations/gitlab/ @getsentry/scm +/src/sentry/integrations/bitbucket/ @getsentry/scm +/src/sentry/integrations/bitbucket_server/ @getsentry/scm +/src/sentry/integrations/vsts/ @getsentry/scm +/src/sentry/integrations/vsts_extension/ @getsentry/scm +/src/sentry/integrations/perforce/ @getsentry/scm @getsentry/gdx /tests/sentry/integrations/source_code_management/ @getsentry/coding-workflows-sentry-backend @getsentry/scm -/tests/sentry/integrations/repository/ @getsentry/ecosystem @getsentry/scm -/tests/sentry/integrations/github_enterprise/ @getsentry/ecosystem @getsentry/scm -/tests/sentry/integrations/gitlab/ @getsentry/ecosystem @getsentry/scm -/tests/sentry/integrations/bitbucket/ @getsentry/ecosystem @getsentry/scm -/tests/sentry/integrations/bitbucket_server/ @getsentry/ecosystem @getsentry/scm -/tests/sentry/integrations/vsts/ @getsentry/ecosystem @getsentry/scm -/tests/sentry/integrations/vsts_extension/ @getsentry/ecosystem @getsentry/scm -/tests/sentry/integrations/perforce/ @getsentry/ecosystem @getsentry/scm @getsentry/gdx +/tests/sentry/integrations/repository/ @getsentry/scm +/tests/sentry/integrations/github_enterprise/ @getsentry/scm +/tests/sentry/integrations/gitlab/ @getsentry/scm +/tests/sentry/integrations/bitbucket/ @getsentry/scm +/tests/sentry/integrations/bitbucket_server/ @getsentry/scm +/tests/sentry/integrations/vsts/ @getsentry/scm +/tests/sentry/integrations/vsts_extension/ @getsentry/scm +/tests/sentry/integrations/perforce/ @getsentry/scm @getsentry/gdx /tests/sentry/scm/ @getsentry/scm ## End of SCM @@ -924,3 +924,19 @@ tests/sentry/api/endpoints/test_organization_attribute_mappings.py @get /src/sentry/objectstore/ @getsentry/foundational-storage /tests/sentry/objectstore/ @getsentry/foundational-storage # End of Foundational Storage + +# Messaging Integrations +/src/sentry/integrations/slack/* @getsentry/messaging-integrations +/src/sentry/integrations/msteams/* @getsentry/messaging-integrations +/src/sentry/integrations/discord/* @getsentry/messaging-integrations +/tests/sentry/integrations/slack/* @getsentry/messaging-integrations +/tests/sentry/integrations/msteams/* @getsentry/messaging-integrations +/tests/sentry/integrations/discord/* @getsentry/messaging-integrations +# End of Messaging Integrations + +# Project Management Integrations +/src/sentry/integrations/jira/* @getsentry/project-management-integrations +/src/sentry/integrations/jira_server/* @getsentry/project-management-integrations +/tests/sentry/integrations/jira/* @getsentry/project-management-integrations +/tests/sentry/integrations/jira_server/* @getsentry/project-management-integrations +# End of Project Management Integrations diff --git a/src/sentry/api/api_owners.py b/src/sentry/api/api_owners.py index f9c6b6be55c1cc..5c3fc1bda1e802 100644 --- a/src/sentry/api/api_owners.py +++ b/src/sentry/api/api_owners.py @@ -7,30 +7,32 @@ class ApiOwner(Enum): Value should map to team's github group """ - ALERTS_NOTIFICATIONS = "alerts-notifications" + ALERTS_MONITORS = "alerts-monitors" BILLING = "revenue" CODECOV = "codecov" CODING_WORKFLOWS = "coding-workflows-sentry-backend" CRONS = "crons" DASHBOARDS = "dashboards" DATA_BROWSING = "data-browsing" - ECOSYSTEM = "ecosystem" EMERGE_TOOLS = "emerge-tools" - ENTERPRISE = "enterprise" EXPLORE = "explore" FEEDBACK = "feedback-backend" FLAG = "replay-backend" FOUNDATIONAL_STORAGE = "foundational-storage" + FOUNDATIONS = "foundations" GDX = "gdx" HYBRID_CLOUD = "hybrid-cloud" INFRA_ENG = "sre-infrastructure-engineering" - INTEGRATIONS = "product-owners-settings-integrations" + INTEGRATION_PLATFORM = "integration-platform" ISSUE_DETECTION_BACKEND = "issue-detection-backend" ISSUES = "issue-workflow" + MESSAGING_INTEGRATIONS = "messaging-integrations" ML_AI = "machine-learning-ai" + NOTIFICATIONS = "notifications" OWNERS_INGEST = "ingest" OWNERS_SNUBA = "owners-snuba" PROFILING = "profiling" + PROJECT_MANAGEMENT_INTEGRATIONS = "project-management-integrations" REPLAY = "replay-backend" SECURITY = "security" TELEMETRY_EXPERIENCE = "telemetry-experience" diff --git a/src/sentry/api/endpoints/api_application_rotate_secret.py b/src/sentry/api/endpoints/api_application_rotate_secret.py index 79d392bafc8a7a..df9093213569ae 100644 --- a/src/sentry/api/endpoints/api_application_rotate_secret.py +++ b/src/sentry/api/endpoints/api_application_rotate_secret.py @@ -16,7 +16,7 @@ class ApiApplicationRotateSecretEndpoint(ApiApplicationEndpoint): publish_status = { "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.FOUNDATIONS authentication_classes = (SessionAuthentication,) permission_classes = (SentryIsAuthenticated,) diff --git a/src/sentry/api/endpoints/api_authorizations.py b/src/sentry/api/endpoints/api_authorizations.py index cc9b75f3562a22..5a4702838f554e 100644 --- a/src/sentry/api/endpoints/api_authorizations.py +++ b/src/sentry/api/endpoints/api_authorizations.py @@ -22,7 +22,7 @@ class ApiAuthorizationsEndpoint(Endpoint): "DELETE": ApiPublishStatus.PRIVATE, "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.FOUNDATIONS authentication_classes = (SessionAuthentication,) permission_classes = (SentryIsAuthenticated,) diff --git a/src/sentry/api/endpoints/auth_config.py b/src/sentry/api/endpoints/auth_config.py index b3945a238b2168..57cee20e39a0df 100644 --- a/src/sentry/api/endpoints/auth_config.py +++ b/src/sentry/api/endpoints/auth_config.py @@ -28,7 +28,7 @@ class AuthConfigEndpoint(Endpoint, OrganizationMixin): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS # Disable authentication and permission requirements. permission_classes = () diff --git a/src/sentry/api/endpoints/auth_index.py b/src/sentry/api/endpoints/auth_index.py index a05760a38757e4..5a56a420a0c86a 100644 --- a/src/sentry/api/endpoints/auth_index.py +++ b/src/sentry/api/endpoints/auth_index.py @@ -46,7 +46,7 @@ class BaseAuthIndexEndpoint(Endpoint): AuthIndexEndpoint and StaffAuthIndexEndpoint (in getsentry) """ - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS authentication_classes = (QuietBasicAuthentication, SessionAuthentication) permission_classes = () diff --git a/src/sentry/api/endpoints/auth_login.py b/src/sentry/api/endpoints/auth_login.py index 190d6228dc0f52..d186ae46898a07 100644 --- a/src/sentry/api/endpoints/auth_login.py +++ b/src/sentry/api/endpoints/auth_login.py @@ -20,7 +20,7 @@ class AuthLoginEndpoint(Endpoint, OrganizationMixin): publish_status = { "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS # Disable authentication and permission requirements. permission_classes = () diff --git a/src/sentry/api/endpoints/oauth_userinfo.py b/src/sentry/api/endpoints/oauth_userinfo.py index 0fea25e4070b0a..7078881e368197 100644 --- a/src/sentry/api/endpoints/oauth_userinfo.py +++ b/src/sentry/api/endpoints/oauth_userinfo.py @@ -65,7 +65,7 @@ class OAuthUserInfoEndpoint(Endpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS authentication_classes = () permission_classes = () diff --git a/src/sentry/api/endpoints/organization_access_request_details.py b/src/sentry/api/endpoints/organization_access_request_details.py index 873b2a699213b9..6b5d89394ee042 100644 --- a/src/sentry/api/endpoints/organization_access_request_details.py +++ b/src/sentry/api/endpoints/organization_access_request_details.py @@ -56,7 +56,7 @@ class OrganizationAccessRequestDetailsEndpoint(OrganizationEndpoint): "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (AccessRequestPermission,) # TODO(dcramer): this should go onto AccessRequestPermission diff --git a/src/sentry/api/endpoints/organization_api_key_details.py b/src/sentry/api/endpoints/organization_api_key_details.py index 03ac6bad436323..e3fa007ba8f703 100644 --- a/src/sentry/api/endpoints/organization_api_key_details.py +++ b/src/sentry/api/endpoints/organization_api_key_details.py @@ -36,7 +36,7 @@ def validate_scope_list(self, value): @control_silo_endpoint class OrganizationApiKeyDetailsEndpoint(ControlSiloOrganizationEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.FOUNDATIONS publish_status = { "DELETE": ApiPublishStatus.PRIVATE, "GET": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/api/endpoints/organization_api_key_index.py b/src/sentry/api/endpoints/organization_api_key_index.py index 06713f169f6d26..c6fc4d45cbd6bc 100644 --- a/src/sentry/api/endpoints/organization_api_key_index.py +++ b/src/sentry/api/endpoints/organization_api_key_index.py @@ -18,7 +18,7 @@ @control_silo_endpoint class OrganizationApiKeyIndexEndpoint(ControlSiloOrganizationEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.FOUNDATIONS publish_status = { "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/api/endpoints/organization_auth_provider_details.py b/src/sentry/api/endpoints/organization_auth_provider_details.py index e8bf513a198221..f979f916972892 100644 --- a/src/sentry/api/endpoints/organization_auth_provider_details.py +++ b/src/sentry/api/endpoints/organization_auth_provider_details.py @@ -17,7 +17,7 @@ class OrganizationAuthProviderDetailsEndpoint(OrganizationEndpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (OrganizationAuthProviderPermission,) def get(self, request: Request, organization: Organization) -> Response: diff --git a/src/sentry/api/endpoints/organization_auth_providers.py b/src/sentry/api/endpoints/organization_auth_providers.py index 01ef3ac0bec792..cc202a9f2b38c2 100644 --- a/src/sentry/api/endpoints/organization_auth_providers.py +++ b/src/sentry/api/endpoints/organization_auth_providers.py @@ -16,7 +16,7 @@ class OrganizationAuthProvidersEndpoint(OrganizationEndpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (OrganizationAuthProviderPermission,) def get(self, request: Request, organization: Organization) -> Response: diff --git a/src/sentry/api/endpoints/organization_auth_token_details.py b/src/sentry/api/endpoints/organization_auth_token_details.py index 1b5351ca49b061..e8a75b409c725b 100644 --- a/src/sentry/api/endpoints/organization_auth_token_details.py +++ b/src/sentry/api/endpoints/organization_auth_token_details.py @@ -26,7 +26,7 @@ class OrganizationAuthTokenDetailsEndpoint(ControlSiloOrganizationEndpoint): "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.FOUNDATIONS authentication_classes = (SessionNoAuthTokenAuthentication,) permission_classes = (OrgAuthTokenPermission, DisallowImpersonatedTokenCreation) diff --git a/src/sentry/api/endpoints/organization_auth_tokens.py b/src/sentry/api/endpoints/organization_auth_tokens.py index 69df1892110d9f..641aaf1a526509 100644 --- a/src/sentry/api/endpoints/organization_auth_tokens.py +++ b/src/sentry/api/endpoints/organization_auth_tokens.py @@ -42,7 +42,7 @@ class OrganizationAuthTokensEndpoint(ControlSiloOrganizationEndpoint): "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.FOUNDATIONS authentication_classes = (SessionNoAuthTokenAuthentication,) permission_classes = (OrgAuthTokenPermission, DisallowImpersonatedTokenCreation) diff --git a/src/sentry/api/endpoints/organization_config_repositories.py b/src/sentry/api/endpoints/organization_config_repositories.py index c8a036112856b9..c3c626f1b4d4e4 100644 --- a/src/sentry/api/endpoints/organization_config_repositories.py +++ b/src/sentry/api/endpoints/organization_config_repositories.py @@ -11,7 +11,7 @@ @cell_silo_endpoint class OrganizationConfigRepositoriesEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/api/endpoints/organization_intercom_jwt.py b/src/sentry/api/endpoints/organization_intercom_jwt.py index 96e831aa8ab726..88ab2343974063 100644 --- a/src/sentry/api/endpoints/organization_intercom_jwt.py +++ b/src/sentry/api/endpoints/organization_intercom_jwt.py @@ -35,7 +35,7 @@ class OrganizationIntercomJwtEndpoint(ControlSiloOrganizationEndpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS def get( self, diff --git a/src/sentry/api/endpoints/organization_missing_org_members.py b/src/sentry/api/endpoints/organization_missing_org_members.py index fad8e0f9326919..25a673b443655a 100644 --- a/src/sentry/api/endpoints/organization_missing_org_members.py +++ b/src/sentry/api/endpoints/organization_missing_org_members.py @@ -150,7 +150,7 @@ def _get_email_domain(email: str) -> str | None: @cell_silo_endpoint class OrganizationMissingMembersEndpoint(OrganizationEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "GET": ApiPublishStatus.EXPERIMENTAL, } diff --git a/src/sentry/api/endpoints/organization_pipeline.py b/src/sentry/api/endpoints/organization_pipeline.py index d2080c74d90ebe..20fde7e08d9a81 100644 --- a/src/sentry/api/endpoints/organization_pipeline.py +++ b/src/sentry/api/endpoints/organization_pipeline.py @@ -61,7 +61,7 @@ def _get_api_pipeline( @control_silo_endpoint class OrganizationPipelineEndpoint(ControlSiloOrganizationEndpoint): - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS publish_status = { "GET": ApiPublishStatus.EXPERIMENTAL, "POST": ApiPublishStatus.EXPERIMENTAL, diff --git a/src/sentry/api/endpoints/organization_plugin_deprecation_info.py b/src/sentry/api/endpoints/organization_plugin_deprecation_info.py index dc041e55584da8..fa509e69dc69ea 100644 --- a/src/sentry/api/endpoints/organization_plugin_deprecation_info.py +++ b/src/sentry/api/endpoints/organization_plugin_deprecation_info.py @@ -17,7 +17,7 @@ class OrganizationPluginDeprecationInfoEndpoint(OrganizationEndpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.INTEGRATION_PLATFORM def get(self, request, organization, plugin_slug): """ diff --git a/src/sentry/api/endpoints/organization_plugins_configs.py b/src/sentry/api/endpoints/organization_plugins_configs.py index 1ad1cea8c58e2d..b27bf1f7e97378 100644 --- a/src/sentry/api/endpoints/organization_plugins_configs.py +++ b/src/sentry/api/endpoints/organization_plugins_configs.py @@ -19,7 +19,7 @@ @cell_silo_endpoint class OrganizationPluginsConfigsEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/api/endpoints/organization_plugins_index.py b/src/sentry/api/endpoints/organization_plugins_index.py index ba4d6a403a327f..c9eb40296107e0 100644 --- a/src/sentry/api/endpoints/organization_plugins_index.py +++ b/src/sentry/api/endpoints/organization_plugins_index.py @@ -15,7 +15,7 @@ @cell_silo_endpoint class OrganizationPluginsEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/api/endpoints/organization_stats.py b/src/sentry/api/endpoints/organization_stats.py index 142987d38b99c5..bc7004ce0033f5 100644 --- a/src/sentry/api/endpoints/organization_stats.py +++ b/src/sentry/api/endpoints/organization_stats.py @@ -20,7 +20,7 @@ class OrganizationStatsEndpoint(OrganizationEndpoint, StatsMixin): # Deprecated APIs remain private until removed "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS def get(self, request: Request, organization) -> Response: """ diff --git a/src/sentry/api/endpoints/organization_stats_summary.py b/src/sentry/api/endpoints/organization_stats_summary.py index 975d403631955a..55f05e9ece8919 100644 --- a/src/sentry/api/endpoints/organization_stats_summary.py +++ b/src/sentry/api/endpoints/organization_stats_summary.py @@ -127,7 +127,7 @@ class StatsSummaryApiResponse(TypedDict): @cell_silo_endpoint class OrganizationStatsSummaryEndpoint(OrganizationEndpoint): publish_status = {"GET": ApiPublishStatus.PUBLIC} - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.DASHBOARDS @extend_schema( operation_id="Retrieve an Organization's Events Count by Project", diff --git a/src/sentry/api/endpoints/organization_stats_v2.py b/src/sentry/api/endpoints/organization_stats_v2.py index 04e68d3e3fb6e1..19542e9c66f867 100644 --- a/src/sentry/api/endpoints/organization_stats_v2.py +++ b/src/sentry/api/endpoints/organization_stats_v2.py @@ -158,7 +158,7 @@ class OrganizationStatsEndpointV2(OrganizationEndpoint): publish_status = { "GET": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.DASHBOARDS enforce_rate_limit = True rate_limits = RateLimitConfig( limit_overrides={ diff --git a/src/sentry/api/endpoints/project_member_index.py b/src/sentry/api/endpoints/project_member_index.py index 805aab22b1da84..73b52fdc78d9ee 100644 --- a/src/sentry/api/endpoints/project_member_index.py +++ b/src/sentry/api/endpoints/project_member_index.py @@ -22,7 +22,7 @@ class ProjectMemberIndexEndpoint(ProjectEndpoint): publish_status = { "GET": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS @extend_schema( operation_id="List a Project's Organization Members", diff --git a/src/sentry/api/endpoints/project_plugin_details.py b/src/sentry/api/endpoints/project_plugin_details.py index b0f118dcee3a8d..84566373fc4ff6 100644 --- a/src/sentry/api/endpoints/project_plugin_details.py +++ b/src/sentry/api/endpoints/project_plugin_details.py @@ -32,7 +32,7 @@ @cell_silo_endpoint class ProjectPluginDetailsEndpoint(ProjectEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "DELETE": ApiPublishStatus.PRIVATE, "GET": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/api/endpoints/project_plugins.py b/src/sentry/api/endpoints/project_plugins.py index 33ff532329b085..1f655ea07cf3d2 100644 --- a/src/sentry/api/endpoints/project_plugins.py +++ b/src/sentry/api/endpoints/project_plugins.py @@ -12,7 +12,7 @@ @cell_silo_endpoint class ProjectPluginsEndpoint(ProjectEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/api/endpoints/project_servicehook_details.py b/src/sentry/api/endpoints/project_servicehook_details.py index 760d2993193f12..210f19c2b5537f 100644 --- a/src/sentry/api/endpoints/project_servicehook_details.py +++ b/src/sentry/api/endpoints/project_servicehook_details.py @@ -18,7 +18,7 @@ @cell_silo_endpoint class ProjectServiceHookDetailsEndpoint(ServiceHookEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "DELETE": ApiPublishStatus.PRIVATE, "GET": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/api/endpoints/project_servicehook_stats.py b/src/sentry/api/endpoints/project_servicehook_stats.py index 293abd74238064..f6aebdac5f165d 100644 --- a/src/sentry/api/endpoints/project_servicehook_stats.py +++ b/src/sentry/api/endpoints/project_servicehook_stats.py @@ -13,7 +13,7 @@ @cell_silo_endpoint class ProjectServiceHookStatsEndpoint(ServiceHookEndpoint, StatsMixin): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.UNKNOWN, } diff --git a/src/sentry/api/endpoints/project_servicehooks.py b/src/sentry/api/endpoints/project_servicehooks.py index cae1079f69facc..8af5dfb13406ae 100644 --- a/src/sentry/api/endpoints/project_servicehooks.py +++ b/src/sentry/api/endpoints/project_servicehooks.py @@ -19,7 +19,7 @@ @cell_silo_endpoint class ProjectServiceHooksEndpoint(ProjectEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.UNKNOWN, "POST": ApiPublishStatus.UNKNOWN, diff --git a/src/sentry/api/endpoints/release_thresholds/release_threshold.py b/src/sentry/api/endpoints/release_thresholds/release_threshold.py index 14ce20cf45360c..6812711fbb3683 100644 --- a/src/sentry/api/endpoints/release_thresholds/release_threshold.py +++ b/src/sentry/api/endpoints/release_thresholds/release_threshold.py @@ -50,7 +50,7 @@ def validate_trigger_type(self, trigger_type: str) -> int: @cell_silo_endpoint class ReleaseThresholdEndpoint(ProjectEndpoint): permission_classes = (ProjectReleasePermission,) - owner: ApiOwner = ApiOwner.ENTERPRISE + owner: ApiOwner = ApiOwner.REPLAY publish_status = { "GET": ApiPublishStatus.EXPERIMENTAL, "POST": ApiPublishStatus.EXPERIMENTAL, diff --git a/src/sentry/api/endpoints/release_thresholds/release_threshold_details.py b/src/sentry/api/endpoints/release_thresholds/release_threshold_details.py index 86409831a2c3b5..9c1368cbd6753a 100644 --- a/src/sentry/api/endpoints/release_thresholds/release_threshold_details.py +++ b/src/sentry/api/endpoints/release_thresholds/release_threshold_details.py @@ -53,7 +53,7 @@ def validate_trigger_type(self, trigger_type: str) -> int: @cell_silo_endpoint class ReleaseThresholdDetailsEndpoint(ProjectEndpoint): permission_classes = (ProjectReleasePermission,) - owner: ApiOwner = ApiOwner.ENTERPRISE + owner: ApiOwner = ApiOwner.REPLAY publish_status = { "DELETE": ApiPublishStatus.EXPERIMENTAL, "GET": ApiPublishStatus.EXPERIMENTAL, diff --git a/src/sentry/api/endpoints/release_thresholds/release_threshold_index.py b/src/sentry/api/endpoints/release_thresholds/release_threshold_index.py index 14d8542803bcc0..f5f1b3234e02ce 100644 --- a/src/sentry/api/endpoints/release_thresholds/release_threshold_index.py +++ b/src/sentry/api/endpoints/release_thresholds/release_threshold_index.py @@ -32,7 +32,7 @@ class ReleaseThresholdIndexGETValidator(serializers.Serializer[ReleaseThresholdI @cell_silo_endpoint class ReleaseThresholdIndexEndpoint(OrganizationEndpoint): - owner: ApiOwner = ApiOwner.ENTERPRISE + owner: ApiOwner = ApiOwner.REPLAY publish_status = { "GET": ApiPublishStatus.EXPERIMENTAL, } diff --git a/src/sentry/api/endpoints/release_thresholds/release_threshold_status_index.py b/src/sentry/api/endpoints/release_thresholds/release_threshold_status_index.py index e3457b8e6f5741..f528b17b28f576 100644 --- a/src/sentry/api/endpoints/release_thresholds/release_threshold_status_index.py +++ b/src/sentry/api/endpoints/release_thresholds/release_threshold_status_index.py @@ -101,7 +101,7 @@ def validate(self, data: ReleaseThresholdStatusIndexData) -> ReleaseThresholdSta @cell_silo_endpoint @extend_schema(tags=["Releases"]) class ReleaseThresholdStatusIndexEndpoint(OrganizationReleasesBaseEndpoint): - owner: ApiOwner = ApiOwner.ENTERPRISE + owner: ApiOwner = ApiOwner.REPLAY publish_status = { "GET": ApiPublishStatus.PUBLIC, } diff --git a/src/sentry/api/endpoints/user_organizationintegrations.py b/src/sentry/api/endpoints/user_organizationintegrations.py index a3249f9cafe1a3..56da5bac5e0088 100644 --- a/src/sentry/api/endpoints/user_organizationintegrations.py +++ b/src/sentry/api/endpoints/user_organizationintegrations.py @@ -15,7 +15,7 @@ @control_silo_endpoint class UserOrganizationIntegrationsEndpoint(UserEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/auth_v2/endpoints/auth_merge_user_accounts.py b/src/sentry/auth_v2/endpoints/auth_merge_user_accounts.py index 26c71f848b421c..f3094c00c4080a 100644 --- a/src/sentry/auth_v2/endpoints/auth_merge_user_accounts.py +++ b/src/sentry/auth_v2/endpoints/auth_merge_user_accounts.py @@ -28,7 +28,7 @@ class AuthMergeUserAccountsEndpoint(AuthV2Endpoint): "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS """ List and merge user accounts with the same primary email address. """ diff --git a/src/sentry/auth_v2/endpoints/auth_user_merge_verification_code.py b/src/sentry/auth_v2/endpoints/auth_user_merge_verification_code.py index 5b9f37ee4610ae..32d6413ca8e264 100644 --- a/src/sentry/auth_v2/endpoints/auth_user_merge_verification_code.py +++ b/src/sentry/auth_v2/endpoints/auth_user_merge_verification_code.py @@ -14,7 +14,7 @@ class AuthUserMergeVerificationCodeEndpoint(Endpoint): publish_status = { "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (SentryIsAuthenticated,) """ Generate and update verification codes for the user account merge flow. diff --git a/src/sentry/auth_v2/endpoints/csrf.py b/src/sentry/auth_v2/endpoints/csrf.py index ac5fa6312eb56d..2ec3b72689fdf3 100644 --- a/src/sentry/auth_v2/endpoints/csrf.py +++ b/src/sentry/auth_v2/endpoints/csrf.py @@ -24,7 +24,7 @@ class CsrfTokenEndpoint(Endpoint): NOTE: This endpoint is not protected by the feature flag in AuthV2Endpoint! """ - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS publish_status = { "GET": ApiPublishStatus.EXPERIMENTAL, "PUT": ApiPublishStatus.EXPERIMENTAL, diff --git a/src/sentry/auth_v2/endpoints/feature_flag_view.py b/src/sentry/auth_v2/endpoints/feature_flag_view.py index 18ecd9ca343584..a27526dde6bad9 100644 --- a/src/sentry/auth_v2/endpoints/feature_flag_view.py +++ b/src/sentry/auth_v2/endpoints/feature_flag_view.py @@ -12,7 +12,7 @@ @control_silo_endpoint class FeatureFlagView(AuthV2Endpoint): - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS publish_status = {"GET": ApiPublishStatus.EXPERIMENTAL} enforce_rate_limit = True rate_limits = RateLimitConfig( diff --git a/src/sentry/auth_v2/endpoints/user_login_view.py b/src/sentry/auth_v2/endpoints/user_login_view.py index f5745c4b7db5b4..5cfc33b85b40da 100644 --- a/src/sentry/auth_v2/endpoints/user_login_view.py +++ b/src/sentry/auth_v2/endpoints/user_login_view.py @@ -10,7 +10,7 @@ @control_silo_endpoint class UserLoginView(AuthV2Endpoint): - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/core/endpoints/organization_auditlogs.py b/src/sentry/core/endpoints/organization_auditlogs.py index a051724a053e79..becbcb3a160569 100644 --- a/src/sentry/core/endpoints/organization_auditlogs.py +++ b/src/sentry/core/endpoints/organization_auditlogs.py @@ -39,7 +39,7 @@ class OrganizationAuditLogsEndpoint(ControlSiloOrganizationEndpoint): publish_status = { "GET": ApiPublishStatus.EXPERIMENTAL, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (OrganizationAuditPermission,) def get( diff --git a/src/sentry/core/endpoints/organization_member_details.py b/src/sentry/core/endpoints/organization_member_details.py index c64ab2104706fe..5f92c9f7e9e648 100644 --- a/src/sentry/core/endpoints/organization_member_details.py +++ b/src/sentry/core/endpoints/organization_member_details.py @@ -88,7 +88,7 @@ class OrganizationMemberDetailsEndpoint(OrganizationMemberEndpoint): "GET": ApiPublishStatus.PUBLIC, "PUT": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (RelaxedMemberPermission,) def _get_member( diff --git a/src/sentry/core/endpoints/organization_member_index.py b/src/sentry/core/endpoints/organization_member_index.py index 412bded61dc3e3..700e8ca7d4e6bd 100644 --- a/src/sentry/core/endpoints/organization_member_index.py +++ b/src/sentry/core/endpoints/organization_member_index.py @@ -185,7 +185,7 @@ class OrganizationMemberIndexEndpoint(OrganizationEndpoint): ) permission_classes = (MemberAndStaffPermission,) - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS @extend_schema( operation_id="List an Organization's Members", diff --git a/src/sentry/core/endpoints/organization_member_team_details.py b/src/sentry/core/endpoints/organization_member_team_details.py index a569d7f7cc575a..8c2ebc6df0c5be 100644 --- a/src/sentry/core/endpoints/organization_member_team_details.py +++ b/src/sentry/core/endpoints/organization_member_team_details.py @@ -153,7 +153,7 @@ def convert_args( "PUT": ApiPublishStatus.PUBLIC, "POST": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (OrganizationTeamMemberPermission,) def _can_create_team_member(self, request: Request, team: Team) -> bool: diff --git a/src/sentry/core/endpoints/organization_projects_experiment.py b/src/sentry/core/endpoints/organization_projects_experiment.py index 44db7c491b67e8..a9ab00b0eb71c3 100644 --- a/src/sentry/core/endpoints/organization_projects_experiment.py +++ b/src/sentry/core/endpoints/organization_projects_experiment.py @@ -70,7 +70,7 @@ class OrganizationProjectsExperimentEndpoint(OrganizationEndpoint): } permission_classes = (OrgProjectPermission,) logger = logging.getLogger("team-project.create") - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS def should_add_creator_to_team(self, user: User | AnonymousUser) -> TypeIs[User]: return user.is_authenticated diff --git a/src/sentry/core/endpoints/organization_user_teams.py b/src/sentry/core/endpoints/organization_user_teams.py index 7360945182253a..9cfb07ea895607 100644 --- a/src/sentry/core/endpoints/organization_user_teams.py +++ b/src/sentry/core/endpoints/organization_user_teams.py @@ -23,7 +23,7 @@ class OrganizationUserTeamsEndpoint(OrganizationEndpoint): publish_status = { "GET": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS @extend_schema( operation_id="List a User's Teams for an Organization", diff --git a/src/sentry/core/endpoints/project_team_details.py b/src/sentry/core/endpoints/project_team_details.py index 3aa70a189db19b..446dfdc7f08b82 100644 --- a/src/sentry/core/endpoints/project_team_details.py +++ b/src/sentry/core/endpoints/project_team_details.py @@ -32,7 +32,7 @@ class ProjectTeamDetailsEndpoint(ProjectEndpoint): "DELETE": ApiPublishStatus.PUBLIC, "POST": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (ProjectTeamsPermission,) def convert_args( diff --git a/src/sentry/core/endpoints/project_teams.py b/src/sentry/core/endpoints/project_teams.py index 7f408ffa28d154..febed18dd0748c 100644 --- a/src/sentry/core/endpoints/project_teams.py +++ b/src/sentry/core/endpoints/project_teams.py @@ -22,7 +22,7 @@ class ProjectTeamsEndpoint(ProjectEndpoint): publish_status = { "GET": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS @extend_schema( operation_id="List a Project's Teams", diff --git a/src/sentry/core/endpoints/scim/utils.py b/src/sentry/core/endpoints/scim/utils.py index 39fe9936828830..d1133c262ef653 100644 --- a/src/sentry/core/endpoints/scim/utils.py +++ b/src/sentry/core/endpoints/scim/utils.py @@ -142,7 +142,7 @@ class SCIMListBaseResponse(TypedDict): @extend_schema(tags=["SCIM"]) class SCIMEndpoint(OrganizationEndpoint): - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS content_negotiation_class = SCIMClientNegotiation cursor_name = "startIndex" diff --git a/src/sentry/core/endpoints/team_members.py b/src/sentry/core/endpoints/team_members.py index 901d7bfbddb937..4656ad8ecf33a3 100644 --- a/src/sentry/core/endpoints/team_members.py +++ b/src/sentry/core/endpoints/team_members.py @@ -65,7 +65,7 @@ class TeamMembersEndpoint(TeamEndpoint): publish_status = { "GET": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS @extend_schema( operation_id="List a Team's Members", diff --git a/src/sentry/core/endpoints/team_projects.py b/src/sentry/core/endpoints/team_projects.py index b82545bfdbb5d4..202dc032be1526 100644 --- a/src/sentry/core/endpoints/team_projects.py +++ b/src/sentry/core/endpoints/team_projects.py @@ -138,7 +138,7 @@ class TeamProjectsEndpoint(TeamEndpoint): "POST": ApiPublishStatus.PUBLIC, } permission_classes = (TeamProjectPermission,) - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS @extend_schema( operation_id="List a Team's Projects", diff --git a/src/sentry/core/endpoints/team_stats.py b/src/sentry/core/endpoints/team_stats.py index f3505b24c19af0..e8a2b61dc053c9 100644 --- a/src/sentry/core/endpoints/team_stats.py +++ b/src/sentry/core/endpoints/team_stats.py @@ -18,7 +18,7 @@ class TeamStatsEndpoint(TeamEndpoint, StatsMixin): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS def get(self, request: Request, team) -> Response: """ diff --git a/src/sentry/data_secrecy/api/waive_data_secrecy.py b/src/sentry/data_secrecy/api/waive_data_secrecy.py index b56c296d407ad1..f93fd58331e1b2 100644 --- a/src/sentry/data_secrecy/api/waive_data_secrecy.py +++ b/src/sentry/data_secrecy/api/waive_data_secrecy.py @@ -53,7 +53,7 @@ class WaiveDataSecrecyEndpoint(ControlSiloOrganizationEndpoint): "POST": ApiPublishStatus.PRIVATE, "DELETE": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.FOUNDATIONS def get( self, diff --git a/src/sentry/integrations/api/endpoints/data_forwarding_details.py b/src/sentry/integrations/api/endpoints/data_forwarding_details.py index f11b80e57563fe..43d41003beaa28 100644 --- a/src/sentry/integrations/api/endpoints/data_forwarding_details.py +++ b/src/sentry/integrations/api/endpoints/data_forwarding_details.py @@ -62,7 +62,7 @@ def has_object_permission( @cell_silo_endpoint @extend_schema(tags=["Integrations"]) class DataForwardingDetailsEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "PUT": ApiPublishStatus.PUBLIC, "DELETE": ApiPublishStatus.PUBLIC, diff --git a/src/sentry/integrations/api/endpoints/data_forwarding_index.py b/src/sentry/integrations/api/endpoints/data_forwarding_index.py index 2db8c2a5a99128..6fc5d2501ef9aa 100644 --- a/src/sentry/integrations/api/endpoints/data_forwarding_index.py +++ b/src/sentry/integrations/api/endpoints/data_forwarding_index.py @@ -34,7 +34,7 @@ class OrganizationDataForwardingDetailsPermission(OrganizationPermission): @cell_silo_endpoint @extend_schema(tags=["Integrations"]) class DataForwardingIndexEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PUBLIC, "POST": ApiPublishStatus.PUBLIC, diff --git a/src/sentry/integrations/api/endpoints/doc_integration_avatar.py b/src/sentry/integrations/api/endpoints/doc_integration_avatar.py index 271b6981b241db..bd1eb51ca40871 100644 --- a/src/sentry/integrations/api/endpoints/doc_integration_avatar.py +++ b/src/sentry/integrations/api/endpoints/doc_integration_avatar.py @@ -11,7 +11,7 @@ @control_silo_endpoint class DocIntegrationAvatarEndpoint(AvatarMixin[DocIntegrationAvatar], DocIntegrationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/integrations/api/endpoints/doc_integration_details.py b/src/sentry/integrations/api/endpoints/doc_integration_details.py index 6d93dbde58634f..45ec30660cac99 100644 --- a/src/sentry/integrations/api/endpoints/doc_integration_details.py +++ b/src/sentry/integrations/api/endpoints/doc_integration_details.py @@ -20,7 +20,7 @@ @control_silo_endpoint class DocIntegrationDetailsEndpoint(DocIntegrationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "DELETE": ApiPublishStatus.PRIVATE, "GET": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/integrations/api/endpoints/doc_integrations_index.py b/src/sentry/integrations/api/endpoints/doc_integrations_index.py index e392a8eba0f7c8..5ca729c2c28682 100644 --- a/src/sentry/integrations/api/endpoints/doc_integrations_index.py +++ b/src/sentry/integrations/api/endpoints/doc_integrations_index.py @@ -21,7 +21,7 @@ @control_silo_endpoint class DocIntegrationsEndpoint(DocIntegrationsBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/integrations/api/endpoints/external_team_details.py b/src/sentry/integrations/api/endpoints/external_team_details.py index 31d0614686b447..1659e6172a4dae 100644 --- a/src/sentry/integrations/api/endpoints/external_team_details.py +++ b/src/sentry/integrations/api/endpoints/external_team_details.py @@ -32,7 +32,7 @@ class ExternalTeamDetailsEndpoint(TeamEndpoint, ExternalActorEndpointMixin): "DELETE": ApiPublishStatus.PUBLIC, "PUT": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.INTEGRATION_PLATFORM def convert_args( self, diff --git a/src/sentry/integrations/api/endpoints/external_team_index.py b/src/sentry/integrations/api/endpoints/external_team_index.py index 80427a918feede..cfbcfa00ec871f 100644 --- a/src/sentry/integrations/api/endpoints/external_team_index.py +++ b/src/sentry/integrations/api/endpoints/external_team_index.py @@ -29,7 +29,7 @@ class ExternalTeamEndpoint(TeamEndpoint, ExternalActorEndpointMixin): publish_status = { "POST": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.INTEGRATION_PLATFORM @extend_schema( operation_id="Create an External Team", diff --git a/src/sentry/integrations/api/endpoints/external_user_details.py b/src/sentry/integrations/api/endpoints/external_user_details.py index 5e191500f5bfa6..9363a2c76dc580 100644 --- a/src/sentry/integrations/api/endpoints/external_user_details.py +++ b/src/sentry/integrations/api/endpoints/external_user_details.py @@ -31,7 +31,7 @@ @cell_silo_endpoint @extend_schema(tags=["Integrations"]) class ExternalUserDetailsEndpoint(OrganizationEndpoint, ExternalActorEndpointMixin): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.INTEGRATION_PLATFORM permission_classes = (ExternalUserPermission,) publish_status = { "DELETE": ApiPublishStatus.PUBLIC, diff --git a/src/sentry/integrations/api/endpoints/external_user_index.py b/src/sentry/integrations/api/endpoints/external_user_index.py index 6fd9e48c79881d..05016e87d822bf 100644 --- a/src/sentry/integrations/api/endpoints/external_user_index.py +++ b/src/sentry/integrations/api/endpoints/external_user_index.py @@ -27,7 +27,7 @@ @cell_silo_endpoint @extend_schema(tags=["Integrations"]) class ExternalUserEndpoint(OrganizationEndpoint, ExternalActorEndpointMixin): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.INTEGRATION_PLATFORM permission_classes = (ExternalUserPermission,) publish_status = { "POST": ApiPublishStatus.PUBLIC, diff --git a/src/sentry/integrations/api/endpoints/integration_features.py b/src/sentry/integrations/api/endpoints/integration_features.py index 1b8ef73eb8273b..5b0f3444560050 100644 --- a/src/sentry/integrations/api/endpoints/integration_features.py +++ b/src/sentry/integrations/api/endpoints/integration_features.py @@ -22,7 +22,7 @@ class IntegrationFeaturesPermissions(SentryPermission): @control_silo_endpoint class IntegrationFeaturesEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/api/endpoints/organization_config_integrations.py b/src/sentry/integrations/api/endpoints/organization_config_integrations.py index 4da55bd6d0f112..2d8a7a036c0d6f 100644 --- a/src/sentry/integrations/api/endpoints/organization_config_integrations.py +++ b/src/sentry/integrations/api/endpoints/organization_config_integrations.py @@ -29,7 +29,7 @@ class OrganizationConfigIntegrationsEndpointResponse(TypedDict): @extend_schema(tags=["Integrations"]) @cell_silo_endpoint class OrganizationConfigIntegrationsEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PUBLIC, } diff --git a/src/sentry/integrations/api/endpoints/organization_integration_details.py b/src/sentry/integrations/api/endpoints/organization_integration_details.py index 1d31ccbf796b8f..8e07a8b309a496 100644 --- a/src/sentry/integrations/api/endpoints/organization_integration_details.py +++ b/src/sentry/integrations/api/endpoints/organization_integration_details.py @@ -45,7 +45,7 @@ class IntegrationSerializer(serializers.Serializer): @control_silo_endpoint @extend_schema(tags=["Integrations"]) class OrganizationIntegrationDetailsEndpoint(OrganizationIntegrationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "DELETE": ApiPublishStatus.PUBLIC, "GET": ApiPublishStatus.PUBLIC, diff --git a/src/sentry/integrations/api/endpoints/organization_integration_direct_enable.py b/src/sentry/integrations/api/endpoints/organization_integration_direct_enable.py index 98c4dec12155b5..3e5642e803a24d 100644 --- a/src/sentry/integrations/api/endpoints/organization_integration_direct_enable.py +++ b/src/sentry/integrations/api/endpoints/organization_integration_direct_enable.py @@ -27,7 +27,7 @@ @control_silo_endpoint class OrganizationIntegrationDirectEnableEndpoint(ControlSiloOrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/api/endpoints/organization_integration_issues.py b/src/sentry/integrations/api/endpoints/organization_integration_issues.py index 63d2e124854cc0..5ad2f84f4cdd25 100644 --- a/src/sentry/integrations/api/endpoints/organization_integration_issues.py +++ b/src/sentry/integrations/api/endpoints/organization_integration_issues.py @@ -15,7 +15,7 @@ @cell_silo_endpoint class OrganizationIntegrationIssuesEndpoint(CellOrganizationIntegrationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "PUT": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/api/endpoints/organization_integration_migrate_opsgenie.py b/src/sentry/integrations/api/endpoints/organization_integration_migrate_opsgenie.py index c7d19b82b9d008..2129cbd24d61e1 100644 --- a/src/sentry/integrations/api/endpoints/organization_integration_migrate_opsgenie.py +++ b/src/sentry/integrations/api/endpoints/organization_integration_migrate_opsgenie.py @@ -19,7 +19,7 @@ class OrganizationIntegrationMigrateOpsgenieEndpoint(CellOrganizationIntegration publish_status = { "PUT": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.INTEGRATION_PLATFORM def put( self, diff --git a/src/sentry/integrations/api/endpoints/organization_integration_repo_sync.py b/src/sentry/integrations/api/endpoints/organization_integration_repo_sync.py index 670987fc8d433b..abf14460cf23b8 100644 --- a/src/sentry/integrations/api/endpoints/organization_integration_repo_sync.py +++ b/src/sentry/integrations/api/endpoints/organization_integration_repo_sync.py @@ -21,7 +21,7 @@ class OrganizationIntegrationRepoSyncEndpoint(OrganizationIntegrationBaseEndpoin publish_status = { "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS def post( self, diff --git a/src/sentry/integrations/api/endpoints/organization_integration_request.py b/src/sentry/integrations/api/endpoints/organization_integration_request.py index c7fb4b2f2e0d7d..a3ca9f443b77b3 100644 --- a/src/sentry/integrations/api/endpoints/organization_integration_request.py +++ b/src/sentry/integrations/api/endpoints/organization_integration_request.py @@ -48,7 +48,7 @@ def get_provider_name(provider_type: str, provider_slug: str) -> str | _StrPromi @cell_silo_endpoint class OrganizationIntegrationRequestEndpoint(OrganizationRequestChangeEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/api/endpoints/organization_integration_serverless_functions.py b/src/sentry/integrations/api/endpoints/organization_integration_serverless_functions.py index 3ef8e50fd29bfe..40965dac62095d 100644 --- a/src/sentry/integrations/api/endpoints/organization_integration_serverless_functions.py +++ b/src/sentry/integrations/api/endpoints/organization_integration_serverless_functions.py @@ -25,7 +25,7 @@ class ServerlessActionSerializer(CamelSnakeSerializer): @cell_silo_endpoint class OrganizationIntegrationServerlessFunctionsEndpoint(CellOrganizationIntegrationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.UNKNOWN, "POST": ApiPublishStatus.UNKNOWN, diff --git a/src/sentry/integrations/api/endpoints/organization_integrations_index.py b/src/sentry/integrations/api/endpoints/organization_integrations_index.py index 5760278cd901f2..cb0260ffaa3acd 100644 --- a/src/sentry/integrations/api/endpoints/organization_integrations_index.py +++ b/src/sentry/integrations/api/endpoints/organization_integrations_index.py @@ -58,7 +58,7 @@ def filter_by_features( @control_silo_endpoint @extend_schema(tags=["Integrations"]) class OrganizationIntegrationsEndpoint(OrganizationIntegrationBaseEndpoint): - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PUBLIC, } diff --git a/src/sentry/integrations/api/endpoints/organization_repositories.py b/src/sentry/integrations/api/endpoints/organization_repositories.py index 9317c9e296dadc..280b52096b2153 100644 --- a/src/sentry/integrations/api/endpoints/organization_repositories.py +++ b/src/sentry/integrations/api/endpoints/organization_repositories.py @@ -33,7 +33,7 @@ @cell_silo_endpoint class OrganizationRepositoriesEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/integrations/api/endpoints/organization_repository_commits.py b/src/sentry/integrations/api/endpoints/organization_repository_commits.py index ada366ec757590..29b1a3c4fb9a5e 100644 --- a/src/sentry/integrations/api/endpoints/organization_repository_commits.py +++ b/src/sentry/integrations/api/endpoints/organization_repository_commits.py @@ -25,7 +25,7 @@ @cell_silo_endpoint @extend_schema(tags=["Organizations"]) class OrganizationRepositoryCommitsEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "GET": ApiPublishStatus.PUBLIC, } diff --git a/src/sentry/integrations/api/endpoints/organization_repository_details.py b/src/sentry/integrations/api/endpoints/organization_repository_details.py index c4049c60c4b69b..a028bc7a8d0eb8 100644 --- a/src/sentry/integrations/api/endpoints/organization_repository_details.py +++ b/src/sentry/integrations/api/endpoints/organization_repository_details.py @@ -37,7 +37,7 @@ class RepositorySerializer(serializers.Serializer): @cell_silo_endpoint class OrganizationRepositoryDetailsEndpoint(OrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "DELETE": ApiPublishStatus.PRIVATE, "GET": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/integrations/api/endpoints/organization_repository_platforms.py b/src/sentry/integrations/api/endpoints/organization_repository_platforms.py index 770761326ac80c..96fc325208ed13 100644 --- a/src/sentry/integrations/api/endpoints/organization_repository_platforms.py +++ b/src/sentry/integrations/api/endpoints/organization_repository_platforms.py @@ -23,7 +23,7 @@ @cell_silo_endpoint class OrganizationRepositoryPlatformsEndpoint(OrganizationRepositoryEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/bitbucket/descriptor.py b/src/sentry/integrations/bitbucket/descriptor.py index 015c1de5b0d6d3..cbb0fcd831dc0c 100644 --- a/src/sentry/integrations/bitbucket/descriptor.py +++ b/src/sentry/integrations/bitbucket/descriptor.py @@ -12,7 +12,7 @@ @control_silo_endpoint class BitbucketDescriptorEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/bitbucket/installed.py b/src/sentry/integrations/bitbucket/installed.py index 4be5cda97459d8..5d76555a8e773c 100644 --- a/src/sentry/integrations/bitbucket/installed.py +++ b/src/sentry/integrations/bitbucket/installed.py @@ -15,7 +15,7 @@ @control_silo_endpoint class BitbucketInstalledEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/bitbucket/search.py b/src/sentry/integrations/bitbucket/search.py index aa9ca2a8d2f3c4..447e6529ea89ce 100644 --- a/src/sentry/integrations/bitbucket/search.py +++ b/src/sentry/integrations/bitbucket/search.py @@ -24,7 +24,7 @@ @control_silo_endpoint class BitbucketSearchEndpoint(SourceCodeSearchEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/bitbucket/uninstalled.py b/src/sentry/integrations/bitbucket/uninstalled.py index e4376b6ce5a265..1c71042226e985 100644 --- a/src/sentry/integrations/bitbucket/uninstalled.py +++ b/src/sentry/integrations/bitbucket/uninstalled.py @@ -20,7 +20,7 @@ @control_silo_endpoint class BitbucketUninstalledEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/bitbucket/webhook.py b/src/sentry/integrations/bitbucket/webhook.py index 9931f156c2c774..c47c4d4900fb49 100644 --- a/src/sentry/integrations/bitbucket/webhook.py +++ b/src/sentry/integrations/bitbucket/webhook.py @@ -160,7 +160,7 @@ def __call__(self, event: Mapping[str, Any], **kwargs) -> None: @cell_silo_endpoint class BitbucketWebhookEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/bitbucket_server/webhook.py b/src/sentry/integrations/bitbucket_server/webhook.py index cc31a3f9ff8fda..c2388357d7c908 100644 --- a/src/sentry/integrations/bitbucket_server/webhook.py +++ b/src/sentry/integrations/bitbucket_server/webhook.py @@ -151,7 +151,7 @@ def __call__(self, event: Mapping[str, Any], **kwargs) -> None: class BitbucketServerWebhookEndpoint(Endpoint): authentication_classes = () permission_classes = () - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/discord/webhooks/base.py b/src/sentry/integrations/discord/webhooks/base.py index 45bf6a55143101..e7f2e100c44e01 100644 --- a/src/sentry/integrations/discord/webhooks/base.py +++ b/src/sentry/integrations/discord/webhooks/base.py @@ -28,7 +28,7 @@ @all_silo_endpoint class DiscordInteractionsEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.MESSAGING_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/github/installation.py b/src/sentry/integrations/github/installation.py index db02e6839ed718..5da5f04ded2748 100644 --- a/src/sentry/integrations/github/installation.py +++ b/src/sentry/integrations/github/installation.py @@ -25,7 +25,7 @@ class GitHubIntegrationsInstallationEndpoint(Endpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.INTEGRATION_PLATFORM permission_classes = (SentryIsAuthenticated,) diff --git a/src/sentry/integrations/github/webhook.py b/src/sentry/integrations/github/webhook.py index 06b3b70bee15ae..60b4441ca8d9e8 100644 --- a/src/sentry/integrations/github/webhook.py +++ b/src/sentry/integrations/github/webhook.py @@ -1005,7 +1005,7 @@ class GitHubIntegrationsWebhookEndpoint(Endpoint): authentication_classes = () permission_classes = () - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/github_enterprise/webhook.py b/src/sentry/integrations/github_enterprise/webhook.py index e7e4f4049edd22..a09c16dd1410c9 100644 --- a/src/sentry/integrations/github_enterprise/webhook.py +++ b/src/sentry/integrations/github_enterprise/webhook.py @@ -361,7 +361,7 @@ def _handle(self, request: HttpRequest) -> HttpResponse: @cell_silo_endpoint class GitHubEnterpriseWebhookEndpoint(GitHubEnterpriseWebhookBase): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/gitlab/webhooks.py b/src/sentry/integrations/gitlab/webhooks.py index a2c69efc3d0d8a..34135b50902fb8 100644 --- a/src/sentry/integrations/gitlab/webhooks.py +++ b/src/sentry/integrations/gitlab/webhooks.py @@ -423,7 +423,7 @@ def __call__(self, event: Mapping[str, Any], **kwargs): @cell_silo_endpoint class GitlabWebhookEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/jira/endpoints/descriptor.py b/src/sentry/integrations/jira/endpoints/descriptor.py index 42747bfc5af191..afeefc51de6c26 100644 --- a/src/sentry/integrations/jira/endpoints/descriptor.py +++ b/src/sentry/integrations/jira/endpoints/descriptor.py @@ -21,7 +21,7 @@ @control_silo_endpoint class JiraDescriptorEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/jira/endpoints/search.py b/src/sentry/integrations/jira/endpoints/search.py index 3615b3ddd97065..810c830b8dc999 100644 --- a/src/sentry/integrations/jira/endpoints/search.py +++ b/src/sentry/integrations/jira/endpoints/search.py @@ -25,7 +25,7 @@ @control_silo_endpoint class JiraSearchEndpoint(IntegrationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/jira/webhooks/installed.py b/src/sentry/integrations/jira/webhooks/installed.py index d43c478f913100..f25f80c7e2ab1a 100644 --- a/src/sentry/integrations/jira/webhooks/installed.py +++ b/src/sentry/integrations/jira/webhooks/installed.py @@ -24,7 +24,7 @@ @control_silo_endpoint class JiraSentryInstalledWebhook(JiraWebhookBase): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/jira/webhooks/issue_updated.py b/src/sentry/integrations/jira/webhooks/issue_updated.py index fa918de85ccda0..97f265c2e701e3 100644 --- a/src/sentry/integrations/jira/webhooks/issue_updated.py +++ b/src/sentry/integrations/jira/webhooks/issue_updated.py @@ -30,7 +30,7 @@ @cell_silo_endpoint class JiraIssueUpdatedWebhook(JiraWebhookBase): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/jira/webhooks/uninstalled.py b/src/sentry/integrations/jira/webhooks/uninstalled.py index f8ac4fd41c406d..29291b784bcdcb 100644 --- a/src/sentry/integrations/jira/webhooks/uninstalled.py +++ b/src/sentry/integrations/jira/webhooks/uninstalled.py @@ -15,7 +15,7 @@ @control_silo_endpoint class JiraSentryUninstalledWebhook(JiraWebhookBase): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/jira_server/search.py b/src/sentry/integrations/jira_server/search.py index bf219eef5a6d4d..8084ef9b224adf 100644 --- a/src/sentry/integrations/jira_server/search.py +++ b/src/sentry/integrations/jira_server/search.py @@ -19,7 +19,7 @@ @control_silo_endpoint class JiraServerSearchEndpoint(IntegrationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/jira_server/webhooks.py b/src/sentry/integrations/jira_server/webhooks.py index 2f33f817b4fd0d..f6b336addac243 100644 --- a/src/sentry/integrations/jira_server/webhooks.py +++ b/src/sentry/integrations/jira_server/webhooks.py @@ -52,7 +52,7 @@ def get_integration_from_token(token: str | None) -> RpcIntegration: @cell_silo_endpoint class JiraServerIssueUpdatedWebhook(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/msteams/webhook.py b/src/sentry/integrations/msteams/webhook.py index ff3b7e6af8ae75..00c6626fab63b1 100644 --- a/src/sentry/integrations/msteams/webhook.py +++ b/src/sentry/integrations/msteams/webhook.py @@ -197,7 +197,7 @@ def get_from_value(cls, value: str) -> MsTeamsEvents: @all_silo_endpoint class MsTeamsWebhookEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.MESSAGING_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/slack/webhooks/action.py b/src/sentry/integrations/slack/webhooks/action.py index 26545de4cb3fcc..812c79a79d74ed 100644 --- a/src/sentry/integrations/slack/webhooks/action.py +++ b/src/sentry/integrations/slack/webhooks/action.py @@ -176,7 +176,7 @@ def _is_message(data: Mapping[str, Any]) -> bool: @cell_silo_endpoint class SlackActionEndpoint(Endpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.MESSAGING_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/slack/webhooks/command.py b/src/sentry/integrations/slack/webhooks/command.py index 34690d5a1fa27b..8c8fc5a7ddd42a 100644 --- a/src/sentry/integrations/slack/webhooks/command.py +++ b/src/sentry/integrations/slack/webhooks/command.py @@ -79,7 +79,7 @@ def get_team_admin_member_ids(org_members: Iterable[OrganizationMember]) -> set[ @cell_silo_endpoint class SlackCommandsEndpoint(SlackDMEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.MESSAGING_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/slack/webhooks/event.py b/src/sentry/integrations/slack/webhooks/event.py index 07e23ceb7676fa..0e2ace813c076c 100644 --- a/src/sentry/integrations/slack/webhooks/event.py +++ b/src/sentry/integrations/slack/webhooks/event.py @@ -75,7 +75,7 @@ @all_silo_endpoint # Only challenge verification is handled at control class SlackEventEndpoint(SlackDMEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.MESSAGING_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/slack/webhooks/options_load.py b/src/sentry/integrations/slack/webhooks/options_load.py index 170bd5a5cc3559..5361142ba2b4cf 100644 --- a/src/sentry/integrations/slack/webhooks/options_load.py +++ b/src/sentry/integrations/slack/webhooks/options_load.py @@ -30,7 +30,7 @@ class OptionGroup(TypedDict): @cell_silo_endpoint class SlackOptionsLoadEndpoint(Endpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.MESSAGING_INTEGRATIONS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/source_code_management/search.py b/src/sentry/integrations/source_code_management/search.py index d89a3114a6555f..0e4cf6b92c8f29 100644 --- a/src/sentry/integrations/source_code_management/search.py +++ b/src/sentry/integrations/source_code_management/search.py @@ -31,7 +31,7 @@ class SourceCodeSearchSerializer(serializers.Serializer[dict[str, str]]): @control_silo_endpoint class SourceCodeSearchEndpoint(IntegrationEndpoint, Generic[T], ABC): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/integrations/vercel/webhook.py b/src/sentry/integrations/vercel/webhook.py index fd3863b8667383..91bbb5349188e9 100644 --- a/src/sentry/integrations/vercel/webhook.py +++ b/src/sentry/integrations/vercel/webhook.py @@ -153,7 +153,7 @@ def authenticate(self, request: Request) -> tuple[Any, Any]: @control_silo_endpoint class VercelWebhookEndpoint(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "DELETE": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/integrations/vsts/webhooks.py b/src/sentry/integrations/vsts/webhooks.py index 58cbc34f098e46..d3b0c7d6fb9638 100644 --- a/src/sentry/integrations/vsts/webhooks.py +++ b/src/sentry/integrations/vsts/webhooks.py @@ -44,7 +44,7 @@ def get_vsts_external_id(data: Mapping[str, Any]) -> str: @cell_silo_endpoint class WorkItemWebhook(Endpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.CODING_WORKFLOWS publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/issues/endpoints/group_integration_details.py b/src/sentry/issues/endpoints/group_integration_details.py index 909305777ed1be..7cd726438829df 100644 --- a/src/sentry/issues/endpoints/group_integration_details.py +++ b/src/sentry/issues/endpoints/group_integration_details.py @@ -73,7 +73,7 @@ def serialize( @cell_silo_endpoint class GroupIntegrationDetailsEndpoint(GroupEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.UNKNOWN, "POST": ApiPublishStatus.UNKNOWN, diff --git a/src/sentry/issues/endpoints/group_integrations.py b/src/sentry/issues/endpoints/group_integrations.py index a78f8509d58063..d2571123360d16 100644 --- a/src/sentry/issues/endpoints/group_integrations.py +++ b/src/sentry/issues/endpoints/group_integrations.py @@ -85,7 +85,7 @@ def serialize( @cell_silo_endpoint class GroupIntegrationsEndpoint(GroupEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/notifications/api/endpoints/notification_actions_available.py b/src/sentry/notifications/api/endpoints/notification_actions_available.py index 55c0661f6df629..61b05e2972d3b9 100644 --- a/src/sentry/notifications/api/endpoints/notification_actions_available.py +++ b/src/sentry/notifications/api/endpoints/notification_actions_available.py @@ -13,7 +13,7 @@ @cell_silo_endpoint class NotificationActionsAvailableEndpoint(OrganizationEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.NOTIFICATIONS publish_status = { "GET": ApiPublishStatus.EXPERIMENTAL, } diff --git a/src/sentry/notifications/api/endpoints/notification_actions_details.py b/src/sentry/notifications/api/endpoints/notification_actions_details.py index 5279c5537debcb..ca9c119bf1f4d6 100644 --- a/src/sentry/notifications/api/endpoints/notification_actions_details.py +++ b/src/sentry/notifications/api/endpoints/notification_actions_details.py @@ -34,7 +34,7 @@ @cell_silo_endpoint @extend_schema(tags=["Alerts"]) class NotificationActionsDetailsEndpoint(OrganizationEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.NOTIFICATIONS publish_status = { "DELETE": ApiPublishStatus.PUBLIC, "GET": ApiPublishStatus.PUBLIC, diff --git a/src/sentry/notifications/api/endpoints/notification_actions_index.py b/src/sentry/notifications/api/endpoints/notification_actions_index.py index f1bcfee6590675..38e5b28e3813f8 100644 --- a/src/sentry/notifications/api/endpoints/notification_actions_index.py +++ b/src/sentry/notifications/api/endpoints/notification_actions_index.py @@ -41,7 +41,7 @@ class NotificationActionsPermission(OrganizationPermission): @cell_silo_endpoint @extend_schema(tags=["Alerts"]) class NotificationActionsIndexEndpoint(OrganizationEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.NOTIFICATIONS publish_status = { "GET": ApiPublishStatus.PUBLIC, "POST": ApiPublishStatus.PUBLIC, diff --git a/src/sentry/notifications/api/endpoints/notification_defaults.py b/src/sentry/notifications/api/endpoints/notification_defaults.py index 2a9684f9143b1e..54ddfa87b60994 100644 --- a/src/sentry/notifications/api/endpoints/notification_defaults.py +++ b/src/sentry/notifications/api/endpoints/notification_defaults.py @@ -15,7 +15,7 @@ class NotificationDefaultsEndpoints(Endpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.NOTIFICATIONS permission_classes = () def get(self, request: Request) -> Response: diff --git a/src/sentry/notifications/api/endpoints/user_notification_details.py b/src/sentry/notifications/api/endpoints/user_notification_details.py index 6ddeb967850e0e..d03394343ad6b6 100644 --- a/src/sentry/notifications/api/endpoints/user_notification_details.py +++ b/src/sentry/notifications/api/endpoints/user_notification_details.py @@ -55,7 +55,7 @@ class UserNotificationDetailsSerializer(serializers.Serializer): @control_silo_endpoint class UserNotificationDetailsEndpoint(UserEndpoint): - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.NOTIFICATIONS publish_status = { "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/notifications/api/endpoints/user_notification_email.py b/src/sentry/notifications/api/endpoints/user_notification_email.py index b5f7302b7d22dd..9b76750fc27f30 100644 --- a/src/sentry/notifications/api/endpoints/user_notification_email.py +++ b/src/sentry/notifications/api/endpoints/user_notification_email.py @@ -21,7 +21,7 @@ class UserNotificationEmailEndpoint(UserEndpoint): "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.NOTIFICATIONS def get(self, request: Request, user) -> Response: """ diff --git a/src/sentry/notifications/api/endpoints/user_notification_settings_options.py b/src/sentry/notifications/api/endpoints/user_notification_settings_options.py index f2685a45e2e289..7673759b033686 100644 --- a/src/sentry/notifications/api/endpoints/user_notification_settings_options.py +++ b/src/sentry/notifications/api/endpoints/user_notification_settings_options.py @@ -21,7 +21,7 @@ class UserNotificationSettingsOptionsEndpoint(UserEndpoint): "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.NOTIFICATIONS def get(self, request: Request, user: User) -> Response: """ diff --git a/src/sentry/notifications/api/endpoints/user_notification_settings_options_detail.py b/src/sentry/notifications/api/endpoints/user_notification_settings_options_detail.py index e7f46bcca4207c..ef32dd0a7144b5 100644 --- a/src/sentry/notifications/api/endpoints/user_notification_settings_options_detail.py +++ b/src/sentry/notifications/api/endpoints/user_notification_settings_options_detail.py @@ -16,7 +16,7 @@ class UserNotificationSettingsOptionsDetailEndpoint(UserEndpoint): publish_status = { "DELETE": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.NOTIFICATIONS def convert_args( self, diff --git a/src/sentry/notifications/api/endpoints/user_notification_settings_providers.py b/src/sentry/notifications/api/endpoints/user_notification_settings_providers.py index 758a6916bb847d..377c64907dd688 100644 --- a/src/sentry/notifications/api/endpoints/user_notification_settings_providers.py +++ b/src/sentry/notifications/api/endpoints/user_notification_settings_providers.py @@ -24,7 +24,7 @@ class UserNotificationSettingsProvidersEndpoint(UserEndpoint): "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.NOTIFICATIONS def get(self, request: Request, user: User) -> Response: """ diff --git a/src/sentry/notifications/platform/api/endpoints/internal_registered_templates.py b/src/sentry/notifications/platform/api/endpoints/internal_registered_templates.py index d04fe9af3009af..87de3f3dfc8e5a 100644 --- a/src/sentry/notifications/platform/api/endpoints/internal_registered_templates.py +++ b/src/sentry/notifications/platform/api/endpoints/internal_registered_templates.py @@ -23,7 +23,7 @@ @control_silo_endpoint class InternalRegisteredTemplatesEndpoint(Endpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.NOTIFICATIONS permission_classes = (SentryIsAuthenticated,) publish_status = {"GET": ApiPublishStatus.PRIVATE} diff --git a/src/sentry/seer/endpoints/organization_events_anomalies.py b/src/sentry/seer/endpoints/organization_events_anomalies.py index 53385a13bcc87b..849633bc39eb74 100644 --- a/src/sentry/seer/endpoints/organization_events_anomalies.py +++ b/src/sentry/seer/endpoints/organization_events_anomalies.py @@ -29,7 +29,7 @@ @cell_silo_endpoint class OrganizationEventsAnomaliesEndpoint(OrganizationEventsEndpointBase): - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.ALERTS_MONITORS publish_status = { "POST": ApiPublishStatus.EXPERIMENTAL, } diff --git a/src/sentry/sentry_apps/api/endpoints/group_external_issue_details.py b/src/sentry/sentry_apps/api/endpoints/group_external_issue_details.py index df297eca320928..2a04341c5dd13d 100644 --- a/src/sentry/sentry_apps/api/endpoints/group_external_issue_details.py +++ b/src/sentry/sentry_apps/api/endpoints/group_external_issue_details.py @@ -13,7 +13,7 @@ @cell_silo_endpoint class GroupExternalIssueDetailsEndpoint(GroupEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "DELETE": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/sentry_apps/api/endpoints/group_external_issues.py b/src/sentry/sentry_apps/api/endpoints/group_external_issues.py index 694c5135808c9e..72aa123cfe810e 100644 --- a/src/sentry/sentry_apps/api/endpoints/group_external_issues.py +++ b/src/sentry/sentry_apps/api/endpoints/group_external_issues.py @@ -21,7 +21,7 @@ @extend_schema(tags=["Integration"]) @cell_silo_endpoint class GroupExternalIssuesEndpoint(GroupEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.PROJECT_MANAGEMENT_INTEGRATIONS publish_status = { "GET": ApiPublishStatus.PUBLIC, } diff --git a/src/sentry/sentry_apps/api/endpoints/installation_details.py b/src/sentry/sentry_apps/api/endpoints/installation_details.py index 93b64fa2426c63..ce02fa3c96ba41 100644 --- a/src/sentry/sentry_apps/api/endpoints/installation_details.py +++ b/src/sentry/sentry_apps/api/endpoints/installation_details.py @@ -28,7 +28,7 @@ @control_silo_endpoint class SentryAppInstallationDetailsEndpoint(SentryAppInstallationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "DELETE": ApiPublishStatus.UNKNOWN, "GET": ApiPublishStatus.UNKNOWN, diff --git a/src/sentry/sentry_apps/api/endpoints/installation_external_issue_actions.py b/src/sentry/sentry_apps/api/endpoints/installation_external_issue_actions.py index cd708ba483c19e..e61bfef357e644 100644 --- a/src/sentry/sentry_apps/api/endpoints/installation_external_issue_actions.py +++ b/src/sentry/sentry_apps/api/endpoints/installation_external_issue_actions.py @@ -22,7 +22,7 @@ class SentryAppInstallationExternalIssueActionsSerializer(serializers.Serializer @control_silo_endpoint class SentryAppInstallationExternalIssueActionsEndpoint(SentryAppInstallationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/sentry_apps/api/endpoints/installation_external_issues.py b/src/sentry/sentry_apps/api/endpoints/installation_external_issues.py index 1ec0981996d370..c567f41710448f 100644 --- a/src/sentry/sentry_apps/api/endpoints/installation_external_issues.py +++ b/src/sentry/sentry_apps/api/endpoints/installation_external_issues.py @@ -24,7 +24,7 @@ class PlatformExternalIssueSerializer(serializers.Serializer): @control_silo_endpoint class SentryAppInstallationExternalIssuesEndpoint(ExternalIssueBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "POST": ApiPublishStatus.UNKNOWN, } diff --git a/src/sentry/sentry_apps/api/endpoints/installation_external_requests.py b/src/sentry/sentry_apps/api/endpoints/installation_external_requests.py index 23a94374ae80e7..956c29f853ea0e 100644 --- a/src/sentry/sentry_apps/api/endpoints/installation_external_requests.py +++ b/src/sentry/sentry_apps/api/endpoints/installation_external_requests.py @@ -16,7 +16,7 @@ @control_silo_endpoint class SentryAppInstallationExternalRequestsEndpoint(SentryAppInstallationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/sentry_apps/api/endpoints/installation_service_hook_projects.py b/src/sentry/sentry_apps/api/endpoints/installation_service_hook_projects.py index 35e78fd6e6c883..a4cf1191c1266b 100644 --- a/src/sentry/sentry_apps/api/endpoints/installation_service_hook_projects.py +++ b/src/sentry/sentry_apps/api/endpoints/installation_service_hook_projects.py @@ -48,7 +48,7 @@ def validate_projects(self, value): @control_silo_endpoint class SentryAppInstallationServiceHookProjectsEndpoint(SentryAppInstallationBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/sentry_apps/api/endpoints/organization_sentry_apps.py b/src/sentry/sentry_apps/api/endpoints/organization_sentry_apps.py index e9168ce147c629..dcd63a1d7fb4fa 100644 --- a/src/sentry/sentry_apps/api/endpoints/organization_sentry_apps.py +++ b/src/sentry/sentry_apps/api/endpoints/organization_sentry_apps.py @@ -24,7 +24,7 @@ @extend_schema(tags=["Integration"]) @control_silo_endpoint class OrganizationSentryAppsEndpoint(ControlSiloOrganizationEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PUBLIC, } diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_authorizations.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_authorizations.py index f2d850b8ae37b3..bf3a9cc2cabdd7 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_authorizations.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_authorizations.py @@ -41,7 +41,7 @@ class SentryAppClientSecretJWTSerializer(serializers.Serializer): @control_silo_endpoint class SentryAppAuthorizationsEndpoint(SentryAppAuthorizationsBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_avatar.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_avatar.py index 115bb1655ad7d3..412bb3f350930c 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_avatar.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_avatar.py @@ -13,7 +13,7 @@ @control_silo_endpoint class SentryAppAvatarEndpoint(AvatarMixin[SentryAppAvatar], SentryAppBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_components.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_components.py index efef233bbee2ec..eb270c4f3e6468 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_components.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_components.py @@ -29,7 +29,7 @@ # endpoint that can take project_id or sentry_app_id as a query parameter. @control_silo_endpoint class SentryAppComponentsEndpoint(SentryAppBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } @@ -47,7 +47,7 @@ def get(self, request: Request, sentry_app) -> Response: @control_silo_endpoint class OrganizationSentryAppComponentsEndpoint(ControlSiloOrganizationEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_details.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_details.py index 347fe8e49226e4..80ef385ee24fc0 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_details.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_details.py @@ -55,7 +55,7 @@ class SentryAppDetailsEndpointPermission(SentryAppAndStaffPermission): @extend_schema(tags=["Integration"]) @control_silo_endpoint class SentryAppDetailsEndpoint(SentryAppBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "DELETE": ApiPublishStatus.PUBLIC, "GET": ApiPublishStatus.PUBLIC, diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_features.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_features.py index c4a7ff4efad003..fe68bd20e571fd 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_features.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_features.py @@ -15,7 +15,7 @@ @control_silo_endpoint class SentryAppFeaturesEndpoint(SentryAppBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.UNKNOWN, } diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_installations.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_installations.py index 39cb22e7158b16..13bbfe340e1a1a 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_installations.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_installations.py @@ -33,7 +33,7 @@ class SentryAppInstallationsSerializer(serializers.Serializer): @control_silo_endpoint class SentryAppInstallationsEndpoint(SentryAppInstallationsBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.UNKNOWN, "POST": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_interaction.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_interaction.py index a0655dc730cac6..72375075959073 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_interaction.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_interaction.py @@ -18,7 +18,7 @@ @control_silo_endpoint class SentryAppInteractionEndpoint(CellSentryAppBaseEndpoint, StatsMixin): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_publish_request.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_publish_request.py index 9b775f13ccbb81..6a144ad68fb098 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_publish_request.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_publish_request.py @@ -32,7 +32,7 @@ class SentryAppPublishRequestSerializer(serializers.Serializer): @control_silo_endpoint class SentryAppPublishRequestEndpoint(SentryAppBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "POST": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_rotate_secret.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_rotate_secret.py index af4da3b4eda375..4817c9ec6fdb9a 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_rotate_secret.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_rotate_secret.py @@ -77,7 +77,7 @@ class SentryAppRotateSecretEndpoint(SentryAppBaseEndpoint): publish_status = { "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.INTEGRATION_PLATFORM permission_classes = (SentryAppRotateSecretPermission,) def post(self, request: Request, sentry_app: SentryApp) -> Response: diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_webhook_requests.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_webhook_requests.py index c736fd9abd9b13..ffdbe16b1904f2 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_webhook_requests.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_webhook_requests.py @@ -56,7 +56,7 @@ def validate_end(self, end): @control_silo_endpoint class SentryAppWebhookRequestsEndpoint(SentryAppBaseEndpoint): - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.EXPERIMENTAL, } diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_apps_stats.py b/src/sentry/sentry_apps/api/endpoints/sentry_apps_stats.py index 7f8aae8ad5f161..be6f839a5796f0 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_apps_stats.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_apps_stats.py @@ -14,7 +14,7 @@ @control_silo_endpoint class SentryAppsStatsEndpoint(SentryAppsBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_internal_app_token_details.py b/src/sentry/sentry_apps/api/endpoints/sentry_internal_app_token_details.py index da681fcc9b5cfa..33d2b52ae11941 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_internal_app_token_details.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_internal_app_token_details.py @@ -24,7 +24,7 @@ @control_silo_endpoint class SentryInternalAppTokenDetailsEndpoint(SentryAppBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "DELETE": ApiPublishStatus.PRIVATE, } diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_internal_app_tokens.py b/src/sentry/sentry_apps/api/endpoints/sentry_internal_app_tokens.py index 418267e7036e5d..1ec1f4c68b44aa 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_internal_app_tokens.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_internal_app_tokens.py @@ -26,7 +26,7 @@ @control_silo_endpoint class SentryInternalAppTokensEndpoint(SentryAppBaseEndpoint): - owner = ApiOwner.INTEGRATIONS + owner = ApiOwner.INTEGRATION_PLATFORM publish_status = { "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, diff --git a/src/sentry/users/api/endpoints/authenticator_index.py b/src/sentry/users/api/endpoints/authenticator_index.py index cb227d7ef6b94a..dbd736f5370689 100644 --- a/src/sentry/users/api/endpoints/authenticator_index.py +++ b/src/sentry/users/api/endpoints/authenticator_index.py @@ -16,7 +16,7 @@ class AuthenticatorIndexEndpoint(Endpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (IsAuthenticated,) def get(self, request: Request) -> Response: diff --git a/src/sentry/users/api/endpoints/user_authenticator_details.py b/src/sentry/users/api/endpoints/user_authenticator_details.py index 6f8fa9290226ea..a9cc2868efd60a 100644 --- a/src/sentry/users/api/endpoints/user_authenticator_details.py +++ b/src/sentry/users/api/endpoints/user_authenticator_details.py @@ -30,7 +30,7 @@ class UserAuthenticatorDetailsEndpoint(UserEndpoint): "GET": ApiPublishStatus.PRIVATE, "PUT": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (OrganizationUserPermission,) def _get_device_for_rename( diff --git a/src/sentry/users/api/endpoints/user_authenticator_enroll.py b/src/sentry/users/api/endpoints/user_authenticator_enroll.py index 59eba9f919877d..47f1268b4a79f5 100644 --- a/src/sentry/users/api/endpoints/user_authenticator_enroll.py +++ b/src/sentry/users/api/endpoints/user_authenticator_enroll.py @@ -118,7 +118,7 @@ class UserAuthenticatorEnrollEndpoint(UserEndpoint): "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS @sudo_required def get(self, request: Request, user: User, interface_id: str) -> HttpResponse: diff --git a/src/sentry/users/api/endpoints/user_authenticator_index.py b/src/sentry/users/api/endpoints/user_authenticator_index.py index 0e254f38b138ed..ae5af9dad9fdfa 100644 --- a/src/sentry/users/api/endpoints/user_authenticator_index.py +++ b/src/sentry/users/api/endpoints/user_authenticator_index.py @@ -16,7 +16,7 @@ class UserAuthenticatorIndexEndpoint(UserEndpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS def get(self, request: Request, user: User) -> Response: """Returns all interface for a user (un-enrolled ones), otherwise an empty array""" diff --git a/src/sentry/users/api/endpoints/user_permission_details.py b/src/sentry/users/api/endpoints/user_permission_details.py index beb55d042d718c..ad3bb034554eca 100644 --- a/src/sentry/users/api/endpoints/user_permission_details.py +++ b/src/sentry/users/api/endpoints/user_permission_details.py @@ -25,7 +25,7 @@ class UserPermissionDetailsEndpoint(UserEndpoint): "GET": ApiPublishStatus.PRIVATE, "POST": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS authentication_classes = (SessionAuthentication,) permission_classes = (SuperuserOrStaffFeatureFlaggedPermission,) diff --git a/src/sentry/users/api/endpoints/user_permissions.py b/src/sentry/users/api/endpoints/user_permissions.py index 7ed1142daf0c3b..41abb7debe1217 100644 --- a/src/sentry/users/api/endpoints/user_permissions.py +++ b/src/sentry/users/api/endpoints/user_permissions.py @@ -15,7 +15,7 @@ class UserPermissionsEndpoint(UserEndpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (SuperuserOrStaffFeatureFlaggedPermission,) def get(self, request: Request, user: User) -> Response: diff --git a/src/sentry/users/api/endpoints/user_permissions_config.py b/src/sentry/users/api/endpoints/user_permissions_config.py index e15190352671ee..749d3097c83077 100644 --- a/src/sentry/users/api/endpoints/user_permissions_config.py +++ b/src/sentry/users/api/endpoints/user_permissions_config.py @@ -15,7 +15,7 @@ class UserPermissionsConfigEndpoint(UserEndpoint): publish_status = { "GET": ApiPublishStatus.PRIVATE, } - owner = ApiOwner.ENTERPRISE + owner = ApiOwner.FOUNDATIONS permission_classes = (SuperuserOrStaffFeatureFlaggedPermission,) def get(self, request: Request, user: User) -> Response: diff --git a/src/sentry/workflow_engine/endpoints/organization_detector_details.py b/src/sentry/workflow_engine/endpoints/organization_detector_details.py index 81670ef4761a2d..a4ef668e00ddb6 100644 --- a/src/sentry/workflow_engine/endpoints/organization_detector_details.py +++ b/src/sentry/workflow_engine/endpoints/organization_detector_details.py @@ -152,7 +152,7 @@ def convert_args( "PUT": ApiPublishStatus.PUBLIC, "DELETE": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.ALERTS_MONITORS permission_classes = (OrganizationDetectorPermission,) @extend_schema( diff --git a/src/sentry/workflow_engine/endpoints/organization_project_detector_index.py b/src/sentry/workflow_engine/endpoints/organization_project_detector_index.py index be5d75fdaad0b2..805b60b1ca9e48 100644 --- a/src/sentry/workflow_engine/endpoints/organization_project_detector_index.py +++ b/src/sentry/workflow_engine/endpoints/organization_project_detector_index.py @@ -37,7 +37,7 @@ class OrganizationProjectDetectorIndexEndpoint(ProjectEndpoint): publish_status = { "POST": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.ALERTS_MONITORS permission_classes = (OrganizationProjectDetectorPermission,) @extend_schema( diff --git a/src/sentry/workflow_engine/endpoints/organization_test_fire_action.py b/src/sentry/workflow_engine/endpoints/organization_test_fire_action.py index 80fdd6243dd575..24f57dba601890 100644 --- a/src/sentry/workflow_engine/endpoints/organization_test_fire_action.py +++ b/src/sentry/workflow_engine/endpoints/organization_test_fire_action.py @@ -55,7 +55,7 @@ class OrganizationTestFireActionsEndpoint(OrganizationEndpoint): publish_status = { "POST": ApiPublishStatus.EXPERIMENTAL, } - owner = ApiOwner.ECOSYSTEM + owner = ApiOwner.ALERTS_MONITORS permission_classes = (OrganizationWorkflowPermission,) @extend_schema( diff --git a/src/sentry/workflow_engine/endpoints/organization_workflow_details.py b/src/sentry/workflow_engine/endpoints/organization_workflow_details.py index 7d5d444074e074..2755f3d7af2b48 100644 --- a/src/sentry/workflow_engine/endpoints/organization_workflow_details.py +++ b/src/sentry/workflow_engine/endpoints/organization_workflow_details.py @@ -36,7 +36,7 @@ class OrganizationWorkflowDetailsEndpoint(OrganizationWorkflowEndpoint): "PUT": ApiPublishStatus.PUBLIC, "DELETE": ApiPublishStatus.PUBLIC, } - owner = ApiOwner.ALERTS_NOTIFICATIONS + owner = ApiOwner.ALERTS_MONITORS @extend_schema( operation_id="Fetch an Alert",