controlsiloUrlPatterns.ts 8.1 KB

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