controlsiloUrlPatterns.ts 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. // This is generated code.
  2. // To update it run `getsentry django generate_controlsilo_urls --format=js --output=/path/to/thisfile.ts`
  3. const patterns: RegExp[] = [
  4. new RegExp('^remote/heroku/resources(?:/[^/]+)?$'),
  5. new RegExp('^remote/beacon/$'),
  6. new RegExp('^remote/newsletter/unsubscribe/$'),
  7. new RegExp('^remote/github/marketplace/purchase/$'),
  8. new RegExp('^remote/hubspot/webhook/$'),
  9. new RegExp('^remote/channel-provision/account/$'),
  10. new RegExp('^orgredirect/try-business/$'),
  11. new RegExp('^orgredirect/'),
  12. new RegExp('^api/0/staff-auth/$'),
  13. new RegExp('^api/0/signup/$'),
  14. new RegExp('^api/0/audit-logs/$'),
  15. new RegExp('^api/0/_admin/options/$'),
  16. new RegExp('^api/0/billingadmins/$'),
  17. new RegExp('^api/0/employees/$'),
  18. new RegExp('^api/0/beacons/$'),
  19. new RegExp('^api/0/beacons/[^/]+/$'),
  20. new RegExp('^api/0/beacons/[^/]+/checkins/$'),
  21. new RegExp('^api/0/beacons/[^/]+/related-beacons/$'),
  22. new RegExp('^api/0/broadcasts/$'),
  23. new RegExp('^api/0/broadcasts/[^/]+/$'),
  24. new RegExp('^api/0/customers/[^/]+/subscription/usage-logs/$'),
  25. new RegExp('^api/0/customers/[^/]+/policies/$'),
  26. new RegExp('^api/0/customers/[^/]+/migrate-google-domain/$'),
  27. new RegExp('^api/0/users/[^/]+/merge-accounts/$'),
  28. new RegExp('^api/0/organizations/[^/]+/partnership-agreements/$'),
  29. new RegExp('^api/0/policies/$'),
  30. new RegExp('^api/0/policies/[^/]+/$'),
  31. new RegExp('^api/0/policies/[^/]+/revisions/$'),
  32. new RegExp('^api/0/policies/[^/]+/revisions/[^/]+/$'),
  33. new RegExp('^api/0/promocodes/$'),
  34. new RegExp('^api/0/promocodes-external/[^/]+$'),
  35. new RegExp('^api/0/promocodes/[^/]+/$'),
  36. new RegExp('^api/0/promocodes/[^/]+/claimants/$'),
  37. new RegExp('^api/0/gdpr_request/$'),
  38. new RegExp('^api/0/sponsored_account_request/$'),
  39. new RegExp('^api/0/migrate_to_hosted/$'),
  40. new RegExp('^api/0/sponsored_education_account/$'),
  41. new RegExp('^api/0/organizations/[^/]+/broadcasts/$'),
  42. new RegExp('^api/0/auth-details/$'),
  43. new RegExp('^api/0/_admin/instance-level-oauth/$'),
  44. new RegExp('^api/0/_admin/instance-level-oauth/[^/]+/$'),
  45. new RegExp('^_admin/'),
  46. new RegExp('^api/0/organizations/[^/]+/api-keys/$'),
  47. new RegExp('^api/0/organizations/[^/]+/api-keys/[^/]+/$'),
  48. new RegExp('^api/0/organizations/[^/]+/audit-logs/$'),
  49. new RegExp('^api/0/organizations/[^/]+/integrations/$'),
  50. new RegExp('^api/0/organizations/[^/]+/integrations/[^/]+/$'),
  51. new RegExp('^api/0/organizations/[^/]+/sentry-app-installations/$'),
  52. new RegExp('^api/0/organizations/[^/]+/sentry-apps/$'),
  53. new RegExp('^api/0/organizations/[^/]+/sentry-app-components/$'),
  54. new RegExp('^api/0/organizations/[^/]+/org-auth-tokens/$'),
  55. new RegExp('^api/0/organizations/[^/]+/org-auth-tokens/[^/]+/$'),
  56. new RegExp('^api/0/organizations/[^/]+/broadcasts/$'),
  57. new RegExp('^api/0/organizations/[^/]+/region/$'),
  58. new RegExp('^api/0/users/$'),
  59. new RegExp('^api/0/users/[^/]+/$'),
  60. new RegExp('^api/0/users/[^/]+/regions/$'),
  61. new RegExp('^api/0/users/[^/]+/avatar/$'),
  62. new RegExp('^api/0/users/[^/]+/authenticators/$'),
  63. new RegExp('^api/0/users/[^/]+/authenticators/[^/]+/enroll/$'),
  64. new RegExp('^api/0/users/[^/]+/authenticators/[^/]+/[^/]+/$'),
  65. new RegExp('^api/0/users/[^/]+/authenticators/[^/]+/$'),
  66. new RegExp('^api/0/users/[^/]+/emails/$'),
  67. new RegExp('^api/0/users/[^/]+/emails/confirm/$'),
  68. new RegExp('^api/0/users/[^/]+/identities/[^/]+/$'),
  69. new RegExp('^api/0/users/[^/]+/identities/$'),
  70. new RegExp('^api/0/users/[^/]+/ips/$'),
  71. new RegExp('^api/0/users/[^/]+/notifications/$'),
  72. new RegExp('^api/0/users/[^/]+/notifications/email/$'),
  73. new RegExp('^api/0/users/[^/]+/notification-options/$'),
  74. new RegExp('^api/0/users/[^/]+/notification-options/[^/]+/$'),
  75. new RegExp('^api/0/users/[^/]+/notification-providers/$'),
  76. new RegExp('^api/0/users/[^/]+/password/$'),
  77. new RegExp('^api/0/users/[^/]+/permissions/$'),
  78. new RegExp('^api/0/users/[^/]+/permissions/config/$'),
  79. new RegExp('^api/0/users/[^/]+/permissions/[^/]+/$'),
  80. new RegExp('^api/0/users/[^/]+/roles/$'),
  81. new RegExp('^api/0/users/[^/]+/roles/[^/]+/$'),
  82. new RegExp('^api/0/users/[^/]+/social-identities/$'),
  83. new RegExp('^api/0/users/[^/]+/social-identities/[^/]+/$'),
  84. new RegExp('^api/0/users/[^/]+/subscriptions/$'),
  85. new RegExp('^api/0/users/[^/]+/organization-integrations/$'),
  86. new RegExp('^api/0/users/[^/]+/user-identities/$'),
  87. new RegExp('^api/0/users/[^/]+/user-identities/[^/]+/[^/]+/$'),
  88. new RegExp('^api/0/userroles/$'),
  89. new RegExp('^api/0/userroles/[^/]+/$'),
  90. new RegExp('^api/0/sentry-apps/$'),
  91. new RegExp('^api/0/sentry-apps/[^/]+/$'),
  92. new RegExp('^api/0/sentry-apps/[^/]+/features/$'),
  93. new RegExp('^api/0/sentry-apps/[^/]+/components/$'),
  94. new RegExp('^api/0/sentry-apps/[^/]+/avatar/$'),
  95. new RegExp('^api/0/sentry-apps/[^/]+/api-tokens/$'),
  96. new RegExp('^api/0/sentry-apps/[^/]+/api-tokens/[^/]+/$'),
  97. new RegExp('^api/0/sentry-apps/[^/]+/rotate-secret/$'),
  98. new RegExp('^api/0/sentry-apps/[^/]+/stats/$'),
  99. new RegExp('^api/0/sentry-apps/[^/]+/publish-request/$'),
  100. new RegExp('^api/0/sentry-app-installations/[^/]+/$'),
  101. new RegExp('^api/0/sentry-app-installations/[^/]+/authorizations/$'),
  102. new RegExp('^api/0/auth/$'),
  103. new RegExp('^api/0/auth/config/$'),
  104. new RegExp('^api/0/auth/login/$'),
  105. new RegExp('^api/0/auth/validate/$'),
  106. new RegExp('^api/0/broadcasts/$'),
  107. new RegExp('^api/0/broadcasts/[^/]+/$'),
  108. new RegExp('^api/0/assistant/$'),
  109. new RegExp('^api/0/api-applications/$'),
  110. new RegExp('^api/0/api-applications/[^/]+/$'),
  111. new RegExp('^api/0/api-applications/[^/]+/rotate-secret/$'),
  112. new RegExp('^api/0/api-authorizations/$'),
  113. new RegExp('^api/0/api-tokens/$'),
  114. new RegExp('^api/0/authenticators/$'),
  115. new RegExp('^api/0/accept-invite/[^/]+/[^/]+/[^/]+/$'),
  116. new RegExp('^api/0/accept-invite/[^/]+/[^/]+/$'),
  117. new RegExp('^api/0/notification-defaults/$'),
  118. new RegExp('^api/0/sentry-apps-stats/$'),
  119. new RegExp('^api/0/doc-integrations/$'),
  120. new RegExp('^api/0/doc-integrations/[^/]+/$'),
  121. new RegExp('^api/0/doc-integrations/[^/]+/avatar/$'),
  122. new RegExp('^api/0/integration-features/$'),
  123. new RegExp('^api/0/wizard/$'),
  124. new RegExp('^api/0/wizard/[^/]+/$'),
  125. new RegExp('^api/0/internal/health/$'),
  126. new RegExp('^api/0/internal/options/$'),
  127. new RegExp('^api/0/internal/beacon/$'),
  128. new RegExp('^api/0/internal/quotas/$'),
  129. new RegExp('^api/0/internal/queue/tasks/$'),
  130. new RegExp('^api/0/internal/warnings/$'),
  131. new RegExp('^api/0/internal/packages/$'),
  132. new RegExp('^api/0/internal/environment/$'),
  133. new RegExp('^api/0/internal/mail/$'),
  134. new RegExp('^api/0/internal/integration-proxy/$'),
  135. new RegExp('^api/0/internal/rpc/[^/]+/[^/]+/$'),
  136. new RegExp('^api/0/internal/feature-flags/$'),
  137. new RegExp('^api/hooks/mailgun/inbound/'),
  138. new RegExp('^oauth/authorize/$'),
  139. new RegExp('^oauth/token/$'),
  140. new RegExp('^oauth/userinfo/$'),
  141. new RegExp('^saml/acs/[^/]+/$'),
  142. new RegExp('^auth/login/$'),
  143. new RegExp('^auth/login/[^/]+/$'),
  144. new RegExp('^auth/channel/[^/]+/[^/]+/$'),
  145. new RegExp('^auth/link/[^/]+/$'),
  146. new RegExp('^auth/2fa/$'),
  147. new RegExp('^auth/sso/$'),
  148. new RegExp('^auth/logout/$'),
  149. new RegExp('^auth/reactivate/$'),
  150. new RegExp('^auth/register/$'),
  151. new RegExp('^auth/close/$'),
  152. new RegExp('^account/sudo/$'),
  153. new RegExp('^account/user-confirm/[^/]+/$'),
  154. new RegExp('^account/settings/identities/associate/[^/]+/[^/]+/[^/]+/$'),
  155. new RegExp('^account/settings/wizard/[^/]+/$'),
  156. new RegExp('^settings/organization/auth/configure/$'),
  157. new RegExp('^disabled-member/'),
  158. new RegExp('^organizations/[^/]+/auth/configure/$'),
  159. new RegExp('^organizations/[^/]+/integrations/[^/]+/setup/$'),
  160. new RegExp('^organizations/[^/]+/disabled-member/$'),
  161. new RegExp('^avatar/[^/]+/$'),
  162. new RegExp('^sentry-app-avatar/[^/]+/$'),
  163. new RegExp('^doc-integration-avatar/[^/]+/$'),
  164. new RegExp('^extensions/jira/ui-hook/$'),
  165. new RegExp('^extensions/jira/descriptor/$'),
  166. new RegExp('^extensions/jira/installed/$'),
  167. new RegExp('^extensions/jira/uninstalled/$'),
  168. new RegExp('^extensions/jira/search/[^/]+/[^/]+/$'),
  169. new RegExp('^extensions/jira/configure/$'),
  170. new RegExp('^extensions/jira-server/search/[^/]+/[^/]+/$'),
  171. new RegExp('^extensions/slack/event/$'),
  172. new RegExp('^extensions/slack/link-identity/[^/]+/$'),
  173. new RegExp('^extensions/slack/unlink-identity/[^/]+/$'),
  174. new RegExp('^extensions/github/webhook/$'),
  175. new RegExp('^extensions/github/installation/[^/]+/$'),
  176. new RegExp('^extensions/github/search/[^/]+/[^/]+/$'),
  177. new RegExp('^extensions/gitlab/search/[^/]+/[^/]+/$'),
  178. new RegExp('^extensions/vsts/search/[^/]+/[^/]+/$'),
  179. new RegExp('^extensions/vsts/configure/$'),
  180. new RegExp('^extensions/bitbucket/descriptor/$'),
  181. new RegExp('^extensions/bitbucket/installed/$'),
  182. new RegExp('^extensions/bitbucket/uninstalled/$'),
  183. new RegExp('^extensions/bitbucket/search/[^/]+/[^/]+/$'),
  184. new RegExp('^extensions/vercel/delete/$'),
  185. new RegExp('^extensions/vercel/webhook/$'),
  186. new RegExp('^extensions/msteams/webhook/$'),
  187. new RegExp('^extensions/msteams/configure/$'),
  188. new RegExp('^extensions/msteams/link-identity/[^/]+/$'),
  189. new RegExp('^extensions/msteams/unlink-identity/[^/]+/$'),
  190. new RegExp('^extensions/discord/interactions/$'),
  191. new RegExp('^extensions/discord/link-identity/[^/]+/$'),
  192. new RegExp('^extensions/discord/unlink-identity/[^/]+/$'),
  193. new RegExp('^share/(?:group|issue)/[^/]+/$'),
  194. ];
  195. export default patterns;