controlsiloUrlPatterns.ts 8.5 KB

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