@tailor-platform/sdk 2.32.0 → 2.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/dist/ai/index.d.mts +1 -3
  3. package/dist/application-CwpOIOTt.mjs +1 -0
  4. package/dist/application-Nce5z46R.mjs +207 -0
  5. package/dist/application-Nce5z46R.mjs.map +1 -0
  6. package/dist/cli/cache/bundle-cache.d.mts +1 -0
  7. package/dist/cli/commands/api/api-call.d.mts +1 -3
  8. package/dist/cli/commands/deploy/aigateway.d.mts +1 -0
  9. package/dist/cli/commands/deploy/app-id-lock.d.mts +1 -3
  10. package/dist/cli/commands/deploy/application.d.mts +1 -0
  11. package/dist/cli/commands/deploy/auth.d.mts +1 -0
  12. package/dist/cli/commands/deploy/config-id-injector.d.mts +1 -3
  13. package/dist/cli/commands/deploy/confirm.d.mts +1 -0
  14. package/dist/cli/commands/deploy/deploy.d.mts +4 -3
  15. package/dist/cli/commands/deploy/executor.d.mts +1 -0
  16. package/dist/cli/commands/deploy/function-registry-types.d.mts +1 -3
  17. package/dist/cli/commands/deploy/function-registry.d.mts +1 -0
  18. package/dist/cli/commands/deploy/idp.d.mts +1 -0
  19. package/dist/cli/commands/deploy/owned-resource.d.mts +3 -0
  20. package/dist/cli/commands/deploy/resolver.d.mts +1 -0
  21. package/dist/cli/commands/deploy/secret-manager.d.mts +1 -0
  22. package/dist/cli/commands/deploy/staticwebsite.d.mts +2 -0
  23. package/dist/cli/commands/deploy/tailordb/plan.d.mts +1 -0
  24. package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +2 -1
  25. package/dist/cli/commands/deploy/workflow.d.mts +1 -0
  26. package/dist/cli/commands/executor/get.d.mts +0 -2
  27. package/dist/cli/commands/executor/jobs.d.mts +0 -2
  28. package/dist/cli/commands/executor/list.d.mts +1 -3
  29. package/dist/cli/commands/executor/transform.d.mts +1 -3
  30. package/dist/cli/commands/executor/trigger.d.mts +0 -2
  31. package/dist/cli/commands/executor/webhook.d.mts +1 -3
  32. package/dist/cli/commands/function/get.d.mts +0 -2
  33. package/dist/cli/commands/function/list.d.mts +0 -2
  34. package/dist/cli/commands/function/transform.d.mts +1 -3
  35. package/dist/cli/commands/generate/options.d.mts +1 -3
  36. package/dist/cli/commands/generate/seed/bundler.d.mts +1 -3
  37. package/dist/cli/commands/generate/service.d.mts +1 -3
  38. package/dist/cli/commands/machineuser/list.d.mts +1 -3
  39. package/dist/cli/commands/machineuser/token.d.mts +1 -3
  40. package/dist/cli/commands/oauth2client/get.d.mts +1 -3
  41. package/dist/cli/commands/oauth2client/list.d.mts +1 -3
  42. package/dist/cli/commands/oauth2client/transform.d.mts +1 -3
  43. package/dist/cli/commands/organization/folder/create.d.mts +0 -2
  44. package/dist/cli/commands/organization/folder/delete.d.mts +0 -2
  45. package/dist/cli/commands/organization/folder/get.d.mts +0 -2
  46. package/dist/cli/commands/organization/folder/list.d.mts +0 -2
  47. package/dist/cli/commands/organization/folder/update.d.mts +0 -2
  48. package/dist/cli/commands/organization/get.d.mts +0 -2
  49. package/dist/cli/commands/organization/list.d.mts +1 -3
  50. package/dist/cli/commands/organization/transform.d.mts +1 -3
  51. package/dist/cli/commands/organization/tree.d.mts +0 -2
  52. package/dist/cli/commands/organization/update.d.mts +0 -2
  53. package/dist/cli/commands/remove.d.mts +1 -3
  54. package/dist/cli/commands/show.d.mts +0 -2
  55. package/dist/cli/commands/staticwebsite/deploy.d.mts +1 -3
  56. package/dist/cli/commands/tailordb/migrate/bundler.d.mts +1 -3
  57. package/dist/cli/commands/tailordb/migrate/config.d.mts +1 -3
  58. package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +0 -2
  59. package/dist/cli/commands/tailordb/migrate/generate.d.mts +1 -3
  60. package/dist/cli/commands/tailordb/migrate/rename-detection.d.mts +1 -3
  61. package/dist/cli/commands/tailordb/migrate/snapshot-comparison.d.mts +1 -3
  62. package/dist/cli/commands/tailordb/migrate/snapshot-files.d.mts +1 -3
  63. package/dist/cli/commands/tailordb/migrate/snapshot-local.d.mts +1 -3
  64. package/dist/cli/commands/tailordb/migrate/snapshot-migrations.d.mts +1 -3
  65. package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +0 -2
  66. package/dist/cli/commands/tailordb/migrate/types.d.mts +1 -3
  67. package/dist/cli/commands/tailordb/truncate.d.mts +1 -3
  68. package/dist/cli/commands/workflow/executions.d.mts +0 -2
  69. package/dist/cli/commands/workflow/get.d.mts +0 -2
  70. package/dist/cli/commands/workflow/list.d.mts +1 -3
  71. package/dist/cli/commands/workflow/resume.d.mts +1 -3
  72. package/dist/cli/commands/workflow/start.d.mts +0 -2
  73. package/dist/cli/commands/workflow/status.d.mts +1 -3
  74. package/dist/cli/commands/workflow/transform.d.mts +1 -3
  75. package/dist/cli/commands/workflow/wait.d.mts +1 -3
  76. package/dist/cli/commands/workflow/waiter.d.mts +1 -3
  77. package/dist/cli/commands/workspace/app/health.d.mts +0 -2
  78. package/dist/cli/commands/workspace/app/list.d.mts +0 -2
  79. package/dist/cli/commands/workspace/app/transform.d.mts +1 -3
  80. package/dist/cli/commands/workspace/create.d.mts +0 -2
  81. package/dist/cli/commands/workspace/delete.d.mts +0 -2
  82. package/dist/cli/commands/workspace/expiry.d.mts +1 -3
  83. package/dist/cli/commands/workspace/get.d.mts +0 -2
  84. package/dist/cli/commands/workspace/list.d.mts +1 -3
  85. package/dist/cli/commands/workspace/restore.d.mts +0 -2
  86. package/dist/cli/commands/workspace/transform.d.mts +1 -3
  87. package/dist/cli/commands/workspace/user/invite.d.mts +0 -2
  88. package/dist/cli/commands/workspace/user/list.d.mts +0 -2
  89. package/dist/cli/commands/workspace/user/remove.d.mts +0 -2
  90. package/dist/cli/commands/workspace/user/transform.d.mts +1 -3
  91. package/dist/cli/commands/workspace/user/update.d.mts +0 -2
  92. package/dist/cli/lib.d.mts +1 -1
  93. package/dist/cli/lib.mjs +1 -1
  94. package/dist/cli/lib.mjs.map +1 -1
  95. package/dist/cli/main.d.mts +1 -3
  96. package/dist/cli/main.mjs +65 -50
  97. package/dist/cli/main.mjs.map +1 -1
  98. package/dist/cli/query/index.d.mts +0 -2
  99. package/dist/cli/services/application.d.mts +5 -4
  100. package/dist/cli/services/executor/service.d.mts +2 -2
  101. package/dist/cli/services/function-bundle.d.mts +7 -0
  102. package/dist/cli/services/http-adapter/bundler.d.mts +7 -1
  103. package/dist/cli/services/resolver/service.d.mts +2 -1
  104. package/dist/cli/services/workflow/bundler.d.mts +2 -3
  105. package/dist/cli/shared/args.d.mts +0 -2
  106. package/dist/cli/shared/beta.d.mts +1 -3
  107. package/dist/cli/shared/client.d.mts +56 -4
  108. package/dist/cli/shared/command.d.mts +2 -4
  109. package/dist/cli/shared/config-loader.d.mts +2 -4
  110. package/dist/cli/shared/config.d.mts +1 -3
  111. package/dist/cli/shared/context.d.mts +0 -2
  112. package/dist/cli/shared/error-diagnostics.d.mts +1 -3
  113. package/dist/cli/shared/error-json.d.mts +1 -3
  114. package/dist/cli/shared/function-execution.d.mts +1 -3
  115. package/dist/cli/shared/github-actions.d.mts +1 -3
  116. package/dist/cli/shared/logger.d.mts +7 -4
  117. package/dist/cli/shared/platform-bundle-plugin.d.mts +1 -0
  118. package/dist/cli/shared/prompt.d.mts +1 -3
  119. package/dist/cli/shared/readonly-guard.d.mts +0 -2
  120. package/dist/cli/shared/script-executor.d.mts +1 -3
  121. package/dist/cli/shared/seed-chunker.d.mts +1 -3
  122. package/dist/cli/shared/seed-context.d.mts +0 -2
  123. package/dist/cli/shared/sourcemap-sources.d.mts +1 -0
  124. package/dist/cli/shared/tailordb-namespaces.d.mts +1 -3
  125. package/dist/cli/shared/type-generator.d.mts +0 -2
  126. package/dist/cli/shared/workspace-name.d.mts +1 -3
  127. package/dist/cli/ts-hook.d.mts +0 -2
  128. package/dist/cli/ts-hook.mjs +0 -113
  129. package/dist/completion/zsh-worker.zsh +26 -6
  130. package/dist/configure/config/index.d.mts +2 -4
  131. package/dist/configure/config/types.d.mts +27 -4
  132. package/dist/configure/index.d.mts +7 -9
  133. package/dist/configure/index.mjs +1 -1
  134. package/dist/configure/services/aigateway/index.d.mts +0 -2
  135. package/dist/configure/services/aigateway/types.d.mts +0 -2
  136. package/dist/configure/services/auth/index.d.mts +0 -2
  137. package/dist/configure/services/auth/types.d.mts +0 -2
  138. package/dist/configure/services/executor/executor.d.mts +0 -2
  139. package/dist/configure/services/executor/operation.d.mts +0 -2
  140. package/dist/configure/services/executor/trigger/event.d.mts +0 -2
  141. package/dist/configure/services/executor/trigger/index.d.mts +0 -2
  142. package/dist/configure/services/executor/trigger/schedule.d.mts +0 -2
  143. package/dist/configure/services/executor/trigger/webhook.d.mts +1 -3
  144. package/dist/configure/services/http-adapter/http-adapter.d.mts +0 -2
  145. package/dist/configure/services/idp/index.d.mts +0 -2
  146. package/dist/configure/services/idp/permission.d.mts +0 -2
  147. package/dist/configure/services/idp/types.d.mts +0 -2
  148. package/dist/configure/services/index.d.mts +5 -5
  149. package/dist/configure/services/resolver/index.d.mts +1 -1
  150. package/dist/configure/services/resolver/permission.d.mts +0 -2
  151. package/dist/configure/services/resolver/resolver.d.mts +1 -3
  152. package/dist/configure/services/resolver/types.d.mts +1 -3
  153. package/dist/configure/services/secrets/index.d.mts +0 -2
  154. package/dist/configure/services/secrets/types.d.mts +0 -2
  155. package/dist/configure/services/staticwebsite/index.d.mts +6 -3
  156. package/dist/configure/services/staticwebsite/types.d.mts +0 -2
  157. package/dist/configure/services/tailordb/permission.d.mts +0 -2
  158. package/dist/configure/services/tailordb/schema.d.mts +0 -2
  159. package/dist/configure/services/tailordb/types.d.mts +0 -2
  160. package/dist/configure/services/workflow/execution-policy.d.mts +0 -2
  161. package/dist/configure/services/workflow/execution-policy.types.d.mts +0 -2
  162. package/dist/configure/services/workflow/job.d.mts +0 -2
  163. package/dist/configure/services/workflow/wait-point.d.mts +0 -2
  164. package/dist/configure/services/workflow/workflow.d.mts +0 -2
  165. package/dist/configure/types/aigateway-name.d.mts +1 -3
  166. package/dist/configure/types/auth-namespace-name.d.mts +1 -3
  167. package/dist/configure/types/connection-name.d.mts +1 -3
  168. package/dist/configure/types/field.d.mts +1 -3
  169. package/dist/configure/types/field.types.d.mts +0 -2
  170. package/dist/configure/types/idp-name.d.mts +1 -3
  171. package/dist/configure/types/permission-operand.types.d.mts +0 -2
  172. package/dist/configure/types/secret-vault-name.d.mts +1 -3
  173. package/dist/configure/types/type.d.mts +0 -2
  174. package/dist/{crashreport-BCIy33Cz.mjs → crashreport-DGU6lwiX.mjs} +2 -2
  175. package/dist/{crashreport-BCIy33Cz.mjs.map → crashreport-DGU6lwiX.mjs.map} +1 -1
  176. package/dist/crashreport-WsYAWARW.mjs +1 -0
  177. package/dist/{logger-RgtbhJ83.mjs → errors-BXmGBX-7.mjs} +6 -3
  178. package/dist/errors-BXmGBX-7.mjs.map +1 -0
  179. package/dist/field-parse-BQhUAbpM.mjs +2 -0
  180. package/dist/{field-parse-C41e3UAF.mjs.map → field-parse-BQhUAbpM.mjs.map} +1 -1
  181. package/dist/guards-CiFVxoXR.mjs +2 -0
  182. package/dist/guards-CiFVxoXR.mjs.map +1 -0
  183. package/dist/kysely/index.d.mts +0 -2
  184. package/dist/{kysely-type-CBwsdx16.mjs → kysely-type-DxyIWXc6.mjs} +3 -3
  185. package/dist/kysely-type-DxyIWXc6.mjs.map +1 -0
  186. package/dist/manager-B813m43t.mjs +2 -0
  187. package/dist/manager-B813m43t.mjs.map +1 -0
  188. package/dist/parser/service/idp/types.d.mts +1 -3
  189. package/dist/parser/service/tailordb/type-source.d.mts +1 -3
  190. package/dist/parser/service/tailordb/types.d.mts +0 -2
  191. package/dist/plugin/builtin/enum-constants/index.d.mts +0 -2
  192. package/dist/plugin/builtin/enum-constants/index.mjs +2 -2
  193. package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -1
  194. package/dist/plugin/builtin/file-utils/index.d.mts +0 -2
  195. package/dist/plugin/builtin/kysely-type/index.d.mts +0 -2
  196. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  197. package/dist/plugin/builtin/seed/index.d.mts +0 -2
  198. package/dist/plugin/builtin/seed/seed-type-processor.d.mts +1 -3
  199. package/dist/plugin/get-generated-table.d.mts +1 -3
  200. package/dist/plugin/index.mjs +1 -1
  201. package/dist/plugin/types.d.mts +3 -2
  202. package/dist/plugin/with-context.d.mts +1 -3
  203. package/dist/register-ts-hook-CtWJL3EO.mjs +1054 -0
  204. package/dist/register-ts-hook-CtWJL3EO.mjs.map +1 -0
  205. package/dist/repl-editor-DkrCZmmg.mjs +2 -0
  206. package/dist/repl-editor-DkrCZmmg.mjs.map +1 -0
  207. package/dist/runtime/aigateway.d.mts +1 -3
  208. package/dist/runtime/authconnection.d.mts +1 -3
  209. package/dist/runtime/context.d.mts +0 -2
  210. package/dist/runtime/date.d.mts +0 -2
  211. package/dist/runtime/field-parse.d.mts +0 -2
  212. package/dist/runtime/file.d.mts +0 -2
  213. package/dist/runtime/globals.d.mts +0 -2
  214. package/dist/runtime/iconv.d.mts +1 -3
  215. package/dist/runtime/idp.d.mts +1 -3
  216. package/dist/runtime/index.d.mts +1 -3
  217. package/dist/runtime/index.mjs +1 -1
  218. package/dist/runtime/logger.d.mts +1 -3
  219. package/dist/runtime/secretmanager.d.mts +1 -3
  220. package/dist/runtime/temporal.d.mts +0 -2
  221. package/dist/runtime/types.d.mts +0 -2
  222. package/dist/runtime/workflow.d.mts +0 -2
  223. package/dist/{schema-B6hJQWp6.mjs → schema-BU1aIQ63.mjs} +2 -2
  224. package/dist/{schema-B6hJQWp6.mjs.map → schema-BU1aIQ63.mjs.map} +1 -1
  225. package/dist/secret-file-BxZ-J_Nz.mjs +2 -0
  226. package/dist/secret-file-BxZ-J_Nz.mjs.map +1 -0
  227. package/dist/seed/idp-user-password.d.mts +0 -2
  228. package/dist/seed/index.d.mts +0 -2
  229. package/dist/service-CaGmqg0r.mjs +2 -0
  230. package/dist/{service-9rwi_I4d.mjs.map → service-CaGmqg0r.mjs.map} +1 -1
  231. package/dist/service-DEq_hdht.mjs +1 -0
  232. package/dist/{service-9SBPNpK8.mjs → service-eeXdVrDK.mjs} +4 -4
  233. package/dist/service-eeXdVrDK.mjs.map +1 -0
  234. package/dist/service_pb-6EkMfdOb.mjs +2 -0
  235. package/dist/service_pb-6EkMfdOb.mjs.map +1 -0
  236. package/dist/service_pb-CsJKokDl.mjs +1 -0
  237. package/dist/shared/src/color.d.mts +1 -3
  238. package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +1 -3
  239. package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +1 -3
  240. package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +1 -3
  241. package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +1 -3
  242. package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +1 -3
  243. package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +1 -3
  244. package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +1 -3
  245. package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +1 -3
  246. package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +1 -3
  247. package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +1 -3
  248. package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +1 -3
  249. package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +1 -3
  250. package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +1 -3
  251. package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +1 -3
  252. package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +1 -3
  253. package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +1 -3
  254. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +6 -5
  255. package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +1 -3
  256. package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +1 -3
  257. package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +1 -3
  258. package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +1 -3
  259. package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +1 -3
  260. package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +1 -3
  261. package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +1 -3
  262. package/dist/tailor-proto/src/tailor/v1/security_pb.d.mts +211 -0
  263. package/dist/tailor-proto/src/tailor/v1/security_resource_pb.d.mts +299 -0
  264. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +201 -11
  265. package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +1 -3
  266. package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +1 -3
  267. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +201 -3
  268. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +88 -3
  269. package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +1 -3
  270. package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +1 -3
  271. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +1 -3
  272. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +1 -3
  273. package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +1 -3
  274. package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +1 -3
  275. package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +1 -3
  276. package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +1 -3
  277. package/dist/types/aigateway.generated.d.mts +1 -3
  278. package/dist/types/app-config.generated.d.mts +1 -3
  279. package/dist/types/auth-connection.generated.d.mts +1 -3
  280. package/dist/types/auth.generated.d.mts +1 -3
  281. package/dist/types/executor.generated.d.mts +1 -3
  282. package/dist/types/field.generated.d.mts +1 -3
  283. package/dist/types/helpers.d.mts +1 -3
  284. package/dist/types/http-adapter.generated.d.mts +1 -3
  285. package/dist/types/idp.generated.d.mts +1 -3
  286. package/dist/types/resolver.generated.d.mts +1 -3
  287. package/dist/types/secrets.generated.d.mts +1 -3
  288. package/dist/types/staticwebsite.generated.d.mts +10 -4
  289. package/dist/types/tailordb.generated.d.mts +1 -3
  290. package/dist/types/workflow.generated.d.mts +1 -3
  291. package/dist/utils/test/index.d.mts +1 -3
  292. package/dist/utils/test/index.mjs +1 -1
  293. package/dist/vitest/date-representation.d.mts +1 -3
  294. package/dist/vitest/environment.d.mts +0 -2
  295. package/dist/vitest/index.d.mts +2 -4
  296. package/dist/vitest/index.mjs +1 -1
  297. package/dist/vitest/index.mjs.map +1 -1
  298. package/dist/vitest/migration-steps.d.mts +1 -3
  299. package/dist/vitest/mock-kysely.d.mts +0 -2
  300. package/dist/vitest/mocks/aigateway.d.mts +0 -2
  301. package/dist/vitest/mocks/authconnection.d.mts +0 -2
  302. package/dist/vitest/mocks/file.d.mts +0 -2
  303. package/dist/vitest/mocks/iconv.d.mts +0 -2
  304. package/dist/vitest/mocks/idp.d.mts +0 -2
  305. package/dist/vitest/mocks/logger.d.mts +0 -2
  306. package/dist/vitest/mocks/secretmanager.d.mts +0 -2
  307. package/dist/vitest/mocks/tailordb-pglite.d.mts +0 -2
  308. package/dist/vitest/mocks/tailordb.d.mts +0 -2
  309. package/dist/vitest/mocks/workflow.d.mts +0 -2
  310. package/dist/vitest/pglite-kysely.d.mts +19 -2
  311. package/dist/vitest/pglite-temporal.d.mts +1 -3
  312. package/dist/vitest/setup.d.mts +0 -2
  313. package/dist/vitest/workflow-local.d.mts +0 -2
  314. package/dist/{workspace_resource_pb-CaoM2npP.mjs → workspace_resource_pb-C4CkoYww.mjs} +2 -2
  315. package/dist/workspace_resource_pb-C4CkoYww.mjs.map +1 -0
  316. package/docs/cli/application.md +2 -1
  317. package/docs/cli/tailordb.md +1 -1
  318. package/docs/cli/user.md +5 -5
  319. package/docs/cli/workspace.md +1 -1
  320. package/docs/cli-reference.md +26 -25
  321. package/docs/configuration.md +13 -2
  322. package/docs/github-actions.md +33 -10
  323. package/docs/plugin/custom.md +34 -0
  324. package/docs/plugin/index.md +1 -0
  325. package/docs/services/secret.md +6 -0
  326. package/docs/services/staticwebsite.md +31 -1
  327. package/docs/services/tailordb/index.md +19 -0
  328. package/docs/services/tailordb/migration.md +35 -12
  329. package/docs/testing.md +2 -2
  330. package/package.json +16 -16
  331. package/dist/application-C2bPmmbh.mjs +0 -1
  332. package/dist/application-D0xNJbag.mjs +0 -199
  333. package/dist/application-D0xNJbag.mjs.map +0 -1
  334. package/dist/crashreport-IN6H7GX3.mjs +0 -1
  335. package/dist/errors-BOF68LJ5.mjs +0 -5
  336. package/dist/errors-BOF68LJ5.mjs.map +0 -1
  337. package/dist/field-parse-C41e3UAF.mjs +0 -2
  338. package/dist/guards-yDXyKC9F.mjs +0 -2
  339. package/dist/guards-yDXyKC9F.mjs.map +0 -1
  340. package/dist/kysely-type-CBwsdx16.mjs.map +0 -1
  341. package/dist/logger-RgtbhJ83.mjs.map +0 -1
  342. package/dist/manager-Bk-7vkwd.mjs +0 -2
  343. package/dist/manager-Bk-7vkwd.mjs.map +0 -1
  344. package/dist/register-ts-hook-_dHIREtU.mjs +0 -1050
  345. package/dist/register-ts-hook-_dHIREtU.mjs.map +0 -1
  346. package/dist/repl-editor-DGJBfIt1.mjs +0 -2
  347. package/dist/repl-editor-DGJBfIt1.mjs.map +0 -1
  348. package/dist/secret-file-C9wp_FCX.mjs +0 -2
  349. package/dist/secret-file-C9wp_FCX.mjs.map +0 -1
  350. package/dist/service-9SBPNpK8.mjs.map +0 -1
  351. package/dist/service-9rwi_I4d.mjs +0 -2
  352. package/dist/service-Ca1WwyIt.mjs +0 -1
  353. package/dist/service_pb-Bbu2QSIr.mjs +0 -2
  354. package/dist/service_pb-Bbu2QSIr.mjs.map +0 -1
  355. package/dist/service_pb-urxAIYHT.mjs +0 -1
  356. package/dist/workspace_resource_pb-CaoM2npP.mjs.map +0 -1
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
2
2
  import { IdPClient, IdPDisableGqlOperations, IdPEmailConfig, IdPLang, IdPPermission, IdPService, IdPUserAuthPolicy } from "./idp_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
- //#region ../tailor-proto/src/tailor/v1/idp_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.ListIdPServicesRequest
8
7
  */
@@ -401,5 +400,4 @@ export declare type DeleteIdPClientResponse = Message<"tailor.v1.DeleteIdPClient
401
400
  * Describes the message tailor.v1.DeleteIdPClientResponse.
402
401
  * Use `create(DeleteIdPClientResponseSchema)` to create a new message.
403
402
  */
404
- export declare const DeleteIdPClientResponseSchema: GenMessage<DeleteIdPClientResponse>;
405
- //#endregion
403
+ export declare const DeleteIdPClientResponseSchema: GenMessage<DeleteIdPClientResponse>;
@@ -2,7 +2,6 @@ import { Namespace } from "./resource_pb.mjs";
2
2
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Message } from "@bufbuild/protobuf";
4
4
  import { Value } from "@bufbuild/protobuf/wkt";
5
- //#region ../tailor-proto/src/tailor/v1/idp_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.IdPService
8
7
  */
@@ -428,5 +427,4 @@ export declare enum IdPLang {
428
427
  * @generated from enum value: ID_P_LANG_JA = 2;
429
428
  */
430
429
  JA = 2
431
- }
432
- //#endregion
430
+ }
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
2
2
  import { Metadata } from "./metadata_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
- //#region ../tailor-proto/src/tailor/v1/metadata_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.SetMetadataRequest
8
7
  */
@@ -118,8 +117,9 @@ export declare type BulkSetMetadataResult = Message<"tailor.v1.BulkSetMetadataRe
118
117
  metadata?: Metadata;
119
118
  };
120
119
  /**
121
- * ListMetadataRequest finds resources in a workspace whose labels match all
122
- * of the given key-value pairs (AND semantics).
120
+ * ListMetadataRequest lists labeled resources in a workspace, optionally
121
+ * narrowed to those whose labels match all of the given key-value pairs (AND
122
+ * semantics).
123
123
  *
124
124
  * @generated from message tailor.v1.ListMetadataRequest
125
125
  */
@@ -129,6 +129,8 @@ export declare type ListMetadataRequest = Message<"tailor.v1.ListMetadataRequest
129
129
  */
130
130
  workspaceId: string;
131
131
  /**
132
+ * When empty, every labeled resource in the workspace matches.
133
+ *
132
134
  * @generated from field: map<string, string> labels = 2;
133
135
  */
134
136
  labels: {
@@ -196,5 +198,4 @@ export declare type ListMetadataResult = Message<"tailor.v1.ListMetadataResult">
196
198
  * @generated from field: tailor.v1.Metadata metadata = 2;
197
199
  */
198
200
  metadata?: Metadata;
199
- };
200
- //#endregion
201
+ };
@@ -1,6 +1,5 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
- //#region ../tailor-proto/src/tailor/v1/metadata_resource_pb.d.ts
4
3
  /**
5
4
  * @generated from message tailor.v1.Metadata
6
5
  */
@@ -11,5 +10,4 @@ export declare type Metadata = Message<"tailor.v1.Metadata"> & {
11
10
  labels: {
12
11
  [key: string]: string;
13
12
  };
14
- };
15
- //#endregion
13
+ };
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
4
- //#region ../tailor-proto/src/tailor/v1/meter_pb.d.ts
5
4
  /**
6
5
  * @generated from message tailor.v1.ListMeterRequestCountsRequest
7
6
  */
@@ -303,5 +302,4 @@ export declare type ListMeterAITokenUsagesResponse_Value = Message<"tailor.v1.Li
303
302
  * @generated from field: int64 count = 3;
304
303
  */
305
304
  count: bigint;
306
- };
307
- //#endregion
305
+ };
@@ -2,7 +2,6 @@ import { Filter, PageDirection } from "./resource_pb.mjs";
2
2
  import { PipelineResolver, PipelineResolverExecutionResult, PipelineService } from "./pipeline_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
- //#region ../tailor-proto/src/tailor/v1/pipeline_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.CreatePipelineServiceRequest
8
7
  */
@@ -585,5 +584,4 @@ export declare enum PipelineResolverExecutionResultView {
585
584
  * @generated from enum value: PIPELINE_RESOLVER_EXECUTION_RESULT_VIEW_FULL = 2;
586
585
  */
587
586
  FULL = 2
588
- }
589
- //#endregion
587
+ }
@@ -3,7 +3,6 @@ import { AuthInvoker } from "./auth_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { JsonObject, Message } from "@bufbuild/protobuf";
5
5
  import { Timestamp } from "@bufbuild/protobuf/wkt";
6
- //#region ../tailor-proto/src/tailor/v1/pipeline_resource_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.PipelineService
9
8
  */
@@ -324,5 +323,4 @@ export declare enum PipelineResolverExecutionResult_ResultStatus {
324
323
  * @generated from enum value: RESULT_STATUS_RETRIED = 4;
325
324
  */
326
325
  RETRIED = 4
327
- }
328
- //#endregion
326
+ }
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Value } from "@bufbuild/protobuf/wkt";
4
- //#region ../tailor-proto/src/tailor/v1/resource_pb.d.ts
5
4
  /**
6
5
  * @generated from message tailor.v1.Namespace
7
6
  */
@@ -107,5 +106,4 @@ export declare enum PageDirection {
107
106
  * @generated from enum value: PAGE_DIRECTION_DESC = 2;
108
107
  */
109
108
  DESC = 2
110
- }
111
- //#endregion
109
+ }
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
2
2
  import { SecretManagerSecret, SecretManagerVault } from "./secret_manager_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
- //#region ../tailor-proto/src/tailor/v1/secret_manager_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.CreateSecretManagerVaultRequest
8
7
  */
@@ -340,5 +339,4 @@ export declare type ListSecretManagerSecretsResponse = Message<"tailor.v1.ListSe
340
339
  * Describes the message tailor.v1.ListSecretManagerSecretsResponse.
341
340
  * Use `create(ListSecretManagerSecretsResponseSchema)` to create a new message.
342
341
  */
343
- export declare const ListSecretManagerSecretsResponseSchema: GenMessage<ListSecretManagerSecretsResponse>;
344
- //#endregion
342
+ export declare const ListSecretManagerSecretsResponseSchema: GenMessage<ListSecretManagerSecretsResponse>;
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
- //#region ../tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.ts
5
4
  /**
6
5
  * @generated from message tailor.v1.SecretManagerVault
7
6
  */
@@ -48,5 +47,4 @@ export declare type SecretValue = Message<"tailor.v1.SecretValue"> & {
48
47
  * @generated from field: string secret_key = 2;
49
48
  */
50
49
  secretKey: string;
51
- };
52
- //#endregion
50
+ };
@@ -0,0 +1,211 @@
1
+ import { PageDirection } from "./resource_pb.mjs";
2
+ import { SecurityCheck, SecurityCheckType, SecurityFinding, SecurityFindingMute, SecurityResource } from "./security_resource_pb.mjs";
3
+ import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
+ import { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * @generated from message tailor.v1.ListOrganizationSecurityChecksRequest
7
+ */
8
+ export declare type ListOrganizationSecurityChecksRequest = Message<"tailor.v1.ListOrganizationSecurityChecksRequest"> & {
9
+ /**
10
+ * @generated from field: string organization_id = 1;
11
+ */
12
+ organizationId: string;
13
+ };
14
+ /**
15
+ * Describes the message tailor.v1.ListOrganizationSecurityChecksRequest.
16
+ * Use `create(ListOrganizationSecurityChecksRequestSchema)` to create a new message.
17
+ */
18
+ export declare const ListOrganizationSecurityChecksRequestSchema: GenMessage<ListOrganizationSecurityChecksRequest>;
19
+ /**
20
+ * @generated from message tailor.v1.ListOrganizationSecurityChecksResponse
21
+ */
22
+ export declare type ListOrganizationSecurityChecksResponse = Message<"tailor.v1.ListOrganizationSecurityChecksResponse"> & {
23
+ /**
24
+ * @generated from field: repeated tailor.v1.SecurityCheck checks = 1;
25
+ */
26
+ checks: SecurityCheck[];
27
+ };
28
+ /**
29
+ * Describes the message tailor.v1.ListOrganizationSecurityChecksResponse.
30
+ * Use `create(ListOrganizationSecurityChecksResponseSchema)` to create a new message.
31
+ */
32
+ export declare const ListOrganizationSecurityChecksResponseSchema: GenMessage<ListOrganizationSecurityChecksResponse>;
33
+ /**
34
+ * @generated from message tailor.v1.ListOrganizationSecurityFindingsRequest
35
+ */
36
+ export declare type ListOrganizationSecurityFindingsRequest = Message<"tailor.v1.ListOrganizationSecurityFindingsRequest"> & {
37
+ /**
38
+ * @generated from field: string page_token = 1;
39
+ */
40
+ pageToken: string;
41
+ /**
42
+ * @generated from field: uint32 page_size = 2;
43
+ */
44
+ pageSize: number;
45
+ /**
46
+ * @generated from field: tailor.v1.PageDirection page_direction = 3;
47
+ */
48
+ pageDirection: PageDirection;
49
+ /**
50
+ * @generated from field: string organization_id = 4;
51
+ */
52
+ organizationId: string;
53
+ /**
54
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 5;
55
+ */
56
+ checkType: SecurityCheckType;
57
+ /**
58
+ * @generated from field: string workspace_id = 6;
59
+ */
60
+ workspaceId: string;
61
+ /**
62
+ * @generated from field: bool include_muted = 7;
63
+ */
64
+ includeMuted: boolean;
65
+ };
66
+ /**
67
+ * Describes the message tailor.v1.ListOrganizationSecurityFindingsRequest.
68
+ * Use `create(ListOrganizationSecurityFindingsRequestSchema)` to create a new message.
69
+ */
70
+ export declare const ListOrganizationSecurityFindingsRequestSchema: GenMessage<ListOrganizationSecurityFindingsRequest>;
71
+ /**
72
+ * @generated from message tailor.v1.ListOrganizationSecurityFindingsResponse
73
+ */
74
+ export declare type ListOrganizationSecurityFindingsResponse = Message<"tailor.v1.ListOrganizationSecurityFindingsResponse"> & {
75
+ /**
76
+ * @generated from field: string next_page_token = 1;
77
+ */
78
+ nextPageToken: string;
79
+ /**
80
+ * @generated from field: int64 total_count = 2;
81
+ */
82
+ totalCount: bigint;
83
+ /**
84
+ * @generated from field: repeated tailor.v1.SecurityFinding findings = 3;
85
+ */
86
+ findings: SecurityFinding[];
87
+ };
88
+ /**
89
+ * Describes the message tailor.v1.ListOrganizationSecurityFindingsResponse.
90
+ * Use `create(ListOrganizationSecurityFindingsResponseSchema)` to create a new message.
91
+ */
92
+ export declare const ListOrganizationSecurityFindingsResponseSchema: GenMessage<ListOrganizationSecurityFindingsResponse>;
93
+ /**
94
+ * @generated from message tailor.v1.CreateOrganizationSecurityFindingMuteRequest
95
+ */
96
+ export declare type CreateOrganizationSecurityFindingMuteRequest = Message<"tailor.v1.CreateOrganizationSecurityFindingMuteRequest"> & {
97
+ /**
98
+ * @generated from field: string organization_id = 1;
99
+ */
100
+ organizationId: string;
101
+ /**
102
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 2;
103
+ */
104
+ checkType: SecurityCheckType;
105
+ /**
106
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
107
+ */
108
+ resource?: SecurityResource;
109
+ /**
110
+ * @generated from field: string reason = 4;
111
+ */
112
+ reason: string;
113
+ };
114
+ /**
115
+ * Describes the message tailor.v1.CreateOrganizationSecurityFindingMuteRequest.
116
+ * Use `create(CreateOrganizationSecurityFindingMuteRequestSchema)` to create a new message.
117
+ */
118
+ export declare const CreateOrganizationSecurityFindingMuteRequestSchema: GenMessage<CreateOrganizationSecurityFindingMuteRequest>;
119
+ /**
120
+ * @generated from message tailor.v1.CreateOrganizationSecurityFindingMuteResponse
121
+ */
122
+ export declare type CreateOrganizationSecurityFindingMuteResponse = Message<"tailor.v1.CreateOrganizationSecurityFindingMuteResponse"> & {
123
+ /**
124
+ * @generated from field: tailor.v1.SecurityFindingMute mute = 1;
125
+ */
126
+ mute?: SecurityFindingMute;
127
+ };
128
+ /**
129
+ * Describes the message tailor.v1.CreateOrganizationSecurityFindingMuteResponse.
130
+ * Use `create(CreateOrganizationSecurityFindingMuteResponseSchema)` to create a new message.
131
+ */
132
+ export declare const CreateOrganizationSecurityFindingMuteResponseSchema: GenMessage<CreateOrganizationSecurityFindingMuteResponse>;
133
+ /**
134
+ * @generated from message tailor.v1.DeleteOrganizationSecurityFindingMuteRequest
135
+ */
136
+ export declare type DeleteOrganizationSecurityFindingMuteRequest = Message<"tailor.v1.DeleteOrganizationSecurityFindingMuteRequest"> & {
137
+ /**
138
+ * @generated from field: string organization_id = 1;
139
+ */
140
+ organizationId: string;
141
+ /**
142
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 2;
143
+ */
144
+ checkType: SecurityCheckType;
145
+ /**
146
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
147
+ */
148
+ resource?: SecurityResource;
149
+ };
150
+ /**
151
+ * Describes the message tailor.v1.DeleteOrganizationSecurityFindingMuteRequest.
152
+ * Use `create(DeleteOrganizationSecurityFindingMuteRequestSchema)` to create a new message.
153
+ */
154
+ export declare const DeleteOrganizationSecurityFindingMuteRequestSchema: GenMessage<DeleteOrganizationSecurityFindingMuteRequest>;
155
+ /**
156
+ * @generated from message tailor.v1.DeleteOrganizationSecurityFindingMuteResponse
157
+ */
158
+ export declare type DeleteOrganizationSecurityFindingMuteResponse = Message<"tailor.v1.DeleteOrganizationSecurityFindingMuteResponse"> & {};
159
+ /**
160
+ * Describes the message tailor.v1.DeleteOrganizationSecurityFindingMuteResponse.
161
+ * Use `create(DeleteOrganizationSecurityFindingMuteResponseSchema)` to create a new message.
162
+ */
163
+ export declare const DeleteOrganizationSecurityFindingMuteResponseSchema: GenMessage<DeleteOrganizationSecurityFindingMuteResponse>;
164
+ /**
165
+ * @generated from message tailor.v1.ListOrganizationSecurityFindingMutesRequest
166
+ */
167
+ export declare type ListOrganizationSecurityFindingMutesRequest = Message<"tailor.v1.ListOrganizationSecurityFindingMutesRequest"> & {
168
+ /**
169
+ * @generated from field: string page_token = 1;
170
+ */
171
+ pageToken: string;
172
+ /**
173
+ * @generated from field: uint32 page_size = 2;
174
+ */
175
+ pageSize: number;
176
+ /**
177
+ * @generated from field: tailor.v1.PageDirection page_direction = 3;
178
+ */
179
+ pageDirection: PageDirection;
180
+ /**
181
+ * @generated from field: string organization_id = 4;
182
+ */
183
+ organizationId: string;
184
+ };
185
+ /**
186
+ * Describes the message tailor.v1.ListOrganizationSecurityFindingMutesRequest.
187
+ * Use `create(ListOrganizationSecurityFindingMutesRequestSchema)` to create a new message.
188
+ */
189
+ export declare const ListOrganizationSecurityFindingMutesRequestSchema: GenMessage<ListOrganizationSecurityFindingMutesRequest>;
190
+ /**
191
+ * @generated from message tailor.v1.ListOrganizationSecurityFindingMutesResponse
192
+ */
193
+ export declare type ListOrganizationSecurityFindingMutesResponse = Message<"tailor.v1.ListOrganizationSecurityFindingMutesResponse"> & {
194
+ /**
195
+ * @generated from field: string next_page_token = 1;
196
+ */
197
+ nextPageToken: string;
198
+ /**
199
+ * @generated from field: int64 total_count = 2;
200
+ */
201
+ totalCount: bigint;
202
+ /**
203
+ * @generated from field: repeated tailor.v1.SecurityFindingMute mutes = 3;
204
+ */
205
+ mutes: SecurityFindingMute[];
206
+ };
207
+ /**
208
+ * Describes the message tailor.v1.ListOrganizationSecurityFindingMutesResponse.
209
+ * Use `create(ListOrganizationSecurityFindingMutesResponseSchema)` to create a new message.
210
+ */
211
+ export declare const ListOrganizationSecurityFindingMutesResponseSchema: GenMessage<ListOrganizationSecurityFindingMutesResponse>;
@@ -0,0 +1,299 @@
1
+ import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import { Message } from "@bufbuild/protobuf";
3
+ import { Timestamp } from "@bufbuild/protobuf/wkt";
4
+ /**
5
+ * @generated from message tailor.v1.TailorDBTypeRef
6
+ */
7
+ export declare type TailorDBTypeRef = Message<"tailor.v1.TailorDBTypeRef"> & {
8
+ /**
9
+ * @generated from field: string namespace = 1;
10
+ */
11
+ namespace: string;
12
+ /**
13
+ * @generated from field: string type = 2;
14
+ */
15
+ type: string;
16
+ };
17
+ /**
18
+ * @generated from message tailor.v1.IdPRef
19
+ */
20
+ export declare type IdPRef = Message<"tailor.v1.IdPRef"> & {
21
+ /**
22
+ * @generated from field: string namespace = 1;
23
+ */
24
+ namespace: string;
25
+ };
26
+ /**
27
+ * @generated from message tailor.v1.ApplicationRef
28
+ */
29
+ export declare type ApplicationRef = Message<"tailor.v1.ApplicationRef"> & {
30
+ /**
31
+ * @generated from field: string name = 1;
32
+ */
33
+ name: string;
34
+ };
35
+ /**
36
+ * @generated from message tailor.v1.MachineUserRef
37
+ */
38
+ export declare type MachineUserRef = Message<"tailor.v1.MachineUserRef"> & {
39
+ /**
40
+ * @generated from field: string name = 1;
41
+ */
42
+ name: string;
43
+ };
44
+ /**
45
+ * @generated from message tailor.v1.OrganizationRef
46
+ */
47
+ export declare type OrganizationRef = Message<"tailor.v1.OrganizationRef"> & {};
48
+ /**
49
+ * @generated from message tailor.v1.SecurityResource
50
+ */
51
+ export declare type SecurityResource = Message<"tailor.v1.SecurityResource"> & {
52
+ /**
53
+ * Empty for organization-scoped resources.
54
+ *
55
+ * @generated from field: string workspace_id = 1;
56
+ */
57
+ workspaceId: string;
58
+ /**
59
+ * Immutable UUID of the resource; the key used for mutes.
60
+ *
61
+ * @generated from field: string resource_id = 2;
62
+ */
63
+ resourceId: string;
64
+ /**
65
+ * Display reference used to link to the resource.
66
+ *
67
+ * @generated from oneof tailor.v1.SecurityResource.ref
68
+ */
69
+ ref: {
70
+ /**
71
+ * @generated from field: tailor.v1.TailorDBTypeRef tailordb_type = 10;
72
+ */
73
+ value: TailorDBTypeRef;
74
+ case: "tailordbType";
75
+ } | {
76
+ /**
77
+ * @generated from field: tailor.v1.IdPRef idp = 11;
78
+ */
79
+ value: IdPRef;
80
+ case: "idp";
81
+ } | {
82
+ /**
83
+ * @generated from field: tailor.v1.ApplicationRef application = 12;
84
+ */
85
+ value: ApplicationRef;
86
+ case: "application";
87
+ } | {
88
+ /**
89
+ * @generated from field: tailor.v1.MachineUserRef machine_user = 14;
90
+ */
91
+ value: MachineUserRef;
92
+ case: "machineUser";
93
+ } | {
94
+ /**
95
+ * @generated from field: tailor.v1.OrganizationRef organization = 17;
96
+ */
97
+ value: OrganizationRef;
98
+ case: "organization";
99
+ } | {
100
+ case: undefined;
101
+ value?: undefined;
102
+ };
103
+ };
104
+ /**
105
+ * @generated from message tailor.v1.SecurityCheck
106
+ */
107
+ export declare type SecurityCheck = Message<"tailor.v1.SecurityCheck"> & {
108
+ /**
109
+ * @generated from field: tailor.v1.SecurityCheckType type = 1;
110
+ */
111
+ type: SecurityCheckType;
112
+ /**
113
+ * @generated from field: tailor.v1.SecuritySeverity severity = 2;
114
+ */
115
+ severity: SecuritySeverity;
116
+ /**
117
+ * @generated from field: string title = 3;
118
+ */
119
+ title: string;
120
+ /**
121
+ * @generated from field: string description = 4;
122
+ */
123
+ description: string;
124
+ /**
125
+ * @generated from field: string remediation = 5;
126
+ */
127
+ remediation: string;
128
+ /**
129
+ * @generated from field: tailor.v1.SecurityCheckStatus status = 6;
130
+ */
131
+ status: SecurityCheckStatus;
132
+ /**
133
+ * Number of unmuted findings.
134
+ *
135
+ * @generated from field: int64 finding_count = 7;
136
+ */
137
+ findingCount: bigint;
138
+ /**
139
+ * @generated from field: int64 muted_finding_count = 8;
140
+ */
141
+ mutedFindingCount: bigint;
142
+ /**
143
+ * @generated from field: google.protobuf.Timestamp evaluated_at = 9;
144
+ */
145
+ evaluatedAt?: Timestamp;
146
+ };
147
+ /**
148
+ * @generated from message tailor.v1.SecurityFinding
149
+ */
150
+ export declare type SecurityFinding = Message<"tailor.v1.SecurityFinding"> & {
151
+ /**
152
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 1;
153
+ */
154
+ checkType: SecurityCheckType;
155
+ /**
156
+ * @generated from field: tailor.v1.SecuritySeverity severity = 2;
157
+ */
158
+ severity: SecuritySeverity;
159
+ /**
160
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
161
+ */
162
+ resource?: SecurityResource;
163
+ /**
164
+ * @generated from field: string detail = 4;
165
+ */
166
+ detail: string;
167
+ /**
168
+ * @generated from field: bool muted = 5;
169
+ */
170
+ muted: boolean;
171
+ /**
172
+ * @generated from field: string mute_reason = 6;
173
+ */
174
+ muteReason: string;
175
+ };
176
+ /**
177
+ * @generated from message tailor.v1.SecurityFindingMute
178
+ */
179
+ export declare type SecurityFindingMute = Message<"tailor.v1.SecurityFindingMute"> & {
180
+ /**
181
+ * @generated from field: string organization_id = 1;
182
+ */
183
+ organizationId: string;
184
+ /**
185
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 2;
186
+ */
187
+ checkType: SecurityCheckType;
188
+ /**
189
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
190
+ */
191
+ resource?: SecurityResource;
192
+ /**
193
+ * @generated from field: string reason = 4;
194
+ */
195
+ reason: string;
196
+ /**
197
+ * @generated from field: string created_by = 5;
198
+ */
199
+ createdBy: string;
200
+ /**
201
+ * @generated from field: google.protobuf.Timestamp create_time = 6;
202
+ */
203
+ createTime?: Timestamp;
204
+ };
205
+ /**
206
+ * SecurityCheckType identifies a security check.
207
+ *
208
+ * @generated from enum tailor.v1.SecurityCheckType
209
+ */
210
+ export declare enum SecurityCheckType {
211
+ /**
212
+ * @generated from enum value: SECURITY_CHECK_TYPE_UNSPECIFIED = 0;
213
+ */
214
+ UNSPECIFIED = 0,
215
+ /**
216
+ * @generated from enum value: SECURITY_CHECK_TYPE_TAILORDB_TYPE_ALLOW_ALL = 1;
217
+ */
218
+ TAILORDB_TYPE_ALLOW_ALL = 1,
219
+ /**
220
+ * @generated from enum value: SECURITY_CHECK_TYPE_IDP_MFA_NOT_REQUIRED = 2;
221
+ */
222
+ IDP_MFA_NOT_REQUIRED = 2,
223
+ /**
224
+ * @generated from enum value: SECURITY_CHECK_TYPE_IDP_EMAIL_DOMAIN_UNRESTRICTED = 3;
225
+ */
226
+ IDP_EMAIL_DOMAIN_UNRESTRICTED = 3,
227
+ /**
228
+ * @generated from enum value: SECURITY_CHECK_TYPE_GATEWAY_CORS_WILDCARD = 4;
229
+ */
230
+ GATEWAY_CORS_WILDCARD = 4,
231
+ /**
232
+ * @generated from enum value: SECURITY_CHECK_TYPE_GATEWAY_INTROSPECTION_ENABLED = 5;
233
+ */
234
+ GATEWAY_INTROSPECTION_ENABLED = 5,
235
+ /**
236
+ * @generated from enum value: SECURITY_CHECK_TYPE_ROUTING_ORG_IP_RESTRICTION_MISSING = 6;
237
+ */
238
+ ROUTING_ORG_IP_RESTRICTION_MISSING = 6,
239
+ /**
240
+ * @generated from enum value: SECURITY_CHECK_TYPE_AUTH_MACHINE_USER_ORPHANED = 7;
241
+ */
242
+ AUTH_MACHINE_USER_ORPHANED = 7,
243
+ /**
244
+ * @generated from enum value: SECURITY_CHECK_TYPE_PAM_MACHINE_USER_ADMIN = 13;
245
+ */
246
+ PAM_MACHINE_USER_ADMIN = 13
247
+ }
248
+ /**
249
+ * @generated from enum tailor.v1.SecuritySeverity
250
+ */
251
+ export declare enum SecuritySeverity {
252
+ /**
253
+ * @generated from enum value: SECURITY_SEVERITY_UNSPECIFIED = 0;
254
+ */
255
+ UNSPECIFIED = 0,
256
+ /**
257
+ * @generated from enum value: SECURITY_SEVERITY_INFO = 1;
258
+ */
259
+ INFO = 1,
260
+ /**
261
+ * @generated from enum value: SECURITY_SEVERITY_LOW = 2;
262
+ */
263
+ LOW = 2,
264
+ /**
265
+ * @generated from enum value: SECURITY_SEVERITY_MEDIUM = 3;
266
+ */
267
+ MEDIUM = 3,
268
+ /**
269
+ * @generated from enum value: SECURITY_SEVERITY_HIGH = 4;
270
+ */
271
+ HIGH = 4
272
+ }
273
+ /**
274
+ * @generated from enum tailor.v1.SecurityCheckStatus
275
+ */
276
+ export declare enum SecurityCheckStatus {
277
+ /**
278
+ * @generated from enum value: SECURITY_CHECK_STATUS_UNSPECIFIED = 0;
279
+ */
280
+ UNSPECIFIED = 0,
281
+ /**
282
+ * No unmuted findings.
283
+ *
284
+ * @generated from enum value: SECURITY_CHECK_STATUS_PASS = 1;
285
+ */
286
+ PASS = 1,
287
+ /**
288
+ * At least one unmuted finding.
289
+ *
290
+ * @generated from enum value: SECURITY_CHECK_STATUS_FAIL = 2;
291
+ */
292
+ FAIL = 2,
293
+ /**
294
+ * The service that evaluates this check did not respond.
295
+ *
296
+ * @generated from enum value: SECURITY_CHECK_STATUS_UNAVAILABLE = 3;
297
+ */
298
+ UNAVAILABLE = 3
299
+ }