controlsiloUrlPatterns.ts 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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/github/marketplace/purchase/$'),
  5. new RegExp('^docs/api/user/$'),
  6. new RegExp('^_experiment/log_exposure/$'),
  7. new RegExp('^api/0/audit-logs/$'),
  8. new RegExp('^api/0/_admin/options/$'),
  9. new RegExp('^api/0/billingadmins/$'),
  10. new RegExp('^api/0/beacons/$'),
  11. new RegExp('^api/0/beacons/[^/]+/$'),
  12. new RegExp('^api/0/beacons/[^/]+/checkins/$'),
  13. new RegExp('^api/0/beacons/[^/]+/customers/$'),
  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/[^/]+/sentry-app-installations/$'),
  42. new RegExp('^api/0/organizations/[^/]+/sentry-apps/$'),
  43. new RegExp('^api/0/organizations/[^/]+/sentry-app-components/$'),
  44. new RegExp('^api/0/organizations/[^/]+/org-auth-tokens/$'),
  45. new RegExp('^api/0/organizations/[^/]+/org-auth-tokens/[^/]+/$'),
  46. new RegExp('^api/0/organizations/[^/]+/broadcasts/$'),
  47. new RegExp('^api/0/users/$'),
  48. new RegExp('^api/0/users/[^/]+/$'),
  49. new RegExp('^api/0/users/[^/]+/avatar/$'),
  50. new RegExp('^api/0/users/[^/]+/authenticators/$'),
  51. new RegExp('^api/0/users/[^/]+/authenticators/[^/]+/enroll/$'),
  52. new RegExp('^api/0/users/[^/]+/authenticators/[^/]+/[^/]+/$'),
  53. new RegExp('^api/0/users/[^/]+/authenticators/[^/]+/$'),
  54. new RegExp('^api/0/users/[^/]+/emails/$'),
  55. new RegExp('^api/0/users/[^/]+/emails/confirm/$'),
  56. new RegExp('^api/0/users/[^/]+/identities/[^/]+/$'),
  57. new RegExp('^api/0/users/[^/]+/identities/$'),
  58. new RegExp('^api/0/users/[^/]+/ips/$'),
  59. new RegExp('^api/0/users/[^/]+/notification-settings/$'),
  60. new RegExp('^api/0/users/[^/]+/notifications/$'),
  61. new RegExp('^api/0/users/[^/]+/notifications/[^/]+/$'),
  62. new RegExp('^api/0/users/[^/]+/notification-options/$'),
  63. new RegExp('^api/0/users/[^/]+/notification-options/[^/]+/$'),
  64. new RegExp('^api/0/users/[^/]+/notification-providers/$'),
  65. new RegExp('^api/0/users/[^/]+/password/$'),
  66. new RegExp('^api/0/users/[^/]+/permissions/$'),
  67. new RegExp('^api/0/users/[^/]+/permissions/config/$'),
  68. new RegExp('^api/0/users/[^/]+/permissions/[^/]+/$'),
  69. new RegExp('^api/0/users/[^/]+/roles/$'),
  70. new RegExp('^api/0/users/[^/]+/roles/[^/]+/$'),
  71. new RegExp('^api/0/users/[^/]+/social-identities/$'),
  72. new RegExp('^api/0/users/[^/]+/social-identities/[^/]+/$'),
  73. new RegExp('^api/0/users/[^/]+/subscriptions/$'),
  74. new RegExp('^api/0/users/[^/]+/organization-integrations/$'),
  75. new RegExp('^api/0/users/[^/]+/user-identities/$'),
  76. new RegExp('^api/0/users/[^/]+/user-identities/[^/]+/[^/]+/$'),
  77. new RegExp('^api/0/userroles/$'),
  78. new RegExp('^api/0/userroles/[^/]+/$'),
  79. new RegExp('^api/0/sentry-apps/$'),
  80. new RegExp('^api/0/sentry-apps/[^/]+/$'),
  81. new RegExp('^api/0/sentry-apps/[^/]+/features/$'),
  82. new RegExp('^api/0/sentry-apps/[^/]+/components/$'),
  83. new RegExp('^api/0/sentry-apps/[^/]+/avatar/$'),
  84. new RegExp('^api/0/sentry-apps/[^/]+/api-tokens/$'),
  85. new RegExp('^api/0/sentry-apps/[^/]+/api-tokens/[^/]+/$'),
  86. new RegExp('^api/0/sentry-apps/[^/]+/stats/$'),
  87. new RegExp('^api/0/sentry-apps/[^/]+/publish-request/$'),
  88. new RegExp('^api/0/sentry-app-installations/[^/]+/$'),
  89. new RegExp('^api/0/sentry-app-installations/[^/]+/authorizations/$'),
  90. new RegExp('^api/0/auth/$'),
  91. new RegExp('^api/0/auth/config/$'),
  92. new RegExp('^api/0/auth/login/$'),
  93. new RegExp('^api/0/broadcasts/$'),
  94. new RegExp('^api/0/broadcasts/[^/]+/$'),
  95. new RegExp('^api/0/assistant/$'),
  96. new RegExp('^api/0/api-applications/$'),
  97. new RegExp('^api/0/api-applications/[^/]+/$'),
  98. new RegExp('^api/0/api-applications/[^/]+/rotate-secret/$'),
  99. new RegExp('^api/0/api-authorizations/$'),
  100. new RegExp('^api/0/api-tokens/$'),
  101. new RegExp('^api/0/authenticators/$'),
  102. new RegExp('^api/0/accept-invite/[^/]+/[^/]+/[^/]+/$'),
  103. new RegExp('^api/0/accept-invite/[^/]+/[^/]+/$'),
  104. new RegExp('^api/0/notification-defaults/$'),
  105. new RegExp('^api/0/sentry-apps-stats/$'),
  106. new RegExp('^api/0/doc-integrations/$'),
  107. new RegExp('^api/0/doc-integrations/[^/]+/$'),
  108. new RegExp('^api/0/doc-integrations/[^/]+/avatar/$'),
  109. new RegExp('^api/0/integration-features/$'),
  110. new RegExp('^api/0/internal/health/$'),
  111. new RegExp('^api/0/internal/options/$'),
  112. new RegExp('^api/0/internal/beacon/$'),
  113. new RegExp('^api/0/internal/quotas/$'),
  114. new RegExp('^api/0/internal/queue/tasks/$'),
  115. new RegExp('^api/0/internal/warnings/$'),
  116. new RegExp('^api/0/internal/packages/$'),
  117. new RegExp('^api/0/internal/environment/$'),
  118. new RegExp('^api/0/internal/mail/$'),
  119. new RegExp('^api/0/internal/integration-proxy/\\S*$'),
  120. new RegExp('^api/0/internal/rpc/[^/]+/[^/]+/$'),
  121. new RegExp('^oauth/authorize/$'),
  122. new RegExp('^oauth/userinfo/$'),
  123. new RegExp('^saml/acs/[^/]+/$'),
  124. new RegExp('^auth/login/$'),
  125. new RegExp('^auth/login/[^/]+/$'),
  126. new RegExp('^auth/channel/[^/]+/[^/]+/$'),
  127. new RegExp('^auth/link/[^/]+/$'),
  128. new RegExp('^auth/2fa/$'),
  129. new RegExp('^auth/sso/$'),
  130. new RegExp('^auth/register/$'),
  131. new RegExp('^avatar/[^/]+/$'),
  132. new RegExp('^sentry-app-avatar/[^/]+/$'),
  133. new RegExp('^extensions/jira/ui-hook/$'),
  134. new RegExp('^extensions/jira/descriptor/$'),
  135. new RegExp('^extensions/jira/installed/$'),
  136. new RegExp('^extensions/jira/uninstalled/$'),
  137. new RegExp('^extensions/jira/search/[^/]+/[^/]+/$'),
  138. new RegExp('^extensions/jira/configure/$'),
  139. new RegExp('^extensions/jira-server/issue-updated/[^/]+/$'),
  140. new RegExp('^extensions/jira-server/search/[^/]+/[^/]+/$'),
  141. new RegExp('^extensions/slack/link-identity/[^/]+/$'),
  142. new RegExp('^extensions/slack/unlink-identity/[^/]+/$'),
  143. new RegExp('^extensions/github/search/[^/]+/[^/]+/$'),
  144. new RegExp('^extensions/gitlab/search/[^/]+/[^/]+/$'),
  145. new RegExp('^extensions/vsts/search/[^/]+/[^/]+/$'),
  146. new RegExp('^extensions/vsts/configure/$'),
  147. new RegExp('^extensions/bitbucket/descriptor/$'),
  148. new RegExp('^extensions/bitbucket/installed/$'),
  149. new RegExp('^extensions/bitbucket/uninstalled/$'),
  150. new RegExp('^extensions/bitbucket/search/[^/]+/[^/]+/$'),
  151. new RegExp('^extensions/vercel/delete/$'),
  152. new RegExp('^extensions/vercel/webhook/$'),
  153. new RegExp('^extensions/msteams/configure/$'),
  154. new RegExp('^extensions/msteams/link-identity/[^/]+/$'),
  155. new RegExp('^extensions/msteams/unlink-identity/[^/]+/$'),
  156. new RegExp('^extensions/discord/link-identity/[^/]+/$'),
  157. new RegExp('^extensions/discord/unlink-identity/[^/]+/$'),
  158. new RegExp('^share/(?:group|issue)/[^/]+/$'),
  159. ];
  160. export default patterns;