controlsiloUrlPatterns.ts 8.6 KB

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