@elastic/schemas 0.7.1 → 0.7.3

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 (1265) hide show
  1. package/lib/cjs/cloud/schemas/add_role_assignments.d.ts +1 -1
  2. package/lib/cjs/cloud/schemas/add_role_assignments.d.ts.map +1 -1
  3. package/lib/cjs/cloud/schemas/add_role_mappings_individually.d.ts +2 -2
  4. package/lib/cjs/cloud/schemas/create_api_key.d.ts +2 -2
  5. package/lib/cjs/cloud/schemas/create_deployment.d.ts +4 -4
  6. package/lib/cjs/cloud/schemas/create_organization_invitations.d.ts +3 -3
  7. package/lib/cjs/cloud/schemas/create_traffic_filter_ruleset_association.d.ts +1 -1
  8. package/lib/cjs/cloud/schemas/create_traffic_filter_ruleset_association.d.ts.map +1 -1
  9. package/lib/cjs/cloud/schemas/definitions/apm.d.ts +52 -52
  10. package/lib/cjs/cloud/schemas/definitions/app.d.ts +52 -52
  11. package/lib/cjs/cloud/schemas/definitions/cluster.d.ts +1 -1
  12. package/lib/cjs/cloud/schemas/definitions/deployment.d.ts +113 -113
  13. package/lib/cjs/cloud/schemas/definitions/elasticsearch.d.ts +111 -111
  14. package/lib/cjs/cloud/schemas/definitions/enterprise.d.ts +52 -52
  15. package/lib/cjs/cloud/schemas/definitions/integrations.d.ts +52 -52
  16. package/lib/cjs/cloud/schemas/definitions/kibana.d.ts +52 -52
  17. package/lib/cjs/cloud/schemas/definitions/misc.d.ts +4 -4
  18. package/lib/cjs/cloud/schemas/definitions/organization.d.ts +4 -4
  19. package/lib/cjs/cloud/schemas/definitions/role.d.ts +1 -1
  20. package/lib/cjs/cloud/schemas/definitions/traffic.d.ts +1 -1
  21. package/lib/cjs/cloud/schemas/enable_deployment_resource_ccr.d.ts +1 -1
  22. package/lib/cjs/cloud/schemas/enable_deployment_resource_ilm.d.ts +1 -1
  23. package/lib/cjs/cloud/schemas/enable_deployment_resource_slm.d.ts +1 -1
  24. package/lib/cjs/cloud/schemas/get_api_key.d.ts +1 -1
  25. package/lib/cjs/cloud/schemas/get_api_keys.d.ts +2 -2
  26. package/lib/cjs/cloud/schemas/get_deployment.d.ts +26 -26
  27. package/lib/cjs/cloud/schemas/get_deployment_apm_resource_info.d.ts +1 -1
  28. package/lib/cjs/cloud/schemas/get_deployment_apm_resource_info.d.ts.map +1 -1
  29. package/lib/cjs/cloud/schemas/get_deployment_appsearch_resource_info.d.ts +1 -1
  30. package/lib/cjs/cloud/schemas/get_deployment_appsearch_resource_info.d.ts.map +1 -1
  31. package/lib/cjs/cloud/schemas/get_deployment_enterprise_search_resource_info.d.ts +1 -1
  32. package/lib/cjs/cloud/schemas/get_deployment_enterprise_search_resource_info.d.ts.map +1 -1
  33. package/lib/cjs/cloud/schemas/get_deployment_es_resource_eligible_remote_clusters.d.ts +13 -13
  34. package/lib/cjs/cloud/schemas/get_deployment_es_resource_info.d.ts +1 -1
  35. package/lib/cjs/cloud/schemas/get_deployment_es_resource_info.d.ts.map +1 -1
  36. package/lib/cjs/cloud/schemas/get_deployment_es_resource_keystore.d.ts +1 -1
  37. package/lib/cjs/cloud/schemas/get_deployment_es_resource_keystore.d.ts.map +1 -1
  38. package/lib/cjs/cloud/schemas/get_deployment_integrations_server_resource_info.d.ts +1 -1
  39. package/lib/cjs/cloud/schemas/get_deployment_integrations_server_resource_info.d.ts.map +1 -1
  40. package/lib/cjs/cloud/schemas/get_deployment_kib_resource_info.d.ts +1 -1
  41. package/lib/cjs/cloud/schemas/get_deployment_kib_resource_info.d.ts.map +1 -1
  42. package/lib/cjs/cloud/schemas/get_deployment_tags.d.ts +1 -1
  43. package/lib/cjs/cloud/schemas/get_deployment_template_v2.d.ts +15 -15
  44. package/lib/cjs/cloud/schemas/get_deployment_templates_v2.d.ts +15 -15
  45. package/lib/cjs/cloud/schemas/get_organization_idp.d.ts +1 -1
  46. package/lib/cjs/cloud/schemas/get_organization_invitation.d.ts +1 -1
  47. package/lib/cjs/cloud/schemas/get_role_mappings.d.ts +1 -1
  48. package/lib/cjs/cloud/schemas/get_traffic_filter_deployment_ruleset_associations.d.ts +1 -1
  49. package/lib/cjs/cloud/schemas/get_traffic_filter_deployment_ruleset_associations.d.ts.map +1 -1
  50. package/lib/cjs/cloud/schemas/get_traffic_filter_ruleset.d.ts +1 -1
  51. package/lib/cjs/cloud/schemas/get_traffic_filter_ruleset_deployment_associations.d.ts +2 -2
  52. package/lib/cjs/cloud/schemas/get_traffic_filter_rulesets.d.ts +2 -2
  53. package/lib/cjs/cloud/schemas/get_trusted_envs.d.ts +3 -3
  54. package/lib/cjs/cloud/schemas/list_deployments.d.ts +6 -6
  55. package/lib/cjs/cloud/schemas/list_organization_invitations.d.ts +1 -1
  56. package/lib/cjs/cloud/schemas/list_organization_members.d.ts +3 -3
  57. package/lib/cjs/cloud/schemas/migrate_deployment_template.d.ts +10 -10
  58. package/lib/cjs/cloud/schemas/remove_role_assignments.d.ts +1 -1
  59. package/lib/cjs/cloud/schemas/remove_role_assignments.d.ts.map +1 -1
  60. package/lib/cjs/cloud/schemas/restart_deployment_es_resource.d.ts +1 -1
  61. package/lib/cjs/cloud/schemas/restart_deployment_stateless_resource.d.ts +1 -1
  62. package/lib/cjs/cloud/schemas/search_deployments.d.ts +13 -13
  63. package/lib/cjs/cloud/schemas/search_eligible_remote_clusters.d.ts +13 -13
  64. package/lib/cjs/cloud/schemas/set_deployment_es_resource_keystore.d.ts +2 -2
  65. package/lib/cjs/cloud/schemas/set_deployment_es_resource_keystore.d.ts.map +1 -1
  66. package/lib/cjs/cloud/schemas/set_deployment_tags.d.ts +2 -2
  67. package/lib/cjs/cloud/schemas/setup_organization_idp.d.ts +3 -3
  68. package/lib/cjs/cloud/schemas/shutdown_deployment.d.ts +2 -2
  69. package/lib/cjs/cloud/schemas/shutdown_deployment_es_resource.d.ts +1 -1
  70. package/lib/cjs/cloud/schemas/shutdown_deployment_stateless_resource.d.ts +1 -1
  71. package/lib/cjs/cloud/schemas/start_deployment_resource_instances.d.ts +1 -1
  72. package/lib/cjs/cloud/schemas/start_deployment_resource_instances_all.d.ts +1 -1
  73. package/lib/cjs/cloud/schemas/start_deployment_resource_instances_all_maintenance_mode.d.ts +1 -1
  74. package/lib/cjs/cloud/schemas/start_deployment_resource_maintenance_mode.d.ts +1 -1
  75. package/lib/cjs/cloud/schemas/stop_deployment_resource_instances.d.ts +1 -1
  76. package/lib/cjs/cloud/schemas/stop_deployment_resource_instances_all.d.ts +1 -1
  77. package/lib/cjs/cloud/schemas/stop_deployment_resource_instances_all_maintenance_mode.d.ts +1 -1
  78. package/lib/cjs/cloud/schemas/stop_deployment_resource_maintenance_mode.d.ts +1 -1
  79. package/lib/cjs/cloud/schemas/update_deployment.d.ts +20 -20
  80. package/lib/cjs/cloud/schemas/update_deployment_es_resource_tier.d.ts +10 -10
  81. package/lib/cjs/cloud/schemas/update_role_mapping.d.ts +1 -1
  82. package/lib/cjs/cloud/schemas/update_role_mappings.d.ts +2 -2
  83. package/lib/cjs/es/json/bulk.request.json +1 -1
  84. package/lib/cjs/es/json/cat.recovery.request.json +1 -1
  85. package/lib/cjs/es/json/delete.request.json +1 -1
  86. package/lib/cjs/es/json/delete_by_query.request.json +1 -1
  87. package/lib/cjs/es/json/index.request.json +1 -1
  88. package/lib/cjs/es/json/indices.recovery.request.json +1 -1
  89. package/lib/cjs/es/json/snapshot.delete.request.json +1 -1
  90. package/lib/cjs/es/json/update.request.json +1 -1
  91. package/lib/cjs/es/json/update_by_query.request.json +1 -1
  92. package/lib/cjs/es/schemas/_types.mapping.d.ts +1 -0
  93. package/lib/cjs/es/schemas/_types.mapping.d.ts.map +1 -1
  94. package/lib/cjs/es/schemas/bulk.d.ts +0 -15
  95. package/lib/cjs/es/schemas/bulk.d.ts.map +1 -1
  96. package/lib/cjs/es/schemas/bulk.js +0 -2
  97. package/lib/cjs/es/schemas/bulk.js.map +1 -1
  98. package/lib/cjs/es/schemas/cat.recovery.d.ts +14 -0
  99. package/lib/cjs/es/schemas/cat.recovery.d.ts.map +1 -1
  100. package/lib/cjs/es/schemas/cat.recovery.js +15 -13
  101. package/lib/cjs/es/schemas/cat.recovery.js.map +1 -1
  102. package/lib/cjs/es/schemas/cluster.get_component_template.d.ts +4 -0
  103. package/lib/cjs/es/schemas/cluster.get_component_template.d.ts.map +1 -1
  104. package/lib/cjs/es/schemas/cluster.put_component_template.d.ts +1 -0
  105. package/lib/cjs/es/schemas/cluster.put_component_template.d.ts.map +1 -1
  106. package/lib/cjs/es/schemas/delete.d.ts +0 -1
  107. package/lib/cjs/es/schemas/delete.d.ts.map +1 -1
  108. package/lib/cjs/es/schemas/delete.js +0 -1
  109. package/lib/cjs/es/schemas/delete.js.map +1 -1
  110. package/lib/cjs/es/schemas/delete_by_query.d.ts +0 -1
  111. package/lib/cjs/es/schemas/delete_by_query.d.ts.map +1 -1
  112. package/lib/cjs/es/schemas/delete_by_query.js +0 -1
  113. package/lib/cjs/es/schemas/delete_by_query.js.map +1 -1
  114. package/lib/cjs/es/schemas/index.d.ts +0 -1
  115. package/lib/cjs/es/schemas/index.d.ts.map +1 -1
  116. package/lib/cjs/es/schemas/index.js +0 -1
  117. package/lib/cjs/es/schemas/index.js.map +1 -1
  118. package/lib/cjs/es/schemas/indices.create.d.ts +1 -0
  119. package/lib/cjs/es/schemas/indices.create.d.ts.map +1 -1
  120. package/lib/cjs/es/schemas/indices.create_from.d.ts +2 -0
  121. package/lib/cjs/es/schemas/indices.create_from.d.ts.map +1 -1
  122. package/lib/cjs/es/schemas/indices.d.ts +3 -0
  123. package/lib/cjs/es/schemas/indices.d.ts.map +1 -1
  124. package/lib/cjs/es/schemas/indices.get.d.ts +1 -0
  125. package/lib/cjs/es/schemas/indices.get.d.ts.map +1 -1
  126. package/lib/cjs/es/schemas/indices.get_data_stream.d.ts +2 -0
  127. package/lib/cjs/es/schemas/indices.get_data_stream.d.ts.map +1 -1
  128. package/lib/cjs/es/schemas/indices.get_data_stream_mappings.d.ts +4 -0
  129. package/lib/cjs/es/schemas/indices.get_data_stream_mappings.d.ts.map +1 -1
  130. package/lib/cjs/es/schemas/indices.get_index_template.d.ts +4 -0
  131. package/lib/cjs/es/schemas/indices.get_index_template.d.ts.map +1 -1
  132. package/lib/cjs/es/schemas/indices.get_mapping.d.ts +4 -0
  133. package/lib/cjs/es/schemas/indices.get_mapping.d.ts.map +1 -1
  134. package/lib/cjs/es/schemas/indices.get_settings.d.ts +1 -0
  135. package/lib/cjs/es/schemas/indices.get_settings.d.ts.map +1 -1
  136. package/lib/cjs/es/schemas/indices.get_template.d.ts +2 -0
  137. package/lib/cjs/es/schemas/indices.get_template.d.ts.map +1 -1
  138. package/lib/cjs/es/schemas/indices.put_data_stream_mappings.d.ts +5 -0
  139. package/lib/cjs/es/schemas/indices.put_data_stream_mappings.d.ts.map +1 -1
  140. package/lib/cjs/es/schemas/indices.put_index_template.d.ts +2 -0
  141. package/lib/cjs/es/schemas/indices.put_index_template.d.ts.map +1 -1
  142. package/lib/cjs/es/schemas/indices.put_mapping.d.ts +3 -0
  143. package/lib/cjs/es/schemas/indices.put_mapping.d.ts.map +1 -1
  144. package/lib/cjs/es/schemas/indices.put_mapping.js +1 -1
  145. package/lib/cjs/es/schemas/indices.put_mapping.js.map +1 -1
  146. package/lib/cjs/es/schemas/indices.put_template.d.ts +1 -0
  147. package/lib/cjs/es/schemas/indices.put_template.d.ts.map +1 -1
  148. package/lib/cjs/es/schemas/indices.recovery.d.ts +7 -0
  149. package/lib/cjs/es/schemas/indices.recovery.d.ts.map +1 -1
  150. package/lib/cjs/es/schemas/indices.recovery.js +8 -7
  151. package/lib/cjs/es/schemas/indices.recovery.js.map +1 -1
  152. package/lib/cjs/es/schemas/indices.rollover.d.ts +1 -0
  153. package/lib/cjs/es/schemas/indices.rollover.d.ts.map +1 -1
  154. package/lib/cjs/es/schemas/indices.simulate_index_template.d.ts +2 -0
  155. package/lib/cjs/es/schemas/indices.simulate_index_template.d.ts.map +1 -1
  156. package/lib/cjs/es/schemas/indices.simulate_template.d.ts +3 -0
  157. package/lib/cjs/es/schemas/indices.simulate_template.d.ts.map +1 -1
  158. package/lib/cjs/es/schemas/monitoring.bulk.d.ts +0 -4
  159. package/lib/cjs/es/schemas/monitoring.bulk.d.ts.map +1 -1
  160. package/lib/cjs/es/schemas/search.d.ts +8 -8
  161. package/lib/cjs/es/schemas/search.d.ts.map +1 -1
  162. package/lib/cjs/es/schemas/search.js +3 -3
  163. package/lib/cjs/es/schemas/search.js.map +1 -1
  164. package/lib/cjs/es/schemas/simulate.ingest.d.ts +8 -0
  165. package/lib/cjs/es/schemas/simulate.ingest.d.ts.map +1 -1
  166. package/lib/cjs/es/schemas/snapshot.delete.js +1 -1
  167. package/lib/cjs/es/schemas/snapshot.delete.js.map +1 -1
  168. package/lib/cjs/es/schemas/text_structure.find_field_structure.d.ts +1 -0
  169. package/lib/cjs/es/schemas/text_structure.find_field_structure.d.ts.map +1 -1
  170. package/lib/cjs/es/schemas/text_structure.find_message_structure.d.ts +1 -0
  171. package/lib/cjs/es/schemas/text_structure.find_message_structure.d.ts.map +1 -1
  172. package/lib/cjs/es/schemas/text_structure.find_structure.d.ts +1 -0
  173. package/lib/cjs/es/schemas/text_structure.find_structure.d.ts.map +1 -1
  174. package/lib/cjs/es/schemas/transform.preview_transform.d.ts +1 -0
  175. package/lib/cjs/es/schemas/transform.preview_transform.d.ts.map +1 -1
  176. package/lib/cjs/es/schemas/update.d.ts +0 -1
  177. package/lib/cjs/es/schemas/update.d.ts.map +1 -1
  178. package/lib/cjs/es/schemas/update.js +0 -1
  179. package/lib/cjs/es/schemas/update.js.map +1 -1
  180. package/lib/cjs/es/schemas/update_by_query.d.ts +0 -1
  181. package/lib/cjs/es/schemas/update_by_query.d.ts.map +1 -1
  182. package/lib/cjs/es/schemas/update_by_query.js +0 -1
  183. package/lib/cjs/es/schemas/update_by_query.js.map +1 -1
  184. package/lib/cjs/kibana/json/agent-builder.get-agent-builder-conversations.request.json +1 -1
  185. package/lib/cjs/kibana/json/agent-builder.post-agent-builder-tools-execute.request.json +1 -1
  186. package/lib/cjs/kibana/json/cases.add-case-comment.request.json +1 -0
  187. package/lib/cjs/kibana/json/cases.create-case-template.request.json +1 -0
  188. package/lib/cjs/kibana/json/cases.create-case.request.json +1 -0
  189. package/lib/cjs/kibana/json/cases.delete-case-comment.request.json +1 -0
  190. package/lib/cjs/kibana/json/cases.delete-case-comments.request.json +1 -0
  191. package/lib/cjs/kibana/json/cases.delete-case-template.request.json +1 -0
  192. package/lib/cjs/kibana/json/cases.find-case-activity.request.json +1 -0
  193. package/lib/cjs/kibana/json/cases.find-case-comments.request.json +1 -0
  194. package/lib/cjs/kibana/json/cases.get-applicable-fields.request.json +1 -0
  195. package/lib/cjs/kibana/json/cases.get-case-alerts.request.json +1 -0
  196. package/lib/cjs/kibana/json/cases.get-case-applicable-fields.request.json +1 -0
  197. package/lib/cjs/kibana/json/cases.get-case-comment.request.json +1 -0
  198. package/lib/cjs/kibana/json/cases.get-case-template.request.json +1 -0
  199. package/lib/cjs/kibana/json/cases.get-case.request.json +1 -0
  200. package/lib/cjs/kibana/json/cases.get-cases-by-alert.request.json +1 -0
  201. package/lib/cjs/kibana/json/cases.push-case.request.json +1 -0
  202. package/lib/cjs/kibana/json/cases.set-case-configuration.request.json +1 -0
  203. package/lib/cjs/kibana/json/cases.update-case-comment.request.json +1 -0
  204. package/lib/cjs/kibana/json/cases.update-case-configuration.request.json +1 -0
  205. package/lib/cjs/kibana/json/cases.update-case-template.request.json +1 -0
  206. package/lib/cjs/kibana/json/cases.update-case.request.json +1 -0
  207. package/lib/cjs/kibana/json/data-streams.get-fleet-data-streams-data.request.json +1 -0
  208. package/lib/cjs/kibana/json/fleet-outputs.post-fleet-outputs.request.json +1 -1
  209. package/lib/cjs/kibana/json/fleet-outputs.put-fleet-outputs-outputid.request.json +1 -1
  210. package/lib/cjs/kibana/json/security-entity-analytics-api.configure-risk-engine-saved-object.request.json +1 -1
  211. package/lib/cjs/kibana/json/security-entity-store.post-security-entity-store-entities-entitytype.request.json +1 -1
  212. package/lib/cjs/kibana/json/security-entity-store.put-security-entity-store-entities-bulk.request.json +1 -1
  213. package/lib/cjs/kibana/json/security-entity-store.put-security-entity-store-entities-entitytype.request.json +1 -1
  214. package/lib/cjs/kibana/schemas/_index.d.ts +24 -23
  215. package/lib/cjs/kibana/schemas/_index.d.ts.map +1 -1
  216. package/lib/cjs/kibana/schemas/_index.js +90 -86
  217. package/lib/cjs/kibana/schemas/_index.js.map +1 -1
  218. package/lib/cjs/kibana/schemas/{add_case_comment_default_space.d.ts → add_case_comment.d.ts} +1 -1
  219. package/lib/cjs/kibana/schemas/add_case_comment.d.ts.map +1 -0
  220. package/lib/cjs/kibana/schemas/{add_case_comment_default_space.js → add_case_comment.js} +1 -1
  221. package/lib/cjs/kibana/schemas/add_case_comment.js.map +1 -0
  222. package/lib/cjs/kibana/schemas/{add_case_file_default_space.d.ts → add_case_file.d.ts} +1 -1
  223. package/lib/cjs/kibana/schemas/add_case_file.d.ts.map +1 -0
  224. package/lib/cjs/kibana/schemas/{add_case_file_default_space.js → add_case_file.js} +1 -1
  225. package/lib/cjs/kibana/schemas/add_case_file.js.map +1 -0
  226. package/lib/{kibana/schemas/create_case_default_space.d.ts → cjs/kibana/schemas/create_case.d.ts} +3 -1
  227. package/lib/cjs/kibana/schemas/create_case.d.ts.map +1 -0
  228. package/lib/cjs/kibana/schemas/{create_case_default_space.js → create_case.js} +7 -4
  229. package/lib/cjs/kibana/schemas/create_case.js.map +1 -0
  230. package/lib/cjs/kibana/schemas/{update_case_template_default_space.d.ts → create_case_template.d.ts} +3 -3
  231. package/lib/cjs/kibana/schemas/create_case_template.d.ts.map +1 -0
  232. package/lib/cjs/kibana/schemas/{create_case_template_default_space.js → create_case_template.js} +3 -3
  233. package/lib/cjs/kibana/schemas/create_case_template.js.map +1 -0
  234. package/lib/cjs/kibana/schemas/endpoint_generate_memory_dump.d.ts +4 -0
  235. package/lib/cjs/kibana/schemas/endpoint_generate_memory_dump.d.ts.map +1 -1
  236. package/lib/cjs/kibana/schemas/endpoint_generate_memory_dump.js +2 -0
  237. package/lib/cjs/kibana/schemas/endpoint_generate_memory_dump.js.map +1 -1
  238. package/lib/cjs/kibana/schemas/{find_case_activity_default_space.d.ts → find_case_activity.d.ts} +5 -5
  239. package/lib/cjs/kibana/schemas/find_case_activity.d.ts.map +1 -0
  240. package/lib/cjs/kibana/schemas/{find_case_activity_default_space.js → find_case_activity.js} +4 -4
  241. package/lib/cjs/kibana/schemas/find_case_activity.js.map +1 -0
  242. package/lib/{kibana/schemas/find_case_comments_default_space.d.ts → cjs/kibana/schemas/find_case_comments.d.ts} +1 -1
  243. package/lib/cjs/kibana/schemas/find_case_comments.d.ts.map +1 -0
  244. package/lib/cjs/kibana/schemas/{find_case_comments_default_space.js → find_case_comments.js} +1 -1
  245. package/lib/cjs/kibana/schemas/find_case_comments.js.map +1 -0
  246. package/lib/{kibana/schemas/find_case_connectors_default_space.d.ts → cjs/kibana/schemas/find_case_connectors.d.ts} +3 -3
  247. package/lib/cjs/kibana/schemas/find_case_connectors.d.ts.map +1 -0
  248. package/lib/cjs/kibana/schemas/{find_case_connectors_default_space.js → find_case_connectors.js} +4 -4
  249. package/lib/cjs/kibana/schemas/find_case_connectors.js.map +1 -0
  250. package/lib/{kibana/schemas/find_cases_default_space.d.ts → cjs/kibana/schemas/find_cases.d.ts} +4 -3
  251. package/lib/cjs/kibana/schemas/find_cases.d.ts.map +1 -0
  252. package/lib/cjs/kibana/schemas/{find_cases_default_space.js → find_cases.js} +4 -4
  253. package/lib/cjs/kibana/schemas/find_cases.js.map +1 -0
  254. package/lib/cjs/kibana/schemas/{get_applicable_fields_default_space.d.ts → get_applicable_fields.d.ts} +1 -1
  255. package/lib/cjs/kibana/schemas/get_applicable_fields.d.ts.map +1 -0
  256. package/lib/cjs/kibana/schemas/{get_applicable_fields_default_space.js → get_applicable_fields.js} +1 -1
  257. package/lib/cjs/kibana/schemas/get_applicable_fields.js.map +1 -0
  258. package/lib/{kibana/schemas/get_case_default_space.d.ts → cjs/kibana/schemas/get_case.d.ts} +1 -1
  259. package/lib/cjs/kibana/schemas/get_case.d.ts.map +1 -0
  260. package/lib/cjs/kibana/schemas/{get_case_default_space.js → get_case.js} +1 -1
  261. package/lib/cjs/kibana/schemas/get_case.js.map +1 -0
  262. package/lib/cjs/kibana/schemas/{get_case_alerts_default_space.d.ts → get_case_alerts.d.ts} +3 -3
  263. package/lib/cjs/kibana/schemas/get_case_alerts.d.ts.map +1 -0
  264. package/lib/cjs/kibana/schemas/{get_case_alerts_default_space.js → get_case_alerts.js} +3 -3
  265. package/lib/cjs/kibana/schemas/get_case_alerts.js.map +1 -0
  266. package/lib/{kibana/schemas/get_applicable_fields_default_space.d.ts → cjs/kibana/schemas/get_case_applicable_fields.d.ts} +1 -1
  267. package/lib/cjs/kibana/schemas/get_case_applicable_fields.d.ts.map +1 -0
  268. package/lib/cjs/kibana/schemas/{get_case_applicable_fields_default_space.js → get_case_applicable_fields.js} +1 -1
  269. package/lib/cjs/kibana/schemas/get_case_applicable_fields.js.map +1 -0
  270. package/lib/{kibana/schemas/get_case_comment_default_space.d.ts → cjs/kibana/schemas/get_case_comment.d.ts} +3 -3
  271. package/lib/cjs/kibana/schemas/get_case_comment.d.ts.map +1 -0
  272. package/lib/cjs/kibana/schemas/{get_case_comment_default_space.js → get_case_comment.js} +3 -3
  273. package/lib/cjs/kibana/schemas/get_case_comment.js.map +1 -0
  274. package/lib/cjs/kibana/schemas/{get_case_configuration_default_space.d.ts → get_case_configuration.d.ts} +3 -3
  275. package/lib/cjs/kibana/schemas/get_case_configuration.d.ts.map +1 -0
  276. package/lib/cjs/kibana/schemas/{get_case_configuration_default_space.js → get_case_configuration.js} +4 -4
  277. package/lib/cjs/kibana/schemas/get_case_configuration.js.map +1 -0
  278. package/lib/cjs/kibana/schemas/get_case_reporters.d.ts +9 -0
  279. package/lib/cjs/kibana/schemas/get_case_reporters.d.ts.map +1 -0
  280. package/lib/cjs/kibana/schemas/{get_case_reporters_default_space.js → get_case_reporters.js} +4 -4
  281. package/lib/cjs/kibana/schemas/get_case_reporters.js.map +1 -0
  282. package/lib/cjs/kibana/schemas/get_case_tags.d.ts +4 -0
  283. package/lib/cjs/kibana/schemas/get_case_tags.d.ts.map +1 -0
  284. package/lib/cjs/kibana/schemas/{get_case_tags_default_space.js → get_case_tags.js} +3 -3
  285. package/lib/cjs/kibana/schemas/get_case_tags.js.map +1 -0
  286. package/lib/cjs/kibana/schemas/{get_case_template_default_space.d.ts → get_case_template.d.ts} +1 -1
  287. package/lib/cjs/kibana/schemas/get_case_template.d.ts.map +1 -0
  288. package/lib/cjs/kibana/schemas/{get_case_template_default_space.js → get_case_template.js} +1 -1
  289. package/lib/cjs/kibana/schemas/get_case_template.js.map +1 -0
  290. package/lib/{kibana/schemas/get_case_templates_default_space.d.ts → cjs/kibana/schemas/get_case_templates.d.ts} +1 -1
  291. package/lib/cjs/kibana/schemas/get_case_templates.d.ts.map +1 -0
  292. package/lib/cjs/kibana/schemas/{get_case_templates_default_space.js → get_case_templates.js} +1 -1
  293. package/lib/cjs/kibana/schemas/get_case_templates.js.map +1 -0
  294. package/lib/cjs/kibana/schemas/{get_cases_by_alert_default_space.d.ts → get_cases_by_alert.d.ts} +3 -3
  295. package/lib/cjs/kibana/schemas/get_cases_by_alert.d.ts.map +1 -0
  296. package/lib/cjs/kibana/schemas/{get_cases_by_alert_default_space.js → get_cases_by_alert.js} +3 -3
  297. package/lib/cjs/kibana/schemas/get_cases_by_alert.js.map +1 -0
  298. package/lib/cjs/kibana/schemas/get_fleet_data_streams_data.d.ts +6 -0
  299. package/lib/cjs/kibana/schemas/get_fleet_data_streams_data.d.ts.map +1 -0
  300. package/lib/cjs/kibana/schemas/get_fleet_data_streams_data.js +18 -0
  301. package/lib/cjs/kibana/schemas/get_fleet_data_streams_data.js.map +1 -0
  302. package/lib/cjs/kibana/schemas/get_fleet_outputs.d.ts +211 -0
  303. package/lib/cjs/kibana/schemas/get_fleet_outputs.d.ts.map +1 -1
  304. package/lib/cjs/kibana/schemas/get_fleet_outputs.js +14 -8
  305. package/lib/cjs/kibana/schemas/get_fleet_outputs.js.map +1 -1
  306. package/lib/cjs/kibana/schemas/get_fleet_outputs_outputid.d.ts +211 -0
  307. package/lib/cjs/kibana/schemas/get_fleet_outputs_outputid.d.ts.map +1 -1
  308. package/lib/cjs/kibana/schemas/get_fleet_outputs_outputid.js +14 -8
  309. package/lib/cjs/kibana/schemas/get_fleet_outputs_outputid.js.map +1 -1
  310. package/lib/cjs/kibana/schemas/get_fleet_settings.d.ts +1 -0
  311. package/lib/cjs/kibana/schemas/get_fleet_settings.d.ts.map +1 -1
  312. package/lib/cjs/kibana/schemas/get_fleet_settings.js +1 -0
  313. package/lib/cjs/kibana/schemas/get_fleet_settings.js.map +1 -1
  314. package/lib/cjs/kibana/schemas/patch_alerting_v2_rules_id.d.ts +1 -1
  315. package/lib/cjs/kibana/schemas/patch_alerting_v2_rules_id.js +1 -1
  316. package/lib/cjs/kibana/schemas/patch_alerting_v2_rules_id.js.map +1 -1
  317. package/lib/cjs/kibana/schemas/post_agent_builder_tools_execute.d.ts +6 -0
  318. package/lib/cjs/kibana/schemas/post_agent_builder_tools_execute.d.ts.map +1 -1
  319. package/lib/cjs/kibana/schemas/post_agent_builder_tools_execute.js +6 -0
  320. package/lib/cjs/kibana/schemas/post_agent_builder_tools_execute.js.map +1 -1
  321. package/lib/cjs/kibana/schemas/post_fleet_outputs.d.ts +631 -0
  322. package/lib/cjs/kibana/schemas/post_fleet_outputs.d.ts.map +1 -1
  323. package/lib/cjs/kibana/schemas/post_fleet_outputs.js +52 -11
  324. package/lib/cjs/kibana/schemas/post_fleet_outputs.js.map +1 -1
  325. package/lib/cjs/kibana/schemas/post_security_entity_store_entities_entitytype.d.ts +4 -0
  326. package/lib/cjs/kibana/schemas/post_security_entity_store_entities_entitytype.d.ts.map +1 -1
  327. package/lib/cjs/kibana/schemas/post_security_entity_store_entities_entitytype.js +4 -0
  328. package/lib/cjs/kibana/schemas/post_security_entity_store_entities_entitytype.js.map +1 -1
  329. package/lib/cjs/kibana/schemas/post_streams_name_content_export.d.ts +1 -1
  330. package/lib/cjs/kibana/schemas/post_streams_name_fork.d.ts +1 -1
  331. package/lib/cjs/kibana/schemas/{push_case_default_space.d.ts → push_case.d.ts} +3 -3
  332. package/lib/cjs/kibana/schemas/push_case.d.ts.map +1 -0
  333. package/lib/cjs/kibana/schemas/{push_case_default_space.js → push_case.js} +3 -3
  334. package/lib/cjs/kibana/schemas/push_case.js.map +1 -0
  335. package/lib/cjs/kibana/schemas/put_fleet_outputs_outputid.d.ts +631 -0
  336. package/lib/cjs/kibana/schemas/put_fleet_outputs_outputid.d.ts.map +1 -1
  337. package/lib/cjs/kibana/schemas/put_fleet_outputs_outputid.js +52 -11
  338. package/lib/cjs/kibana/schemas/put_fleet_outputs_outputid.js.map +1 -1
  339. package/lib/cjs/kibana/schemas/put_fleet_settings.d.ts +1 -0
  340. package/lib/cjs/kibana/schemas/put_fleet_settings.d.ts.map +1 -1
  341. package/lib/cjs/kibana/schemas/put_fleet_settings.js +1 -0
  342. package/lib/cjs/kibana/schemas/put_fleet_settings.js.map +1 -1
  343. package/lib/cjs/kibana/schemas/put_security_entity_store_entities_bulk.d.ts +4 -0
  344. package/lib/cjs/kibana/schemas/put_security_entity_store_entities_bulk.d.ts.map +1 -1
  345. package/lib/cjs/kibana/schemas/put_security_entity_store_entities_bulk.js +4 -0
  346. package/lib/cjs/kibana/schemas/put_security_entity_store_entities_bulk.js.map +1 -1
  347. package/lib/cjs/kibana/schemas/put_security_entity_store_entities_entitytype.d.ts +4 -0
  348. package/lib/cjs/kibana/schemas/put_security_entity_store_entities_entitytype.d.ts.map +1 -1
  349. package/lib/cjs/kibana/schemas/put_security_entity_store_entities_entitytype.js +4 -0
  350. package/lib/cjs/kibana/schemas/put_security_entity_store_entities_entitytype.js.map +1 -1
  351. package/lib/cjs/kibana/schemas/put_streams_name_ingest.d.ts +5 -5
  352. package/lib/cjs/kibana/schemas/schemas/_index.d.ts +2 -2
  353. package/lib/cjs/kibana/schemas/schemas/_index.d.ts.map +1 -1
  354. package/lib/cjs/kibana/schemas/schemas/_index.js +31 -24
  355. package/lib/cjs/kibana/schemas/schemas/_index.js.map +1 -1
  356. package/lib/cjs/kibana/schemas/schemas/kibana.d.ts +616 -60
  357. package/lib/cjs/kibana/schemas/schemas/kibana.d.ts.map +1 -1
  358. package/lib/cjs/kibana/schemas/schemas/kibana.js +336 -39
  359. package/lib/cjs/kibana/schemas/schemas/kibana.js.map +1 -1
  360. package/lib/cjs/kibana/schemas/schemas/misc.d.ts +3 -0
  361. package/lib/cjs/kibana/schemas/schemas/misc.d.ts.map +1 -1
  362. package/lib/cjs/kibana/schemas/schemas/misc.js +4 -2
  363. package/lib/cjs/kibana/schemas/schemas/misc.js.map +1 -1
  364. package/lib/{kibana/schemas/set_case_configuration_default_space.d.ts → cjs/kibana/schemas/set_case_configuration.d.ts} +3 -3
  365. package/lib/cjs/kibana/schemas/set_case_configuration.d.ts.map +1 -0
  366. package/lib/cjs/kibana/schemas/{set_case_configuration_default_space.js → set_case_configuration.js} +4 -4
  367. package/lib/cjs/kibana/schemas/set_case_configuration.js.map +1 -0
  368. package/lib/cjs/kibana/schemas/{update_case_default_space.d.ts → update_case.d.ts} +6 -3
  369. package/lib/cjs/kibana/schemas/update_case.d.ts.map +1 -0
  370. package/lib/cjs/kibana/schemas/{update_case_default_space.js → update_case.js} +8 -5
  371. package/lib/cjs/kibana/schemas/update_case.js.map +1 -0
  372. package/lib/{kibana/schemas/update_case_comment_default_space.d.ts → cjs/kibana/schemas/update_case_comment.d.ts} +1 -1
  373. package/lib/cjs/kibana/schemas/update_case_comment.d.ts.map +1 -0
  374. package/lib/cjs/kibana/schemas/{update_case_comment_default_space.js → update_case_comment.js} +1 -1
  375. package/lib/cjs/kibana/schemas/update_case_comment.js.map +1 -0
  376. package/lib/cjs/kibana/schemas/{update_case_configuration_default_space.d.ts → update_case_configuration.d.ts} +3 -3
  377. package/lib/cjs/kibana/schemas/update_case_configuration.d.ts.map +1 -0
  378. package/lib/cjs/kibana/schemas/{update_case_configuration_default_space.js → update_case_configuration.js} +4 -4
  379. package/lib/cjs/kibana/schemas/update_case_configuration.js.map +1 -0
  380. package/lib/cjs/kibana/schemas/{create_case_template_default_space.d.ts → update_case_template.d.ts} +3 -3
  381. package/lib/cjs/kibana/schemas/update_case_template.d.ts.map +1 -0
  382. package/lib/cjs/kibana/schemas/{update_case_template_default_space.js → update_case_template.js} +3 -3
  383. package/lib/cjs/kibana/schemas/update_case_template.js.map +1 -0
  384. package/lib/cjs/kibana/tools/apis/add_case_comment_default_space.js +3 -3
  385. package/lib/cjs/kibana/tools/apis/add_case_comment_default_space.js.map +1 -1
  386. package/lib/cjs/kibana/tools/apis/add_case_file_default_space.js +1 -1
  387. package/lib/cjs/kibana/tools/apis/add_case_file_default_space.js.map +1 -1
  388. package/lib/cjs/kibana/tools/apis/configure_risk_engine_saved_object.js +1 -1
  389. package/lib/cjs/kibana/tools/apis/configure_risk_engine_saved_object.js.map +1 -1
  390. package/lib/cjs/kibana/tools/apis/create_case_default_space.js +3 -3
  391. package/lib/cjs/kibana/tools/apis/create_case_default_space.js.map +1 -1
  392. package/lib/cjs/kibana/tools/apis/create_case_template_default_space.js +3 -3
  393. package/lib/cjs/kibana/tools/apis/create_case_template_default_space.js.map +1 -1
  394. package/lib/cjs/kibana/tools/apis/delete_case_comment_default_space.js +3 -3
  395. package/lib/cjs/kibana/tools/apis/delete_case_comment_default_space.js.map +1 -1
  396. package/lib/cjs/kibana/tools/apis/delete_case_comments_default_space.js +3 -3
  397. package/lib/cjs/kibana/tools/apis/delete_case_comments_default_space.js.map +1 -1
  398. package/lib/cjs/kibana/tools/apis/delete_case_default_space.js +1 -1
  399. package/lib/cjs/kibana/tools/apis/delete_case_default_space.js.map +1 -1
  400. package/lib/cjs/kibana/tools/apis/delete_case_template_default_space.js +3 -3
  401. package/lib/cjs/kibana/tools/apis/delete_case_template_default_space.js.map +1 -1
  402. package/lib/cjs/kibana/tools/apis/find_case_activity_default_space.js +3 -3
  403. package/lib/cjs/kibana/tools/apis/find_case_activity_default_space.js.map +1 -1
  404. package/lib/cjs/kibana/tools/apis/find_case_comments_default_space.js +3 -3
  405. package/lib/cjs/kibana/tools/apis/find_case_comments_default_space.js.map +1 -1
  406. package/lib/cjs/kibana/tools/apis/find_case_connectors_default_space.js +1 -1
  407. package/lib/cjs/kibana/tools/apis/find_case_connectors_default_space.js.map +1 -1
  408. package/lib/cjs/kibana/tools/apis/find_cases_default_space.js +1 -1
  409. package/lib/cjs/kibana/tools/apis/find_cases_default_space.js.map +1 -1
  410. package/lib/cjs/kibana/tools/apis/get_applicable_fields_default_space.js +3 -3
  411. package/lib/cjs/kibana/tools/apis/get_applicable_fields_default_space.js.map +1 -1
  412. package/lib/cjs/kibana/tools/apis/get_case_alerts_default_space.js +3 -3
  413. package/lib/cjs/kibana/tools/apis/get_case_alerts_default_space.js.map +1 -1
  414. package/lib/cjs/kibana/tools/apis/get_case_applicable_fields_default_space.js +3 -3
  415. package/lib/cjs/kibana/tools/apis/get_case_applicable_fields_default_space.js.map +1 -1
  416. package/lib/cjs/kibana/tools/apis/get_case_comment_default_space.js +3 -3
  417. package/lib/cjs/kibana/tools/apis/get_case_comment_default_space.js.map +1 -1
  418. package/lib/cjs/kibana/tools/apis/get_case_configuration_default_space.js +1 -1
  419. package/lib/cjs/kibana/tools/apis/get_case_configuration_default_space.js.map +1 -1
  420. package/lib/cjs/kibana/tools/apis/get_case_default_space.js +3 -3
  421. package/lib/cjs/kibana/tools/apis/get_case_default_space.js.map +1 -1
  422. package/lib/cjs/kibana/tools/apis/get_case_reporters_default_space.js +1 -1
  423. package/lib/cjs/kibana/tools/apis/get_case_reporters_default_space.js.map +1 -1
  424. package/lib/cjs/kibana/tools/apis/get_case_tags_default_space.js +1 -1
  425. package/lib/cjs/kibana/tools/apis/get_case_tags_default_space.js.map +1 -1
  426. package/lib/cjs/kibana/tools/apis/get_case_template_default_space.js +3 -3
  427. package/lib/cjs/kibana/tools/apis/get_case_template_default_space.js.map +1 -1
  428. package/lib/cjs/kibana/tools/apis/get_case_templates_default_space.js +1 -1
  429. package/lib/cjs/kibana/tools/apis/get_case_templates_default_space.js.map +1 -1
  430. package/lib/cjs/kibana/tools/apis/get_cases_by_alert_default_space.js +3 -3
  431. package/lib/cjs/kibana/tools/apis/get_cases_by_alert_default_space.js.map +1 -1
  432. package/lib/cjs/kibana/tools/apis/get_fleet_data_streams_data.d.ts +3 -0
  433. package/lib/cjs/kibana/tools/apis/get_fleet_data_streams_data.d.ts.map +1 -0
  434. package/lib/cjs/kibana/tools/apis/get_fleet_data_streams_data.js +24 -0
  435. package/lib/cjs/kibana/tools/apis/get_fleet_data_streams_data.js.map +1 -0
  436. package/lib/cjs/kibana/tools/apis/push_case_default_space.js +3 -3
  437. package/lib/cjs/kibana/tools/apis/push_case_default_space.js.map +1 -1
  438. package/lib/cjs/kibana/tools/apis/set_case_configuration_default_space.js +3 -3
  439. package/lib/cjs/kibana/tools/apis/set_case_configuration_default_space.js.map +1 -1
  440. package/lib/cjs/kibana/tools/apis/update_case_comment_default_space.js +3 -3
  441. package/lib/cjs/kibana/tools/apis/update_case_comment_default_space.js.map +1 -1
  442. package/lib/cjs/kibana/tools/apis/update_case_configuration_default_space.js +3 -3
  443. package/lib/cjs/kibana/tools/apis/update_case_configuration_default_space.js.map +1 -1
  444. package/lib/cjs/kibana/tools/apis/update_case_default_space.js +3 -3
  445. package/lib/cjs/kibana/tools/apis/update_case_default_space.js.map +1 -1
  446. package/lib/cjs/kibana/tools/apis/update_case_template_default_space.js +3 -3
  447. package/lib/cjs/kibana/tools/apis/update_case_template_default_space.js.map +1 -1
  448. package/lib/cjs/kibana/tools/index.d.ts.map +1 -1
  449. package/lib/cjs/kibana/tools/index.js +4 -0
  450. package/lib/cjs/kibana/tools/index.js.map +1 -1
  451. package/lib/cjs/kibana/tools/json-manifest.d.ts.map +1 -1
  452. package/lib/cjs/kibana/tools/json-manifest.js +60 -58
  453. package/lib/cjs/kibana/tools/json-manifest.js.map +1 -1
  454. package/lib/cjs/kibana/tools/manifest.d.ts.map +1 -1
  455. package/lib/cjs/kibana/tools/manifest.js +30 -29
  456. package/lib/cjs/kibana/tools/manifest.js.map +1 -1
  457. package/lib/cjs/serverless/json/create_traffic_filter.request.json +1 -1
  458. package/lib/cjs/serverless/json/get_traffic_filter.request.json +1 -1
  459. package/lib/cjs/serverless/json/get_traffic_filter_metadata.request.json +1 -1
  460. package/lib/cjs/serverless/json/list_traffic_filters.request.json +1 -1
  461. package/lib/cjs/serverless/schemas/_index.d.ts +1 -0
  462. package/lib/cjs/serverless/schemas/_index.d.ts.map +1 -1
  463. package/lib/cjs/serverless/schemas/_index.js +3 -1
  464. package/lib/cjs/serverless/schemas/_index.js.map +1 -1
  465. package/lib/cjs/serverless/schemas/get_organization_capabilities.d.ts +8 -0
  466. package/lib/cjs/serverless/schemas/get_organization_capabilities.d.ts.map +1 -0
  467. package/lib/cjs/serverless/schemas/get_organization_capabilities.js +20 -0
  468. package/lib/cjs/serverless/schemas/get_organization_capabilities.js.map +1 -0
  469. package/lib/cjs/serverless/tools/apis/capabilities.d.ts +3 -0
  470. package/lib/cjs/serverless/tools/apis/capabilities.d.ts.map +1 -0
  471. package/lib/cjs/serverless/tools/apis/capabilities.js +18 -0
  472. package/lib/cjs/serverless/tools/apis/capabilities.js.map +1 -0
  473. package/lib/cjs/serverless/tools/index.d.ts.map +1 -1
  474. package/lib/cjs/serverless/tools/index.js +4 -0
  475. package/lib/cjs/serverless/tools/index.js.map +1 -1
  476. package/lib/cjs/serverless/tools/json-manifest.d.ts.map +1 -1
  477. package/lib/cjs/serverless/tools/json-manifest.js +2 -0
  478. package/lib/cjs/serverless/tools/json-manifest.js.map +1 -1
  479. package/lib/cjs/serverless/tools/manifest.d.ts.map +1 -1
  480. package/lib/cjs/serverless/tools/manifest.js +1 -0
  481. package/lib/cjs/serverless/tools/manifest.js.map +1 -1
  482. package/lib/cloud/schemas/add_role_assignments.d.ts +1 -1
  483. package/lib/cloud/schemas/add_role_assignments.d.ts.map +1 -1
  484. package/lib/cloud/schemas/add_role_mappings_individually.d.ts +2 -2
  485. package/lib/cloud/schemas/create_api_key.d.ts +2 -2
  486. package/lib/cloud/schemas/create_deployment.d.ts +4 -4
  487. package/lib/cloud/schemas/create_organization_invitations.d.ts +3 -3
  488. package/lib/cloud/schemas/create_traffic_filter_ruleset_association.d.ts +1 -1
  489. package/lib/cloud/schemas/create_traffic_filter_ruleset_association.d.ts.map +1 -1
  490. package/lib/cloud/schemas/definitions/apm.d.ts +52 -52
  491. package/lib/cloud/schemas/definitions/app.d.ts +52 -52
  492. package/lib/cloud/schemas/definitions/cluster.d.ts +1 -1
  493. package/lib/cloud/schemas/definitions/deployment.d.ts +113 -113
  494. package/lib/cloud/schemas/definitions/elasticsearch.d.ts +111 -111
  495. package/lib/cloud/schemas/definitions/enterprise.d.ts +52 -52
  496. package/lib/cloud/schemas/definitions/integrations.d.ts +52 -52
  497. package/lib/cloud/schemas/definitions/kibana.d.ts +52 -52
  498. package/lib/cloud/schemas/definitions/misc.d.ts +4 -4
  499. package/lib/cloud/schemas/definitions/organization.d.ts +4 -4
  500. package/lib/cloud/schemas/definitions/role.d.ts +1 -1
  501. package/lib/cloud/schemas/definitions/traffic.d.ts +1 -1
  502. package/lib/cloud/schemas/enable_deployment_resource_ccr.d.ts +1 -1
  503. package/lib/cloud/schemas/enable_deployment_resource_ilm.d.ts +1 -1
  504. package/lib/cloud/schemas/enable_deployment_resource_slm.d.ts +1 -1
  505. package/lib/cloud/schemas/get_api_key.d.ts +1 -1
  506. package/lib/cloud/schemas/get_api_keys.d.ts +2 -2
  507. package/lib/cloud/schemas/get_deployment.d.ts +26 -26
  508. package/lib/cloud/schemas/get_deployment_apm_resource_info.d.ts +1 -1
  509. package/lib/cloud/schemas/get_deployment_apm_resource_info.d.ts.map +1 -1
  510. package/lib/cloud/schemas/get_deployment_appsearch_resource_info.d.ts +1 -1
  511. package/lib/cloud/schemas/get_deployment_appsearch_resource_info.d.ts.map +1 -1
  512. package/lib/cloud/schemas/get_deployment_enterprise_search_resource_info.d.ts +1 -1
  513. package/lib/cloud/schemas/get_deployment_enterprise_search_resource_info.d.ts.map +1 -1
  514. package/lib/cloud/schemas/get_deployment_es_resource_eligible_remote_clusters.d.ts +13 -13
  515. package/lib/cloud/schemas/get_deployment_es_resource_info.d.ts +1 -1
  516. package/lib/cloud/schemas/get_deployment_es_resource_info.d.ts.map +1 -1
  517. package/lib/cloud/schemas/get_deployment_es_resource_keystore.d.ts +1 -1
  518. package/lib/cloud/schemas/get_deployment_es_resource_keystore.d.ts.map +1 -1
  519. package/lib/cloud/schemas/get_deployment_integrations_server_resource_info.d.ts +1 -1
  520. package/lib/cloud/schemas/get_deployment_integrations_server_resource_info.d.ts.map +1 -1
  521. package/lib/cloud/schemas/get_deployment_kib_resource_info.d.ts +1 -1
  522. package/lib/cloud/schemas/get_deployment_kib_resource_info.d.ts.map +1 -1
  523. package/lib/cloud/schemas/get_deployment_tags.d.ts +1 -1
  524. package/lib/cloud/schemas/get_deployment_template_v2.d.ts +15 -15
  525. package/lib/cloud/schemas/get_deployment_templates_v2.d.ts +15 -15
  526. package/lib/cloud/schemas/get_organization_idp.d.ts +1 -1
  527. package/lib/cloud/schemas/get_organization_invitation.d.ts +1 -1
  528. package/lib/cloud/schemas/get_role_mappings.d.ts +1 -1
  529. package/lib/cloud/schemas/get_traffic_filter_deployment_ruleset_associations.d.ts +1 -1
  530. package/lib/cloud/schemas/get_traffic_filter_deployment_ruleset_associations.d.ts.map +1 -1
  531. package/lib/cloud/schemas/get_traffic_filter_ruleset.d.ts +1 -1
  532. package/lib/cloud/schemas/get_traffic_filter_ruleset_deployment_associations.d.ts +2 -2
  533. package/lib/cloud/schemas/get_traffic_filter_rulesets.d.ts +2 -2
  534. package/lib/cloud/schemas/get_trusted_envs.d.ts +3 -3
  535. package/lib/cloud/schemas/list_deployments.d.ts +6 -6
  536. package/lib/cloud/schemas/list_organization_invitations.d.ts +1 -1
  537. package/lib/cloud/schemas/list_organization_members.d.ts +3 -3
  538. package/lib/cloud/schemas/migrate_deployment_template.d.ts +10 -10
  539. package/lib/cloud/schemas/remove_role_assignments.d.ts +1 -1
  540. package/lib/cloud/schemas/remove_role_assignments.d.ts.map +1 -1
  541. package/lib/cloud/schemas/restart_deployment_es_resource.d.ts +1 -1
  542. package/lib/cloud/schemas/restart_deployment_stateless_resource.d.ts +1 -1
  543. package/lib/cloud/schemas/search_deployments.d.ts +13 -13
  544. package/lib/cloud/schemas/search_eligible_remote_clusters.d.ts +13 -13
  545. package/lib/cloud/schemas/set_deployment_es_resource_keystore.d.ts +2 -2
  546. package/lib/cloud/schemas/set_deployment_es_resource_keystore.d.ts.map +1 -1
  547. package/lib/cloud/schemas/set_deployment_tags.d.ts +2 -2
  548. package/lib/cloud/schemas/setup_organization_idp.d.ts +3 -3
  549. package/lib/cloud/schemas/shutdown_deployment.d.ts +2 -2
  550. package/lib/cloud/schemas/shutdown_deployment_es_resource.d.ts +1 -1
  551. package/lib/cloud/schemas/shutdown_deployment_stateless_resource.d.ts +1 -1
  552. package/lib/cloud/schemas/start_deployment_resource_instances.d.ts +1 -1
  553. package/lib/cloud/schemas/start_deployment_resource_instances_all.d.ts +1 -1
  554. package/lib/cloud/schemas/start_deployment_resource_instances_all_maintenance_mode.d.ts +1 -1
  555. package/lib/cloud/schemas/start_deployment_resource_maintenance_mode.d.ts +1 -1
  556. package/lib/cloud/schemas/stop_deployment_resource_instances.d.ts +1 -1
  557. package/lib/cloud/schemas/stop_deployment_resource_instances_all.d.ts +1 -1
  558. package/lib/cloud/schemas/stop_deployment_resource_instances_all_maintenance_mode.d.ts +1 -1
  559. package/lib/cloud/schemas/stop_deployment_resource_maintenance_mode.d.ts +1 -1
  560. package/lib/cloud/schemas/update_deployment.d.ts +20 -20
  561. package/lib/cloud/schemas/update_deployment_es_resource_tier.d.ts +10 -10
  562. package/lib/cloud/schemas/update_role_mapping.d.ts +1 -1
  563. package/lib/cloud/schemas/update_role_mappings.d.ts +2 -2
  564. package/lib/es/json/bulk.request.json +1 -1
  565. package/lib/es/json/cat.recovery.request.json +1 -1
  566. package/lib/es/json/delete.request.json +1 -1
  567. package/lib/es/json/delete_by_query.request.json +1 -1
  568. package/lib/es/json/index.request.json +1 -1
  569. package/lib/es/json/indices.recovery.request.json +1 -1
  570. package/lib/es/json/snapshot.delete.request.json +1 -1
  571. package/lib/es/json/update.request.json +1 -1
  572. package/lib/es/json/update_by_query.request.json +1 -1
  573. package/lib/es/schemas/_types.mapping.d.ts +1 -0
  574. package/lib/es/schemas/_types.mapping.d.ts.map +1 -1
  575. package/lib/es/schemas/bulk.d.ts +0 -15
  576. package/lib/es/schemas/bulk.d.ts.map +1 -1
  577. package/lib/es/schemas/bulk.js +1 -3
  578. package/lib/es/schemas/bulk.js.map +1 -1
  579. package/lib/es/schemas/cat.recovery.d.ts +14 -0
  580. package/lib/es/schemas/cat.recovery.d.ts.map +1 -1
  581. package/lib/es/schemas/cat.recovery.js +16 -14
  582. package/lib/es/schemas/cat.recovery.js.map +1 -1
  583. package/lib/es/schemas/cluster.get_component_template.d.ts +4 -0
  584. package/lib/es/schemas/cluster.get_component_template.d.ts.map +1 -1
  585. package/lib/es/schemas/cluster.put_component_template.d.ts +1 -0
  586. package/lib/es/schemas/cluster.put_component_template.d.ts.map +1 -1
  587. package/lib/es/schemas/delete.d.ts +0 -1
  588. package/lib/es/schemas/delete.d.ts.map +1 -1
  589. package/lib/es/schemas/delete.js +1 -2
  590. package/lib/es/schemas/delete.js.map +1 -1
  591. package/lib/es/schemas/delete_by_query.d.ts +0 -1
  592. package/lib/es/schemas/delete_by_query.d.ts.map +1 -1
  593. package/lib/es/schemas/delete_by_query.js +1 -2
  594. package/lib/es/schemas/delete_by_query.js.map +1 -1
  595. package/lib/es/schemas/index.d.ts +0 -1
  596. package/lib/es/schemas/index.d.ts.map +1 -1
  597. package/lib/es/schemas/index.js +1 -2
  598. package/lib/es/schemas/index.js.map +1 -1
  599. package/lib/es/schemas/indices.create.d.ts +1 -0
  600. package/lib/es/schemas/indices.create.d.ts.map +1 -1
  601. package/lib/es/schemas/indices.create_from.d.ts +2 -0
  602. package/lib/es/schemas/indices.create_from.d.ts.map +1 -1
  603. package/lib/es/schemas/indices.d.ts +3 -0
  604. package/lib/es/schemas/indices.d.ts.map +1 -1
  605. package/lib/es/schemas/indices.get.d.ts +1 -0
  606. package/lib/es/schemas/indices.get.d.ts.map +1 -1
  607. package/lib/es/schemas/indices.get_data_stream.d.ts +2 -0
  608. package/lib/es/schemas/indices.get_data_stream.d.ts.map +1 -1
  609. package/lib/es/schemas/indices.get_data_stream_mappings.d.ts +4 -0
  610. package/lib/es/schemas/indices.get_data_stream_mappings.d.ts.map +1 -1
  611. package/lib/es/schemas/indices.get_index_template.d.ts +4 -0
  612. package/lib/es/schemas/indices.get_index_template.d.ts.map +1 -1
  613. package/lib/es/schemas/indices.get_mapping.d.ts +4 -0
  614. package/lib/es/schemas/indices.get_mapping.d.ts.map +1 -1
  615. package/lib/es/schemas/indices.get_settings.d.ts +1 -0
  616. package/lib/es/schemas/indices.get_settings.d.ts.map +1 -1
  617. package/lib/es/schemas/indices.get_template.d.ts +2 -0
  618. package/lib/es/schemas/indices.get_template.d.ts.map +1 -1
  619. package/lib/es/schemas/indices.put_data_stream_mappings.d.ts +5 -0
  620. package/lib/es/schemas/indices.put_data_stream_mappings.d.ts.map +1 -1
  621. package/lib/es/schemas/indices.put_index_template.d.ts +2 -0
  622. package/lib/es/schemas/indices.put_index_template.d.ts.map +1 -1
  623. package/lib/es/schemas/indices.put_mapping.d.ts +3 -0
  624. package/lib/es/schemas/indices.put_mapping.d.ts.map +1 -1
  625. package/lib/es/schemas/indices.put_mapping.js +1 -1
  626. package/lib/es/schemas/indices.put_mapping.js.map +1 -1
  627. package/lib/es/schemas/indices.put_template.d.ts +1 -0
  628. package/lib/es/schemas/indices.put_template.d.ts.map +1 -1
  629. package/lib/es/schemas/indices.recovery.d.ts +7 -0
  630. package/lib/es/schemas/indices.recovery.d.ts.map +1 -1
  631. package/lib/es/schemas/indices.recovery.js +9 -8
  632. package/lib/es/schemas/indices.recovery.js.map +1 -1
  633. package/lib/es/schemas/indices.rollover.d.ts +1 -0
  634. package/lib/es/schemas/indices.rollover.d.ts.map +1 -1
  635. package/lib/es/schemas/indices.simulate_index_template.d.ts +2 -0
  636. package/lib/es/schemas/indices.simulate_index_template.d.ts.map +1 -1
  637. package/lib/es/schemas/indices.simulate_template.d.ts +3 -0
  638. package/lib/es/schemas/indices.simulate_template.d.ts.map +1 -1
  639. package/lib/es/schemas/monitoring.bulk.d.ts +0 -4
  640. package/lib/es/schemas/monitoring.bulk.d.ts.map +1 -1
  641. package/lib/es/schemas/search.d.ts +8 -8
  642. package/lib/es/schemas/search.d.ts.map +1 -1
  643. package/lib/es/schemas/search.js +3 -3
  644. package/lib/es/schemas/search.js.map +1 -1
  645. package/lib/es/schemas/simulate.ingest.d.ts +8 -0
  646. package/lib/es/schemas/simulate.ingest.d.ts.map +1 -1
  647. package/lib/es/schemas/snapshot.delete.js +1 -1
  648. package/lib/es/schemas/snapshot.delete.js.map +1 -1
  649. package/lib/es/schemas/text_structure.find_field_structure.d.ts +1 -0
  650. package/lib/es/schemas/text_structure.find_field_structure.d.ts.map +1 -1
  651. package/lib/es/schemas/text_structure.find_message_structure.d.ts +1 -0
  652. package/lib/es/schemas/text_structure.find_message_structure.d.ts.map +1 -1
  653. package/lib/es/schemas/text_structure.find_structure.d.ts +1 -0
  654. package/lib/es/schemas/text_structure.find_structure.d.ts.map +1 -1
  655. package/lib/es/schemas/transform.preview_transform.d.ts +1 -0
  656. package/lib/es/schemas/transform.preview_transform.d.ts.map +1 -1
  657. package/lib/es/schemas/update.d.ts +0 -1
  658. package/lib/es/schemas/update.d.ts.map +1 -1
  659. package/lib/es/schemas/update.js +1 -2
  660. package/lib/es/schemas/update.js.map +1 -1
  661. package/lib/es/schemas/update_by_query.d.ts +0 -1
  662. package/lib/es/schemas/update_by_query.d.ts.map +1 -1
  663. package/lib/es/schemas/update_by_query.js +1 -2
  664. package/lib/es/schemas/update_by_query.js.map +1 -1
  665. package/lib/kibana/json/agent-builder.get-agent-builder-conversations.request.json +1 -1
  666. package/lib/kibana/json/agent-builder.post-agent-builder-tools-execute.request.json +1 -1
  667. package/lib/kibana/json/cases.add-case-comment.request.json +1 -0
  668. package/lib/kibana/json/cases.create-case-template.request.json +1 -0
  669. package/lib/kibana/json/cases.create-case.request.json +1 -0
  670. package/lib/kibana/json/cases.delete-case-comment.request.json +1 -0
  671. package/lib/kibana/json/cases.delete-case-comments.request.json +1 -0
  672. package/lib/kibana/json/cases.delete-case-template.request.json +1 -0
  673. package/lib/kibana/json/cases.find-case-activity.request.json +1 -0
  674. package/lib/kibana/json/cases.find-case-comments.request.json +1 -0
  675. package/lib/kibana/json/cases.get-applicable-fields.request.json +1 -0
  676. package/lib/kibana/json/cases.get-case-alerts.request.json +1 -0
  677. package/lib/kibana/json/cases.get-case-applicable-fields.request.json +1 -0
  678. package/lib/kibana/json/cases.get-case-comment.request.json +1 -0
  679. package/lib/kibana/json/cases.get-case-template.request.json +1 -0
  680. package/lib/kibana/json/cases.get-case.request.json +1 -0
  681. package/lib/kibana/json/cases.get-cases-by-alert.request.json +1 -0
  682. package/lib/kibana/json/cases.push-case.request.json +1 -0
  683. package/lib/kibana/json/cases.set-case-configuration.request.json +1 -0
  684. package/lib/kibana/json/cases.update-case-comment.request.json +1 -0
  685. package/lib/kibana/json/cases.update-case-configuration.request.json +1 -0
  686. package/lib/kibana/json/cases.update-case-template.request.json +1 -0
  687. package/lib/kibana/json/cases.update-case.request.json +1 -0
  688. package/lib/kibana/json/data-streams.get-fleet-data-streams-data.request.json +1 -0
  689. package/lib/kibana/json/fleet-outputs.post-fleet-outputs.request.json +1 -1
  690. package/lib/kibana/json/fleet-outputs.put-fleet-outputs-outputid.request.json +1 -1
  691. package/lib/kibana/json/security-entity-analytics-api.configure-risk-engine-saved-object.request.json +1 -1
  692. package/lib/kibana/json/security-entity-store.post-security-entity-store-entities-entitytype.request.json +1 -1
  693. package/lib/kibana/json/security-entity-store.put-security-entity-store-entities-bulk.request.json +1 -1
  694. package/lib/kibana/json/security-entity-store.put-security-entity-store-entities-entitytype.request.json +1 -1
  695. package/lib/kibana/schemas/_index.d.ts +24 -23
  696. package/lib/kibana/schemas/_index.d.ts.map +1 -1
  697. package/lib/kibana/schemas/_index.js +24 -23
  698. package/lib/kibana/schemas/_index.js.map +1 -1
  699. package/lib/kibana/schemas/{add_case_comment_default_space.d.ts → add_case_comment.d.ts} +1 -1
  700. package/lib/kibana/schemas/add_case_comment.d.ts.map +1 -0
  701. package/lib/kibana/schemas/{add_case_comment_default_space.js → add_case_comment.js} +1 -1
  702. package/lib/kibana/schemas/add_case_comment.js.map +1 -0
  703. package/lib/kibana/schemas/{add_case_file_default_space.d.ts → add_case_file.d.ts} +1 -1
  704. package/lib/kibana/schemas/add_case_file.d.ts.map +1 -0
  705. package/lib/kibana/schemas/{add_case_file_default_space.js → add_case_file.js} +1 -1
  706. package/lib/kibana/schemas/add_case_file.js.map +1 -0
  707. package/lib/{cjs/kibana/schemas/create_case_default_space.d.ts → kibana/schemas/create_case.d.ts} +3 -1
  708. package/lib/kibana/schemas/create_case.d.ts.map +1 -0
  709. package/lib/kibana/schemas/{create_case_default_space.js → create_case.js} +4 -2
  710. package/lib/kibana/schemas/create_case.js.map +1 -0
  711. package/lib/kibana/schemas/{create_case_template_default_space.d.ts → create_case_template.d.ts} +3 -3
  712. package/lib/kibana/schemas/create_case_template.d.ts.map +1 -0
  713. package/lib/kibana/schemas/{create_case_template_default_space.js → create_case_template.js} +2 -2
  714. package/lib/kibana/schemas/create_case_template.js.map +1 -0
  715. package/lib/kibana/schemas/endpoint_generate_memory_dump.d.ts +4 -0
  716. package/lib/kibana/schemas/endpoint_generate_memory_dump.d.ts.map +1 -1
  717. package/lib/kibana/schemas/endpoint_generate_memory_dump.js +2 -0
  718. package/lib/kibana/schemas/endpoint_generate_memory_dump.js.map +1 -1
  719. package/lib/kibana/schemas/{find_case_activity_default_space.d.ts → find_case_activity.d.ts} +5 -5
  720. package/lib/kibana/schemas/find_case_activity.d.ts.map +1 -0
  721. package/lib/kibana/schemas/{find_case_activity_default_space.js → find_case_activity.js} +3 -3
  722. package/lib/kibana/schemas/find_case_activity.js.map +1 -0
  723. package/lib/{cjs/kibana/schemas/find_case_comments_default_space.d.ts → kibana/schemas/find_case_comments.d.ts} +1 -1
  724. package/lib/kibana/schemas/find_case_comments.d.ts.map +1 -0
  725. package/lib/kibana/schemas/{find_case_comments_default_space.js → find_case_comments.js} +1 -1
  726. package/lib/kibana/schemas/find_case_comments.js.map +1 -0
  727. package/lib/{cjs/kibana/schemas/find_case_connectors_default_space.d.ts → kibana/schemas/find_case_connectors.d.ts} +3 -3
  728. package/lib/kibana/schemas/find_case_connectors.d.ts.map +1 -0
  729. package/lib/kibana/schemas/{find_case_connectors_default_space.js → find_case_connectors.js} +3 -3
  730. package/lib/kibana/schemas/find_case_connectors.js.map +1 -0
  731. package/lib/{cjs/kibana/schemas/find_cases_default_space.d.ts → kibana/schemas/find_cases.d.ts} +4 -3
  732. package/lib/kibana/schemas/find_cases.d.ts.map +1 -0
  733. package/lib/kibana/schemas/{find_cases_default_space.js → find_cases.js} +3 -3
  734. package/lib/{cjs/kibana/schemas/add_case_file_default_space.d.ts.map → kibana/schemas/find_cases.js.map} +1 -1
  735. package/lib/{cjs/kibana/schemas/get_case_applicable_fields_default_space.d.ts → kibana/schemas/get_applicable_fields.d.ts} +1 -1
  736. package/lib/kibana/schemas/get_applicable_fields.d.ts.map +1 -0
  737. package/lib/kibana/schemas/{get_applicable_fields_default_space.js → get_applicable_fields.js} +1 -1
  738. package/lib/kibana/schemas/get_applicable_fields.js.map +1 -0
  739. package/lib/{cjs/kibana/schemas/get_case_default_space.d.ts → kibana/schemas/get_case.d.ts} +1 -1
  740. package/lib/kibana/schemas/get_case.d.ts.map +1 -0
  741. package/lib/kibana/schemas/{get_case_default_space.js → get_case.js} +1 -1
  742. package/lib/kibana/schemas/get_case.js.map +1 -0
  743. package/lib/kibana/schemas/{get_case_alerts_default_space.d.ts → get_case_alerts.d.ts} +3 -3
  744. package/lib/kibana/schemas/get_case_alerts.d.ts.map +1 -0
  745. package/lib/kibana/schemas/{get_case_alerts_default_space.js → get_case_alerts.js} +2 -2
  746. package/lib/kibana/schemas/get_case_alerts.js.map +1 -0
  747. package/lib/kibana/schemas/{get_case_applicable_fields_default_space.d.ts → get_case_applicable_fields.d.ts} +1 -1
  748. package/lib/kibana/schemas/get_case_applicable_fields.d.ts.map +1 -0
  749. package/lib/kibana/schemas/{get_case_applicable_fields_default_space.js → get_case_applicable_fields.js} +1 -1
  750. package/lib/kibana/schemas/get_case_applicable_fields.js.map +1 -0
  751. package/lib/{cjs/kibana/schemas/get_case_comment_default_space.d.ts → kibana/schemas/get_case_comment.d.ts} +3 -3
  752. package/lib/kibana/schemas/get_case_comment.d.ts.map +1 -0
  753. package/lib/kibana/schemas/{get_case_comment_default_space.js → get_case_comment.js} +2 -2
  754. package/lib/kibana/schemas/get_case_comment.js.map +1 -0
  755. package/lib/kibana/schemas/{get_case_configuration_default_space.d.ts → get_case_configuration.d.ts} +3 -3
  756. package/lib/kibana/schemas/get_case_configuration.d.ts.map +1 -0
  757. package/lib/kibana/schemas/{get_case_configuration_default_space.js → get_case_configuration.js} +3 -3
  758. package/lib/kibana/schemas/get_case_configuration.js.map +1 -0
  759. package/lib/kibana/schemas/get_case_reporters.d.ts +9 -0
  760. package/lib/kibana/schemas/get_case_reporters.d.ts.map +1 -0
  761. package/lib/kibana/schemas/{get_case_reporters_default_space.js → get_case_reporters.js} +3 -3
  762. package/lib/kibana/schemas/get_case_reporters.js.map +1 -0
  763. package/lib/kibana/schemas/get_case_tags.d.ts +4 -0
  764. package/lib/kibana/schemas/get_case_tags.d.ts.map +1 -0
  765. package/lib/kibana/schemas/{get_case_tags_default_space.js → get_case_tags.js} +2 -2
  766. package/lib/kibana/schemas/get_case_tags.js.map +1 -0
  767. package/lib/kibana/schemas/{get_case_template_default_space.d.ts → get_case_template.d.ts} +1 -1
  768. package/lib/kibana/schemas/get_case_template.d.ts.map +1 -0
  769. package/lib/kibana/schemas/{get_case_template_default_space.js → get_case_template.js} +1 -1
  770. package/lib/kibana/schemas/get_case_template.js.map +1 -0
  771. package/lib/{cjs/kibana/schemas/get_case_templates_default_space.d.ts → kibana/schemas/get_case_templates.d.ts} +1 -1
  772. package/lib/kibana/schemas/get_case_templates.d.ts.map +1 -0
  773. package/lib/kibana/schemas/{get_case_templates_default_space.js → get_case_templates.js} +1 -1
  774. package/lib/kibana/schemas/get_case_templates.js.map +1 -0
  775. package/lib/kibana/schemas/{get_cases_by_alert_default_space.d.ts → get_cases_by_alert.d.ts} +3 -3
  776. package/lib/kibana/schemas/get_cases_by_alert.d.ts.map +1 -0
  777. package/lib/kibana/schemas/{get_cases_by_alert_default_space.js → get_cases_by_alert.js} +2 -2
  778. package/lib/kibana/schemas/get_cases_by_alert.js.map +1 -0
  779. package/lib/kibana/schemas/get_fleet_data_streams_data.d.ts +6 -0
  780. package/lib/kibana/schemas/get_fleet_data_streams_data.d.ts.map +1 -0
  781. package/lib/kibana/schemas/get_fleet_data_streams_data.js +15 -0
  782. package/lib/kibana/schemas/get_fleet_data_streams_data.js.map +1 -0
  783. package/lib/kibana/schemas/get_fleet_outputs.d.ts +211 -0
  784. package/lib/kibana/schemas/get_fleet_outputs.d.ts.map +1 -1
  785. package/lib/kibana/schemas/get_fleet_outputs.js +5 -2
  786. package/lib/kibana/schemas/get_fleet_outputs.js.map +1 -1
  787. package/lib/kibana/schemas/get_fleet_outputs_outputid.d.ts +211 -0
  788. package/lib/kibana/schemas/get_fleet_outputs_outputid.d.ts.map +1 -1
  789. package/lib/kibana/schemas/get_fleet_outputs_outputid.js +5 -2
  790. package/lib/kibana/schemas/get_fleet_outputs_outputid.js.map +1 -1
  791. package/lib/kibana/schemas/get_fleet_settings.d.ts +1 -0
  792. package/lib/kibana/schemas/get_fleet_settings.d.ts.map +1 -1
  793. package/lib/kibana/schemas/get_fleet_settings.js +1 -0
  794. package/lib/kibana/schemas/get_fleet_settings.js.map +1 -1
  795. package/lib/kibana/schemas/patch_alerting_v2_rules_id.d.ts +1 -1
  796. package/lib/kibana/schemas/patch_alerting_v2_rules_id.js +1 -1
  797. package/lib/kibana/schemas/patch_alerting_v2_rules_id.js.map +1 -1
  798. package/lib/kibana/schemas/post_agent_builder_tools_execute.d.ts +6 -0
  799. package/lib/kibana/schemas/post_agent_builder_tools_execute.d.ts.map +1 -1
  800. package/lib/kibana/schemas/post_agent_builder_tools_execute.js +6 -0
  801. package/lib/kibana/schemas/post_agent_builder_tools_execute.js.map +1 -1
  802. package/lib/kibana/schemas/post_alerting_rule_id.d.ts +8 -8
  803. package/lib/kibana/schemas/post_fleet_outputs.d.ts +631 -0
  804. package/lib/kibana/schemas/post_fleet_outputs.d.ts.map +1 -1
  805. package/lib/kibana/schemas/post_fleet_outputs.js +39 -3
  806. package/lib/kibana/schemas/post_fleet_outputs.js.map +1 -1
  807. package/lib/kibana/schemas/post_security_entity_store_entities_entitytype.d.ts +4 -0
  808. package/lib/kibana/schemas/post_security_entity_store_entities_entitytype.d.ts.map +1 -1
  809. package/lib/kibana/schemas/post_security_entity_store_entities_entitytype.js +4 -0
  810. package/lib/kibana/schemas/post_security_entity_store_entities_entitytype.js.map +1 -1
  811. package/lib/kibana/schemas/post_streams_name_content_export.d.ts +1 -1
  812. package/lib/kibana/schemas/post_streams_name_fork.d.ts +1 -1
  813. package/lib/kibana/schemas/{push_case_default_space.d.ts → push_case.d.ts} +3 -3
  814. package/lib/{cjs/kibana/schemas/update_case_comment_default_space.d.ts.map → kibana/schemas/push_case.d.ts.map} +1 -1
  815. package/lib/kibana/schemas/{push_case_default_space.js → push_case.js} +2 -2
  816. package/lib/kibana/schemas/push_case.js.map +1 -0
  817. package/lib/kibana/schemas/put_fleet_outputs_outputid.d.ts +631 -0
  818. package/lib/kibana/schemas/put_fleet_outputs_outputid.d.ts.map +1 -1
  819. package/lib/kibana/schemas/put_fleet_outputs_outputid.js +39 -3
  820. package/lib/kibana/schemas/put_fleet_outputs_outputid.js.map +1 -1
  821. package/lib/kibana/schemas/put_fleet_settings.d.ts +1 -0
  822. package/lib/kibana/schemas/put_fleet_settings.d.ts.map +1 -1
  823. package/lib/kibana/schemas/put_fleet_settings.js +1 -0
  824. package/lib/kibana/schemas/put_fleet_settings.js.map +1 -1
  825. package/lib/kibana/schemas/put_security_entity_store_entities_bulk.d.ts +4 -0
  826. package/lib/kibana/schemas/put_security_entity_store_entities_bulk.d.ts.map +1 -1
  827. package/lib/kibana/schemas/put_security_entity_store_entities_bulk.js +4 -0
  828. package/lib/kibana/schemas/put_security_entity_store_entities_bulk.js.map +1 -1
  829. package/lib/kibana/schemas/put_security_entity_store_entities_entitytype.d.ts +4 -0
  830. package/lib/kibana/schemas/put_security_entity_store_entities_entitytype.d.ts.map +1 -1
  831. package/lib/kibana/schemas/put_security_entity_store_entities_entitytype.js +4 -0
  832. package/lib/kibana/schemas/put_security_entity_store_entities_entitytype.js.map +1 -1
  833. package/lib/kibana/schemas/put_streams_name_ingest.d.ts +5 -5
  834. package/lib/kibana/schemas/schemas/_index.d.ts +2 -2
  835. package/lib/kibana/schemas/schemas/_index.d.ts.map +1 -1
  836. package/lib/kibana/schemas/schemas/_index.js +2 -2
  837. package/lib/kibana/schemas/schemas/_index.js.map +1 -1
  838. package/lib/kibana/schemas/schemas/kibana.d.ts +616 -60
  839. package/lib/kibana/schemas/schemas/kibana.d.ts.map +1 -1
  840. package/lib/kibana/schemas/schemas/kibana.js +325 -28
  841. package/lib/kibana/schemas/schemas/kibana.js.map +1 -1
  842. package/lib/kibana/schemas/schemas/misc.d.ts +3 -0
  843. package/lib/kibana/schemas/schemas/misc.d.ts.map +1 -1
  844. package/lib/kibana/schemas/schemas/misc.js +2 -0
  845. package/lib/kibana/schemas/schemas/misc.js.map +1 -1
  846. package/lib/{cjs/kibana/schemas/set_case_configuration_default_space.d.ts → kibana/schemas/set_case_configuration.d.ts} +3 -3
  847. package/lib/kibana/schemas/set_case_configuration.d.ts.map +1 -0
  848. package/lib/kibana/schemas/{set_case_configuration_default_space.js → set_case_configuration.js} +3 -3
  849. package/lib/kibana/schemas/set_case_configuration.js.map +1 -0
  850. package/lib/kibana/schemas/{update_case_default_space.d.ts → update_case.d.ts} +6 -3
  851. package/lib/kibana/schemas/update_case.d.ts.map +1 -0
  852. package/lib/kibana/schemas/{update_case_default_space.js → update_case.js} +5 -3
  853. package/lib/kibana/schemas/update_case.js.map +1 -0
  854. package/lib/{cjs/kibana/schemas/update_case_comment_default_space.d.ts → kibana/schemas/update_case_comment.d.ts} +1 -1
  855. package/lib/kibana/schemas/update_case_comment.d.ts.map +1 -0
  856. package/lib/kibana/schemas/{update_case_comment_default_space.js → update_case_comment.js} +1 -1
  857. package/lib/kibana/schemas/update_case_comment.js.map +1 -0
  858. package/lib/kibana/schemas/{update_case_configuration_default_space.d.ts → update_case_configuration.d.ts} +3 -3
  859. package/lib/kibana/schemas/update_case_configuration.d.ts.map +1 -0
  860. package/lib/kibana/schemas/{update_case_configuration_default_space.js → update_case_configuration.js} +3 -3
  861. package/lib/kibana/schemas/update_case_configuration.js.map +1 -0
  862. package/lib/kibana/schemas/{update_case_template_default_space.d.ts → update_case_template.d.ts} +3 -3
  863. package/lib/kibana/schemas/update_case_template.d.ts.map +1 -0
  864. package/lib/kibana/schemas/{update_case_template_default_space.js → update_case_template.js} +2 -2
  865. package/lib/kibana/schemas/update_case_template.js.map +1 -0
  866. package/lib/kibana/tools/apis/add_case_comment_default_space.js +2 -2
  867. package/lib/kibana/tools/apis/add_case_comment_default_space.js.map +1 -1
  868. package/lib/kibana/tools/apis/add_case_file_default_space.js +1 -1
  869. package/lib/kibana/tools/apis/add_case_file_default_space.js.map +1 -1
  870. package/lib/kibana/tools/apis/configure_risk_engine_saved_object.js +1 -1
  871. package/lib/kibana/tools/apis/configure_risk_engine_saved_object.js.map +1 -1
  872. package/lib/kibana/tools/apis/create_case_default_space.js +2 -2
  873. package/lib/kibana/tools/apis/create_case_default_space.js.map +1 -1
  874. package/lib/kibana/tools/apis/create_case_template_default_space.js +2 -2
  875. package/lib/kibana/tools/apis/create_case_template_default_space.js.map +1 -1
  876. package/lib/kibana/tools/apis/delete_case_comment_default_space.js +2 -2
  877. package/lib/kibana/tools/apis/delete_case_comment_default_space.js.map +1 -1
  878. package/lib/kibana/tools/apis/delete_case_comments_default_space.js +2 -2
  879. package/lib/kibana/tools/apis/delete_case_comments_default_space.js.map +1 -1
  880. package/lib/kibana/tools/apis/delete_case_default_space.js +1 -1
  881. package/lib/kibana/tools/apis/delete_case_default_space.js.map +1 -1
  882. package/lib/kibana/tools/apis/delete_case_template_default_space.js +2 -2
  883. package/lib/kibana/tools/apis/delete_case_template_default_space.js.map +1 -1
  884. package/lib/kibana/tools/apis/find_case_activity_default_space.js +2 -2
  885. package/lib/kibana/tools/apis/find_case_activity_default_space.js.map +1 -1
  886. package/lib/kibana/tools/apis/find_case_comments_default_space.js +2 -2
  887. package/lib/kibana/tools/apis/find_case_comments_default_space.js.map +1 -1
  888. package/lib/kibana/tools/apis/find_case_connectors_default_space.js +1 -1
  889. package/lib/kibana/tools/apis/find_case_connectors_default_space.js.map +1 -1
  890. package/lib/kibana/tools/apis/find_cases_default_space.js +1 -1
  891. package/lib/kibana/tools/apis/find_cases_default_space.js.map +1 -1
  892. package/lib/kibana/tools/apis/get_applicable_fields_default_space.js +2 -2
  893. package/lib/kibana/tools/apis/get_applicable_fields_default_space.js.map +1 -1
  894. package/lib/kibana/tools/apis/get_case_alerts_default_space.js +2 -2
  895. package/lib/kibana/tools/apis/get_case_alerts_default_space.js.map +1 -1
  896. package/lib/kibana/tools/apis/get_case_applicable_fields_default_space.js +2 -2
  897. package/lib/kibana/tools/apis/get_case_applicable_fields_default_space.js.map +1 -1
  898. package/lib/kibana/tools/apis/get_case_comment_default_space.js +2 -2
  899. package/lib/kibana/tools/apis/get_case_comment_default_space.js.map +1 -1
  900. package/lib/kibana/tools/apis/get_case_configuration_default_space.js +1 -1
  901. package/lib/kibana/tools/apis/get_case_configuration_default_space.js.map +1 -1
  902. package/lib/kibana/tools/apis/get_case_default_space.js +2 -2
  903. package/lib/kibana/tools/apis/get_case_default_space.js.map +1 -1
  904. package/lib/kibana/tools/apis/get_case_reporters_default_space.js +1 -1
  905. package/lib/kibana/tools/apis/get_case_reporters_default_space.js.map +1 -1
  906. package/lib/kibana/tools/apis/get_case_tags_default_space.js +1 -1
  907. package/lib/kibana/tools/apis/get_case_tags_default_space.js.map +1 -1
  908. package/lib/kibana/tools/apis/get_case_template_default_space.js +2 -2
  909. package/lib/kibana/tools/apis/get_case_template_default_space.js.map +1 -1
  910. package/lib/kibana/tools/apis/get_case_templates_default_space.js +1 -1
  911. package/lib/kibana/tools/apis/get_case_templates_default_space.js.map +1 -1
  912. package/lib/kibana/tools/apis/get_cases_by_alert_default_space.js +2 -2
  913. package/lib/kibana/tools/apis/get_cases_by_alert_default_space.js.map +1 -1
  914. package/lib/kibana/tools/apis/get_fleet_data_streams_data.d.ts +3 -0
  915. package/lib/kibana/tools/apis/get_fleet_data_streams_data.d.ts.map +1 -0
  916. package/lib/kibana/tools/apis/get_fleet_data_streams_data.js +18 -0
  917. package/lib/kibana/tools/apis/get_fleet_data_streams_data.js.map +1 -0
  918. package/lib/kibana/tools/apis/push_case_default_space.js +2 -2
  919. package/lib/kibana/tools/apis/push_case_default_space.js.map +1 -1
  920. package/lib/kibana/tools/apis/set_case_configuration_default_space.js +2 -2
  921. package/lib/kibana/tools/apis/set_case_configuration_default_space.js.map +1 -1
  922. package/lib/kibana/tools/apis/update_case_comment_default_space.js +2 -2
  923. package/lib/kibana/tools/apis/update_case_comment_default_space.js.map +1 -1
  924. package/lib/kibana/tools/apis/update_case_configuration_default_space.js +2 -2
  925. package/lib/kibana/tools/apis/update_case_configuration_default_space.js.map +1 -1
  926. package/lib/kibana/tools/apis/update_case_default_space.js +2 -2
  927. package/lib/kibana/tools/apis/update_case_default_space.js.map +1 -1
  928. package/lib/kibana/tools/apis/update_case_template_default_space.js +2 -2
  929. package/lib/kibana/tools/apis/update_case_template_default_space.js.map +1 -1
  930. package/lib/kibana/tools/index.d.ts.map +1 -1
  931. package/lib/kibana/tools/index.js +4 -0
  932. package/lib/kibana/tools/index.js.map +1 -1
  933. package/lib/kibana/tools/json-manifest.d.ts.map +1 -1
  934. package/lib/kibana/tools/json-manifest.js +60 -58
  935. package/lib/kibana/tools/json-manifest.js.map +1 -1
  936. package/lib/kibana/tools/manifest.d.ts.map +1 -1
  937. package/lib/kibana/tools/manifest.js +30 -29
  938. package/lib/kibana/tools/manifest.js.map +1 -1
  939. package/lib/serverless/json/create_traffic_filter.request.json +1 -1
  940. package/lib/serverless/json/get_traffic_filter.request.json +1 -1
  941. package/lib/serverless/json/get_traffic_filter_metadata.request.json +1 -1
  942. package/lib/serverless/json/list_traffic_filters.request.json +1 -1
  943. package/lib/serverless/schemas/_index.d.ts +1 -0
  944. package/lib/serverless/schemas/_index.d.ts.map +1 -1
  945. package/lib/serverless/schemas/_index.js +1 -0
  946. package/lib/serverless/schemas/_index.js.map +1 -1
  947. package/lib/serverless/schemas/get_organization_capabilities.d.ts +8 -0
  948. package/lib/serverless/schemas/get_organization_capabilities.d.ts.map +1 -0
  949. package/lib/serverless/schemas/get_organization_capabilities.js +17 -0
  950. package/lib/serverless/schemas/get_organization_capabilities.js.map +1 -0
  951. package/lib/serverless/tools/apis/capabilities.d.ts +3 -0
  952. package/lib/serverless/tools/apis/capabilities.d.ts.map +1 -0
  953. package/lib/serverless/tools/apis/capabilities.js +15 -0
  954. package/lib/serverless/tools/apis/capabilities.js.map +1 -0
  955. package/lib/serverless/tools/index.d.ts.map +1 -1
  956. package/lib/serverless/tools/index.js +4 -0
  957. package/lib/serverless/tools/index.js.map +1 -1
  958. package/lib/serverless/tools/json-manifest.d.ts.map +1 -1
  959. package/lib/serverless/tools/json-manifest.js +2 -0
  960. package/lib/serverless/tools/json-manifest.js.map +1 -1
  961. package/lib/serverless/tools/manifest.d.ts.map +1 -1
  962. package/lib/serverless/tools/manifest.js +1 -0
  963. package/lib/serverless/tools/manifest.js.map +1 -1
  964. package/lib/tsconfig.cjs.tsbuildinfo +1 -1
  965. package/package.json +2 -2
  966. package/src/es/json/_global.bulk.json +1 -1
  967. package/src/es/json/_types.json +1 -1
  968. package/src/es/json/_types.mapping.json +1 -1
  969. package/src/es/json/bulk.request.json +1 -1
  970. package/src/es/json/cat._types.json +1 -1
  971. package/src/es/json/cat.recovery.json +1 -1
  972. package/src/es/json/cat.recovery.request.json +1 -1
  973. package/src/es/json/delete.request.json +1 -1
  974. package/src/es/json/delete_by_query.request.json +1 -1
  975. package/src/es/json/index.request.json +1 -1
  976. package/src/es/json/indices.recovery.json +1 -1
  977. package/src/es/json/indices.recovery.request.json +1 -1
  978. package/src/es/json/security._types.json +1 -1
  979. package/src/es/json/security.query_role.json +1 -1
  980. package/src/es/json/snapshot.delete.request.json +1 -1
  981. package/src/es/json/update.request.json +1 -1
  982. package/src/es/json/update_by_query.request.json +1 -1
  983. package/src/kibana/json/_defs.json +1 -1
  984. package/src/kibana/json/agent-builder.get-agent-builder-conversations.request.json +1 -1
  985. package/src/kibana/json/agent-builder.post-agent-builder-tools-execute.request.json +1 -1
  986. package/src/kibana/json/cases.add-case-comment.request.json +1 -0
  987. package/src/kibana/json/cases.add-case-comment.response.json +1 -0
  988. package/src/kibana/json/cases.add-case-file.request.json +1 -0
  989. package/src/kibana/json/cases.add-case-file.response.json +1 -0
  990. package/src/kibana/json/cases.create-case-template.request.json +1 -0
  991. package/src/kibana/json/cases.create-case-template.response.json +1 -0
  992. package/src/kibana/json/cases.create-case.request.json +1 -0
  993. package/src/kibana/json/cases.create-case.response.json +1 -0
  994. package/src/kibana/json/cases.delete-case-comment.request.json +1 -0
  995. package/src/kibana/json/cases.delete-case-comment.response.json +1 -0
  996. package/src/kibana/json/cases.delete-case-comments.request.json +1 -0
  997. package/src/kibana/json/cases.delete-case-comments.response.json +1 -0
  998. package/src/kibana/json/cases.delete-case-template.request.json +1 -0
  999. package/src/kibana/json/cases.delete-case-template.response.json +1 -0
  1000. package/src/kibana/json/cases.delete-case.request.json +1 -0
  1001. package/src/kibana/json/cases.delete-case.response.json +1 -0
  1002. package/src/kibana/json/cases.find-case-activity.request.json +1 -0
  1003. package/src/kibana/json/cases.find-case-activity.response.json +1 -0
  1004. package/src/kibana/json/cases.find-case-comments.request.json +1 -0
  1005. package/src/kibana/json/cases.find-case-comments.response.json +1 -0
  1006. package/src/kibana/json/cases.find-case-connectors.request.json +1 -0
  1007. package/src/kibana/json/cases.find-case-connectors.response.json +1 -0
  1008. package/src/kibana/json/cases.find-cases.request.json +1 -0
  1009. package/src/kibana/json/cases.find-cases.response.json +1 -0
  1010. package/src/kibana/json/cases.get-applicable-fields.request.json +1 -0
  1011. package/src/kibana/json/cases.get-applicable-fields.response.json +1 -0
  1012. package/src/kibana/json/cases.get-case-alerts.request.json +1 -0
  1013. package/src/kibana/json/cases.get-case-alerts.response.json +1 -0
  1014. package/src/kibana/json/cases.get-case-applicable-fields.request.json +1 -0
  1015. package/src/kibana/json/cases.get-case-applicable-fields.response.json +1 -0
  1016. package/src/kibana/json/cases.get-case-comment.request.json +1 -0
  1017. package/src/kibana/json/cases.get-case-comment.response.json +1 -0
  1018. package/src/kibana/json/cases.get-case-configuration.request.json +1 -0
  1019. package/src/kibana/json/cases.get-case-configuration.response.json +1 -0
  1020. package/src/kibana/json/cases.get-case-reporters.request.json +1 -0
  1021. package/src/kibana/json/cases.get-case-reporters.response.json +1 -0
  1022. package/src/kibana/json/cases.get-case-tags.request.json +1 -0
  1023. package/src/kibana/json/cases.get-case-tags.response.json +1 -0
  1024. package/src/kibana/json/cases.get-case-template.request.json +1 -0
  1025. package/src/kibana/json/cases.get-case-template.response.json +1 -0
  1026. package/src/kibana/json/cases.get-case-templates.request.json +1 -0
  1027. package/src/kibana/json/cases.get-case-templates.response.json +1 -0
  1028. package/src/kibana/json/cases.get-case.request.json +1 -0
  1029. package/src/kibana/json/cases.get-case.response.json +1 -0
  1030. package/src/kibana/json/cases.get-cases-by-alert.request.json +1 -0
  1031. package/src/kibana/json/cases.get-cases-by-alert.response.json +1 -0
  1032. package/src/kibana/json/cases.push-case.request.json +1 -0
  1033. package/src/kibana/json/cases.push-case.response.json +1 -0
  1034. package/src/kibana/json/cases.set-case-configuration.request.json +1 -0
  1035. package/src/kibana/json/cases.set-case-configuration.response.json +1 -0
  1036. package/src/kibana/json/cases.update-case-comment.request.json +1 -0
  1037. package/src/kibana/json/cases.update-case-comment.response.json +1 -0
  1038. package/src/kibana/json/cases.update-case-configuration.request.json +1 -0
  1039. package/src/kibana/json/cases.update-case-configuration.response.json +1 -0
  1040. package/src/kibana/json/cases.update-case-template.request.json +1 -0
  1041. package/src/kibana/json/cases.update-case-template.response.json +1 -0
  1042. package/src/kibana/json/cases.update-case.request.json +1 -0
  1043. package/src/kibana/json/cases.update-case.response.json +1 -0
  1044. package/src/kibana/json/data-streams.get-fleet-data-streams-data.request.json +1 -0
  1045. package/src/kibana/json/data-streams.get-fleet-data-streams-data.response.json +1 -0
  1046. package/src/kibana/json/fleet-internals.get-fleet-settings.response.json +1 -1
  1047. package/src/kibana/json/fleet-internals.put-fleet-settings.response.json +1 -1
  1048. package/src/kibana/json/fleet-outputs.get-fleet-outputs-outputid.response.json +1 -1
  1049. package/src/kibana/json/fleet-outputs.get-fleet-outputs.response.json +1 -1
  1050. package/src/kibana/json/fleet-outputs.post-fleet-outputs.request.json +1 -1
  1051. package/src/kibana/json/fleet-outputs.post-fleet-outputs.response.json +1 -1
  1052. package/src/kibana/json/fleet-outputs.put-fleet-outputs-outputid.request.json +1 -1
  1053. package/src/kibana/json/fleet-outputs.put-fleet-outputs-outputid.response.json +1 -1
  1054. package/src/kibana/json/security-entity-analytics-api.configure-risk-engine-saved-object.request.json +1 -1
  1055. package/src/kibana/json/security-entity-store.post-security-entity-store-entities-entitytype.request.json +1 -1
  1056. package/src/kibana/json/security-entity-store.put-security-entity-store-entities-bulk.request.json +1 -1
  1057. package/src/kibana/json/security-entity-store.put-security-entity-store-entities-entitytype.request.json +1 -1
  1058. package/src/serverless/json/create_traffic_filter.request.json +1 -1
  1059. package/src/serverless/json/get_organization_capabilities.request.json +1 -0
  1060. package/src/serverless/json/get_organization_capabilities.response.json +1 -0
  1061. package/src/serverless/json/get_traffic_filter.request.json +1 -1
  1062. package/src/serverless/json/get_traffic_filter_metadata.request.json +1 -1
  1063. package/src/serverless/json/list_traffic_filters.request.json +1 -1
  1064. package/lib/cjs/kibana/json/cases.add-case-comment-default-space.request.json +0 -1
  1065. package/lib/cjs/kibana/json/cases.create-case-default-space.request.json +0 -1
  1066. package/lib/cjs/kibana/json/cases.create-case-template-default-space.request.json +0 -1
  1067. package/lib/cjs/kibana/json/cases.delete-case-comment-default-space.request.json +0 -1
  1068. package/lib/cjs/kibana/json/cases.delete-case-comments-default-space.request.json +0 -1
  1069. package/lib/cjs/kibana/json/cases.delete-case-template-default-space.request.json +0 -1
  1070. package/lib/cjs/kibana/json/cases.find-case-activity-default-space.request.json +0 -1
  1071. package/lib/cjs/kibana/json/cases.find-case-comments-default-space.request.json +0 -1
  1072. package/lib/cjs/kibana/json/cases.get-applicable-fields-default-space.request.json +0 -1
  1073. package/lib/cjs/kibana/json/cases.get-case-alerts-default-space.request.json +0 -1
  1074. package/lib/cjs/kibana/json/cases.get-case-applicable-fields-default-space.request.json +0 -1
  1075. package/lib/cjs/kibana/json/cases.get-case-comment-default-space.request.json +0 -1
  1076. package/lib/cjs/kibana/json/cases.get-case-default-space.request.json +0 -1
  1077. package/lib/cjs/kibana/json/cases.get-case-template-default-space.request.json +0 -1
  1078. package/lib/cjs/kibana/json/cases.get-cases-by-alert-default-space.request.json +0 -1
  1079. package/lib/cjs/kibana/json/cases.push-case-default-space.request.json +0 -1
  1080. package/lib/cjs/kibana/json/cases.set-case-configuration-default-space.request.json +0 -1
  1081. package/lib/cjs/kibana/json/cases.update-case-comment-default-space.request.json +0 -1
  1082. package/lib/cjs/kibana/json/cases.update-case-configuration-default-space.request.json +0 -1
  1083. package/lib/cjs/kibana/json/cases.update-case-default-space.request.json +0 -1
  1084. package/lib/cjs/kibana/json/cases.update-case-template-default-space.request.json +0 -1
  1085. package/lib/cjs/kibana/schemas/add_case_comment_default_space.d.ts.map +0 -1
  1086. package/lib/cjs/kibana/schemas/add_case_comment_default_space.js.map +0 -1
  1087. package/lib/cjs/kibana/schemas/add_case_file_default_space.js.map +0 -1
  1088. package/lib/cjs/kibana/schemas/create_case_default_space.d.ts.map +0 -1
  1089. package/lib/cjs/kibana/schemas/create_case_default_space.js.map +0 -1
  1090. package/lib/cjs/kibana/schemas/create_case_template_default_space.d.ts.map +0 -1
  1091. package/lib/cjs/kibana/schemas/create_case_template_default_space.js.map +0 -1
  1092. package/lib/cjs/kibana/schemas/find_case_activity_default_space.d.ts.map +0 -1
  1093. package/lib/cjs/kibana/schemas/find_case_activity_default_space.js.map +0 -1
  1094. package/lib/cjs/kibana/schemas/find_case_comments_default_space.d.ts.map +0 -1
  1095. package/lib/cjs/kibana/schemas/find_case_comments_default_space.js.map +0 -1
  1096. package/lib/cjs/kibana/schemas/find_case_connectors_default_space.d.ts.map +0 -1
  1097. package/lib/cjs/kibana/schemas/find_case_connectors_default_space.js.map +0 -1
  1098. package/lib/cjs/kibana/schemas/find_cases_default_space.d.ts.map +0 -1
  1099. package/lib/cjs/kibana/schemas/find_cases_default_space.js.map +0 -1
  1100. package/lib/cjs/kibana/schemas/get_applicable_fields_default_space.d.ts.map +0 -1
  1101. package/lib/cjs/kibana/schemas/get_applicable_fields_default_space.js.map +0 -1
  1102. package/lib/cjs/kibana/schemas/get_case_alerts_default_space.d.ts.map +0 -1
  1103. package/lib/cjs/kibana/schemas/get_case_alerts_default_space.js.map +0 -1
  1104. package/lib/cjs/kibana/schemas/get_case_applicable_fields_default_space.d.ts.map +0 -1
  1105. package/lib/cjs/kibana/schemas/get_case_applicable_fields_default_space.js.map +0 -1
  1106. package/lib/cjs/kibana/schemas/get_case_comment_default_space.d.ts.map +0 -1
  1107. package/lib/cjs/kibana/schemas/get_case_comment_default_space.js.map +0 -1
  1108. package/lib/cjs/kibana/schemas/get_case_configuration_default_space.d.ts.map +0 -1
  1109. package/lib/cjs/kibana/schemas/get_case_configuration_default_space.js.map +0 -1
  1110. package/lib/cjs/kibana/schemas/get_case_default_space.d.ts.map +0 -1
  1111. package/lib/cjs/kibana/schemas/get_case_default_space.js.map +0 -1
  1112. package/lib/cjs/kibana/schemas/get_case_reporters_default_space.d.ts +0 -9
  1113. package/lib/cjs/kibana/schemas/get_case_reporters_default_space.d.ts.map +0 -1
  1114. package/lib/cjs/kibana/schemas/get_case_reporters_default_space.js.map +0 -1
  1115. package/lib/cjs/kibana/schemas/get_case_tags_default_space.d.ts +0 -4
  1116. package/lib/cjs/kibana/schemas/get_case_tags_default_space.d.ts.map +0 -1
  1117. package/lib/cjs/kibana/schemas/get_case_tags_default_space.js.map +0 -1
  1118. package/lib/cjs/kibana/schemas/get_case_template_default_space.d.ts.map +0 -1
  1119. package/lib/cjs/kibana/schemas/get_case_template_default_space.js.map +0 -1
  1120. package/lib/cjs/kibana/schemas/get_case_templates_default_space.d.ts.map +0 -1
  1121. package/lib/cjs/kibana/schemas/get_case_templates_default_space.js.map +0 -1
  1122. package/lib/cjs/kibana/schemas/get_cases_by_alert_default_space.d.ts.map +0 -1
  1123. package/lib/cjs/kibana/schemas/get_cases_by_alert_default_space.js.map +0 -1
  1124. package/lib/cjs/kibana/schemas/push_case_default_space.d.ts.map +0 -1
  1125. package/lib/cjs/kibana/schemas/push_case_default_space.js.map +0 -1
  1126. package/lib/cjs/kibana/schemas/set_case_configuration_default_space.d.ts.map +0 -1
  1127. package/lib/cjs/kibana/schemas/set_case_configuration_default_space.js.map +0 -1
  1128. package/lib/cjs/kibana/schemas/update_case_comment_default_space.js.map +0 -1
  1129. package/lib/cjs/kibana/schemas/update_case_configuration_default_space.d.ts.map +0 -1
  1130. package/lib/cjs/kibana/schemas/update_case_configuration_default_space.js.map +0 -1
  1131. package/lib/cjs/kibana/schemas/update_case_default_space.d.ts.map +0 -1
  1132. package/lib/cjs/kibana/schemas/update_case_default_space.js.map +0 -1
  1133. package/lib/cjs/kibana/schemas/update_case_template_default_space.d.ts.map +0 -1
  1134. package/lib/cjs/kibana/schemas/update_case_template_default_space.js.map +0 -1
  1135. package/lib/kibana/json/cases.add-case-comment-default-space.request.json +0 -1
  1136. package/lib/kibana/json/cases.create-case-default-space.request.json +0 -1
  1137. package/lib/kibana/json/cases.create-case-template-default-space.request.json +0 -1
  1138. package/lib/kibana/json/cases.delete-case-comment-default-space.request.json +0 -1
  1139. package/lib/kibana/json/cases.delete-case-comments-default-space.request.json +0 -1
  1140. package/lib/kibana/json/cases.delete-case-template-default-space.request.json +0 -1
  1141. package/lib/kibana/json/cases.find-case-activity-default-space.request.json +0 -1
  1142. package/lib/kibana/json/cases.find-case-comments-default-space.request.json +0 -1
  1143. package/lib/kibana/json/cases.get-applicable-fields-default-space.request.json +0 -1
  1144. package/lib/kibana/json/cases.get-case-alerts-default-space.request.json +0 -1
  1145. package/lib/kibana/json/cases.get-case-applicable-fields-default-space.request.json +0 -1
  1146. package/lib/kibana/json/cases.get-case-comment-default-space.request.json +0 -1
  1147. package/lib/kibana/json/cases.get-case-default-space.request.json +0 -1
  1148. package/lib/kibana/json/cases.get-case-template-default-space.request.json +0 -1
  1149. package/lib/kibana/json/cases.get-cases-by-alert-default-space.request.json +0 -1
  1150. package/lib/kibana/json/cases.push-case-default-space.request.json +0 -1
  1151. package/lib/kibana/json/cases.set-case-configuration-default-space.request.json +0 -1
  1152. package/lib/kibana/json/cases.update-case-comment-default-space.request.json +0 -1
  1153. package/lib/kibana/json/cases.update-case-configuration-default-space.request.json +0 -1
  1154. package/lib/kibana/json/cases.update-case-default-space.request.json +0 -1
  1155. package/lib/kibana/json/cases.update-case-template-default-space.request.json +0 -1
  1156. package/lib/kibana/schemas/add_case_comment_default_space.d.ts.map +0 -1
  1157. package/lib/kibana/schemas/add_case_comment_default_space.js.map +0 -1
  1158. package/lib/kibana/schemas/add_case_file_default_space.d.ts.map +0 -1
  1159. package/lib/kibana/schemas/add_case_file_default_space.js.map +0 -1
  1160. package/lib/kibana/schemas/create_case_default_space.d.ts.map +0 -1
  1161. package/lib/kibana/schemas/create_case_default_space.js.map +0 -1
  1162. package/lib/kibana/schemas/create_case_template_default_space.d.ts.map +0 -1
  1163. package/lib/kibana/schemas/create_case_template_default_space.js.map +0 -1
  1164. package/lib/kibana/schemas/find_case_activity_default_space.d.ts.map +0 -1
  1165. package/lib/kibana/schemas/find_case_activity_default_space.js.map +0 -1
  1166. package/lib/kibana/schemas/find_case_comments_default_space.d.ts.map +0 -1
  1167. package/lib/kibana/schemas/find_case_comments_default_space.js.map +0 -1
  1168. package/lib/kibana/schemas/find_case_connectors_default_space.d.ts.map +0 -1
  1169. package/lib/kibana/schemas/find_case_connectors_default_space.js.map +0 -1
  1170. package/lib/kibana/schemas/find_cases_default_space.d.ts.map +0 -1
  1171. package/lib/kibana/schemas/find_cases_default_space.js.map +0 -1
  1172. package/lib/kibana/schemas/get_applicable_fields_default_space.d.ts.map +0 -1
  1173. package/lib/kibana/schemas/get_applicable_fields_default_space.js.map +0 -1
  1174. package/lib/kibana/schemas/get_case_alerts_default_space.d.ts.map +0 -1
  1175. package/lib/kibana/schemas/get_case_alerts_default_space.js.map +0 -1
  1176. package/lib/kibana/schemas/get_case_applicable_fields_default_space.d.ts.map +0 -1
  1177. package/lib/kibana/schemas/get_case_applicable_fields_default_space.js.map +0 -1
  1178. package/lib/kibana/schemas/get_case_comment_default_space.d.ts.map +0 -1
  1179. package/lib/kibana/schemas/get_case_comment_default_space.js.map +0 -1
  1180. package/lib/kibana/schemas/get_case_configuration_default_space.d.ts.map +0 -1
  1181. package/lib/kibana/schemas/get_case_configuration_default_space.js.map +0 -1
  1182. package/lib/kibana/schemas/get_case_default_space.d.ts.map +0 -1
  1183. package/lib/kibana/schemas/get_case_default_space.js.map +0 -1
  1184. package/lib/kibana/schemas/get_case_reporters_default_space.d.ts +0 -9
  1185. package/lib/kibana/schemas/get_case_reporters_default_space.d.ts.map +0 -1
  1186. package/lib/kibana/schemas/get_case_reporters_default_space.js.map +0 -1
  1187. package/lib/kibana/schemas/get_case_tags_default_space.d.ts +0 -4
  1188. package/lib/kibana/schemas/get_case_tags_default_space.d.ts.map +0 -1
  1189. package/lib/kibana/schemas/get_case_tags_default_space.js.map +0 -1
  1190. package/lib/kibana/schemas/get_case_template_default_space.d.ts.map +0 -1
  1191. package/lib/kibana/schemas/get_case_template_default_space.js.map +0 -1
  1192. package/lib/kibana/schemas/get_case_templates_default_space.d.ts.map +0 -1
  1193. package/lib/kibana/schemas/get_case_templates_default_space.js.map +0 -1
  1194. package/lib/kibana/schemas/get_cases_by_alert_default_space.d.ts.map +0 -1
  1195. package/lib/kibana/schemas/get_cases_by_alert_default_space.js.map +0 -1
  1196. package/lib/kibana/schemas/push_case_default_space.d.ts.map +0 -1
  1197. package/lib/kibana/schemas/push_case_default_space.js.map +0 -1
  1198. package/lib/kibana/schemas/set_case_configuration_default_space.d.ts.map +0 -1
  1199. package/lib/kibana/schemas/set_case_configuration_default_space.js.map +0 -1
  1200. package/lib/kibana/schemas/update_case_comment_default_space.d.ts.map +0 -1
  1201. package/lib/kibana/schemas/update_case_comment_default_space.js.map +0 -1
  1202. package/lib/kibana/schemas/update_case_configuration_default_space.d.ts.map +0 -1
  1203. package/lib/kibana/schemas/update_case_configuration_default_space.js.map +0 -1
  1204. package/lib/kibana/schemas/update_case_default_space.d.ts.map +0 -1
  1205. package/lib/kibana/schemas/update_case_default_space.js.map +0 -1
  1206. package/lib/kibana/schemas/update_case_template_default_space.d.ts.map +0 -1
  1207. package/lib/kibana/schemas/update_case_template_default_space.js.map +0 -1
  1208. package/src/kibana/json/cases.add-case-comment-default-space.request.json +0 -1
  1209. package/src/kibana/json/cases.add-case-comment-default-space.response.json +0 -1
  1210. package/src/kibana/json/cases.add-case-file-default-space.request.json +0 -1
  1211. package/src/kibana/json/cases.add-case-file-default-space.response.json +0 -1
  1212. package/src/kibana/json/cases.create-case-default-space.request.json +0 -1
  1213. package/src/kibana/json/cases.create-case-default-space.response.json +0 -1
  1214. package/src/kibana/json/cases.create-case-template-default-space.request.json +0 -1
  1215. package/src/kibana/json/cases.create-case-template-default-space.response.json +0 -1
  1216. package/src/kibana/json/cases.delete-case-comment-default-space.request.json +0 -1
  1217. package/src/kibana/json/cases.delete-case-comment-default-space.response.json +0 -1
  1218. package/src/kibana/json/cases.delete-case-comments-default-space.request.json +0 -1
  1219. package/src/kibana/json/cases.delete-case-comments-default-space.response.json +0 -1
  1220. package/src/kibana/json/cases.delete-case-default-space.request.json +0 -1
  1221. package/src/kibana/json/cases.delete-case-default-space.response.json +0 -1
  1222. package/src/kibana/json/cases.delete-case-template-default-space.request.json +0 -1
  1223. package/src/kibana/json/cases.delete-case-template-default-space.response.json +0 -1
  1224. package/src/kibana/json/cases.find-case-activity-default-space.request.json +0 -1
  1225. package/src/kibana/json/cases.find-case-activity-default-space.response.json +0 -1
  1226. package/src/kibana/json/cases.find-case-comments-default-space.request.json +0 -1
  1227. package/src/kibana/json/cases.find-case-comments-default-space.response.json +0 -1
  1228. package/src/kibana/json/cases.find-case-connectors-default-space.request.json +0 -1
  1229. package/src/kibana/json/cases.find-case-connectors-default-space.response.json +0 -1
  1230. package/src/kibana/json/cases.find-cases-default-space.request.json +0 -1
  1231. package/src/kibana/json/cases.find-cases-default-space.response.json +0 -1
  1232. package/src/kibana/json/cases.get-applicable-fields-default-space.request.json +0 -1
  1233. package/src/kibana/json/cases.get-applicable-fields-default-space.response.json +0 -1
  1234. package/src/kibana/json/cases.get-case-alerts-default-space.request.json +0 -1
  1235. package/src/kibana/json/cases.get-case-alerts-default-space.response.json +0 -1
  1236. package/src/kibana/json/cases.get-case-applicable-fields-default-space.request.json +0 -1
  1237. package/src/kibana/json/cases.get-case-applicable-fields-default-space.response.json +0 -1
  1238. package/src/kibana/json/cases.get-case-comment-default-space.request.json +0 -1
  1239. package/src/kibana/json/cases.get-case-comment-default-space.response.json +0 -1
  1240. package/src/kibana/json/cases.get-case-configuration-default-space.request.json +0 -1
  1241. package/src/kibana/json/cases.get-case-configuration-default-space.response.json +0 -1
  1242. package/src/kibana/json/cases.get-case-default-space.request.json +0 -1
  1243. package/src/kibana/json/cases.get-case-default-space.response.json +0 -1
  1244. package/src/kibana/json/cases.get-case-reporters-default-space.request.json +0 -1
  1245. package/src/kibana/json/cases.get-case-reporters-default-space.response.json +0 -1
  1246. package/src/kibana/json/cases.get-case-tags-default-space.request.json +0 -1
  1247. package/src/kibana/json/cases.get-case-tags-default-space.response.json +0 -1
  1248. package/src/kibana/json/cases.get-case-template-default-space.request.json +0 -1
  1249. package/src/kibana/json/cases.get-case-template-default-space.response.json +0 -1
  1250. package/src/kibana/json/cases.get-case-templates-default-space.request.json +0 -1
  1251. package/src/kibana/json/cases.get-case-templates-default-space.response.json +0 -1
  1252. package/src/kibana/json/cases.get-cases-by-alert-default-space.request.json +0 -1
  1253. package/src/kibana/json/cases.get-cases-by-alert-default-space.response.json +0 -1
  1254. package/src/kibana/json/cases.push-case-default-space.request.json +0 -1
  1255. package/src/kibana/json/cases.push-case-default-space.response.json +0 -1
  1256. package/src/kibana/json/cases.set-case-configuration-default-space.request.json +0 -1
  1257. package/src/kibana/json/cases.set-case-configuration-default-space.response.json +0 -1
  1258. package/src/kibana/json/cases.update-case-comment-default-space.request.json +0 -1
  1259. package/src/kibana/json/cases.update-case-comment-default-space.response.json +0 -1
  1260. package/src/kibana/json/cases.update-case-configuration-default-space.request.json +0 -1
  1261. package/src/kibana/json/cases.update-case-configuration-default-space.response.json +0 -1
  1262. package/src/kibana/json/cases.update-case-default-space.request.json +0 -1
  1263. package/src/kibana/json/cases.update-case-default-space.response.json +0 -1
  1264. package/src/kibana/json/cases.update-case-template-default-space.request.json +0 -1
  1265. package/src/kibana/json/cases.update-case-template-default-space.response.json +0 -1
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security._types__GrantType":{"enum":["password","access_token"]},"security._types__UserProfileWithMetadata":{"type":"object","properties":{"uid":{"type":"string"},"user":{"$ref":"./security._types.json#/$defs/security._types__UserProfileUser"},"data":{"type":"object","additionalProperties":{}},"labels":{"type":"object","additionalProperties":{}},"enabled":{"type":"boolean"},"last_synchronized":{"type":"number"},"_doc":{"$ref":"./security._types.json#/$defs/security._types__UserProfileHitMetadata"}},"required":["uid","user","data","labels","last_synchronized","_doc"]},"security._types__UserProfileUser":{"type":"object","properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"realm_name":{"type":"string"},"realm_domain":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"username":{"type":"string"}},"required":["realm_name","roles","username"]},"security._types__UserProfileHitMetadata":{"type":"object","properties":{"_primary_term":{"type":"number"},"_seq_no":{"type":"number"}},"required":["_primary_term","_seq_no"]},"security._types__CredentialManagedBy":{"enum":["cloud","elasticsearch"]},"security._types__RealmInfo":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"]},"security._types__BulkError":{"type":"object","properties":{"count":{"type":"number","description":"The number of errors"},"details":{"type":"object","additionalProperties":{"$ref":"./_types.json#/$defs/_types__ErrorCause"},"description":"Details about the errors, keyed by role name"}},"required":["count","details"]},"security._types__RoleDescriptor":{"type":"object","properties":{"cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ClusterPrivilege"},"description":"A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute."},"indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivileges"},"description":"A list of indices permissions entries."},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"},"description":"A list of indices permissions for remote clusters.","x-availability":{"stack":{"since":"8.14.0"}}},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"},"description":"A list of cluster permissions for remote clusters.\nNOTE: This is limited a subset of the cluster permissions.","x-availability":{"stack":{"since":"8.15.0"}}},"global":{"anyOf":[{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege"}},{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege"}],"description":"An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware.","x-availability":{"stack":{}}},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"},"description":"A list of application privilege entries"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Optional meta-data. Within the metadata object, keys that begin with `_` are reserved for system usage."},"run_as":{"type":"array","items":{"type":"string"},"description":"A list of users that the API keys can impersonate.\nNOTE: In Elastic Cloud Serverless, the run-as feature is disabled.\nFor API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected."},"description":{"type":"string","description":"Optional description of the role descriptor"},"restriction":{"$ref":"./security._types.json#/$defs/security._types__Restriction","description":"Restriction for when the role descriptor is allowed to be effective."},"transient_metadata":{"type":"object","additionalProperties":{}}}},"security._types__ClusterPrivilege":{"anyOf":[{"enum":["all","cancel_task","create_snapshot","cross_cluster_replication","cross_cluster_search","delegate_pki","grant_api_key","manage","manage_api_key","manage_autoscaling","manage_behavioral_analytics","manage_ccr","manage_data_frame_transforms","manage_data_stream_global_retention","manage_enrich","manage_esql","manage_ilm","manage_index_templates","manage_inference","manage_ingest_pipelines","manage_logstash_pipelines","manage_ml","manage_oidc","manage_own_api_key","manage_pipeline","manage_reindex","manage_rollup","manage_saml","manage_search_application","manage_search_query_rules","manage_search_synonyms","manage_security","manage_service_account","manage_slm","manage_token","manage_transform","manage_user_profile","manage_watcher","monitor","monitor_data_frame_transforms","monitor_data_stream_global_retention","monitor_enrich","monitor_esql","monitor_inference","monitor_ml","monitor_reindex","monitor_rollup","monitor_snapshot","monitor_stats","monitor_text_structure","monitor_transform","monitor_watcher","none","post_behavioral_analytics_event","read_ccr","read_fleet_secrets","read_ilm","read_pipeline","read_security","read_slm","transport_client","write_connector_secrets","write_fleet_secrets","read_project_routing","manage_project_routing"]},{"type":"string"}]},"security._types__IndicesPrivileges":{"type":"object","properties":{"field_security":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity","description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndexPrivilege"},"description":"The index level privileges that owners of the role have on the specified indices."},"query":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery","description":"A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.","x-availability":{"stack":{}}}},"required":["names","privileges"]},"security._types__FieldSecurity":{"type":"object","properties":{"except":{"$ref":"./_types.json#/$defs/_types__Fields"},"grant":{"$ref":"./_types.json#/$defs/_types__Fields"}}},"security._types__IndexPrivilege":{"anyOf":[{"enum":["all","auto_configure","create","create_doc","create_index","create_view","cross_cluster_replication","cross_cluster_replication_internal","delete","delete_index","delete_view","index","maintenance","manage","manage_data_stream_lifecycle","manage_follow_index","manage_ilm","manage_leader_index","manage_view","monitor","none","read","read_cross_cluster","read_view_metadata","view_index_metadata","write"]},{"type":"string"}]},"security._types__IndicesPrivilegesQuery":{"anyOf":[{"type":"string"},{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer"},{"$ref":"./security._types.json#/$defs/security._types__RoleTemplateQuery"}],"description":"While creating or updating a role you can provide either a JSON structure or a string to the API.\nHowever, the response provided by Elasticsearch will only be string with a json-as-text content.\n\nSince this is embedded in `IndicesPrivileges`, the same structure is used for clarity in both contexts."},"security._types__RoleTemplateQuery":{"type":"object","properties":{"template":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplateScript","description":"When you create a role, you can specify a query that defines the document level security permissions. You can optionally\nuse Mustache templates in the role query to insert the username of the current authenticated user into the role.\nLike other places in Elasticsearch that support templating or scripting, you can specify inline, stored, or file-based\ntemplates and define custom parameters. You access the details for the current authenticated user through the _user parameter."}}},"security._types__RoleTemplateScript":{"type":"object","properties":{"source":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplateInlineQuery"},"id":{"type":"string","description":"The `id` for a stored script."},"params":{"type":"object","additionalProperties":{},"description":"Specifies any named parameters that are passed into the script as variables.\nUse parameters instead of hard-coded values to decrease compile time."},"lang":{"$ref":"./_types.json#/$defs/_types__ScriptLanguage","description":"Specifies the language the script is written in."},"options":{"type":"object","additionalProperties":{"type":"string"}}}},"security._types__RoleTemplateInlineQuery":{"anyOf":[{"type":"string"},{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer"}]},"security._types__RemoteIndicesPrivileges":{"type":"object","properties":{"clusters":{"$ref":"./_types.json#/$defs/_types__Names","description":"A list of cluster aliases to which the permissions in this entry apply."},"field_security":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity","description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndexPrivilege"},"description":"The index level privileges that owners of the role have on the specified indices."},"query":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery","description":"A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.","x-availability":{"stack":{}}}},"required":["clusters","names","privileges"],"description":"The subset of index level privileges that can be defined for remote clusters."},"security._types__RemoteClusterPrivileges":{"type":"object","properties":{"clusters":{"$ref":"./_types.json#/$defs/_types__Names","description":"A list of cluster aliases to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivilege"},"description":"The cluster level privileges that owners of the role have on the remote cluster."}},"required":["clusters","privileges"],"description":"The subset of cluster level privileges that can be defined for remote clusters."},"security._types__RemoteClusterPrivilege":{"enum":["monitor_enrich","monitor_stats"]},"security._types__GlobalPrivilege":{"type":"object","properties":{"application":{"$ref":"./security._types.json#/$defs/security._types__ApplicationGlobalUserPrivileges"},"data_source":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__DataSourcePrivileges"},"description":"A list of data source privilege entries, used to grant access to ES|QL data sources.","x-availability":{"stack":{"since":"9.5.0"}}}},"required":["application"]},"security._types__ApplicationGlobalUserPrivileges":{"type":"object","properties":{"manage":{"$ref":"./security._types.json#/$defs/security._types__ManageUserPrivileges"}},"required":["manage"]},"security._types__ManageUserPrivileges":{"type":"object","properties":{"applications":{"type":"array","items":{"type":"string"}}},"required":["applications"]},"security._types__DataSourcePrivileges":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"},"description":"A list of data source names or wildcard patterns to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__DataSourcePrivilege"},"description":"The data source privileges that owners of the role have for the specified data sources."}},"required":["names","privileges"]},"security._types__DataSourcePrivilege":{"anyOf":[{"enum":["create","delete","read_metadata","read","manage"]},{"type":"string"}]},"security._types__ApplicationPrivileges":{"type":"object","properties":{"application":{"type":"string","description":"The name of the application to which this entry applies."},"privileges":{"type":"array","items":{"type":"string"},"description":"A list of strings, where each element is the name of an application privilege or action."},"resources":{"type":"array","items":{"type":"string"},"description":"A list resources to which the privileges are applied."}},"required":["application","privileges","resources"]},"security._types__Restriction":{"type":"object","properties":{"workflows":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RestrictionWorkflow"},"description":"A list of workflows to which the API key is restricted.\nNOTE: In order to use a role restriction, an API key must be created with a single role descriptor."}},"required":["workflows"]},"security._types__RestrictionWorkflow":{"anyOf":[{"enum":["search_application_query"]},{"type":"string"}]},"security._types__ClusterNode":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"security._types__Access":{"type":"object","properties":{"replication":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ReplicationAccess"},"description":"A list of indices permission entries for cross-cluster replication."},"search":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__SearchAccess"},"description":"A list of indices permission entries for cross-cluster search."}}},"security._types__ReplicationAccess":{"type":"object","properties":{"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"allow_restricted_indices":{"type":"boolean","description":"This needs to be set to true if the patterns in the names field should cover system indices."}},"required":["names"]},"security._types__SearchAccess":{"type":"object","properties":{"field_security":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity","description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"query":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery","description":"A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.","x-availability":{"stack":{}}}},"required":["names"]},"security._types__ApiKey":{"type":"object","properties":{"id":{"type":"string","description":"Id for the API key"},"name":{"type":"string","description":"Name of the API key."},"type":{"$ref":"./security._types.json#/$defs/security._types__ApiKeyType","description":"The type of the API key (e.g. `rest` or `cross_cluster`).","x-availability":{"stack":{"since":"8.10.0"},"serverless":{}}},"creation":{"description":"Creation time for the API key in milliseconds."},"expiration":{"description":"Expiration time for the API key in milliseconds."},"invalidated":{"type":"boolean","description":"Invalidation status for the API key.\nIf the key has been invalidated, it has a value of `true`. Otherwise, it is `false`."},"invalidation":{"description":"If the key has been invalidated, invalidation time in milliseconds.","x-availability":{"stack":{"since":"8.12.0"},"serverless":{}}},"username":{"type":"string","description":"Principal for which this API key was created"},"realm":{"type":"string","description":"Realm name of the principal for which this API key was created."},"realm_type":{"type":"string","description":"Realm type of the principal for which this API key was created","x-availability":{"stack":{"since":"8.14.0"},"serverless":{}}},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Metadata of the API key","x-availability":{"stack":{"since":"7.13.0"},"serverless":{}}},"role_descriptors":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"},"description":"The role descriptors assigned to this API key when it was created or last updated.\nAn empty role descriptor means the API key inherits the owner user’s permissions."},"limited_by":{"type":"array","items":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"}},"description":"The owner user’s permissions associated with the API key.\nIt is a point-in-time snapshot captured at creation and subsequent updates.\nAn API key’s effective permissions are an intersection of its assigned privileges and the owner user’s permissions.","x-availability":{"stack":{"since":"8.5.0"},"serverless":{}}},"access":{"$ref":"./security._types.json#/$defs/security._types__Access","description":"The access granted to cross-cluster API keys.\nThe access is composed of permissions for cross cluster search and cross cluster replication.\nAt least one of them must be specified.\nWhen specified, the new access assignment fully replaces the previously assigned access.","x-availability":{"stack":{"since":"8.10.0"},"serverless":{}}},"certificate_identity":{"type":"string","description":"The certificate identity associated with a cross-cluster API key.\nRestricts the API key to connections authenticated by a specific TLS certificate.\nOnly applicable to cross-cluster API keys.","x-availability":{"stack":{"since":"9.3.0"}}},"profile_uid":{"type":"string","description":"The profile uid for the API key owner principal, if requested and if it exists","x-availability":{"stack":{"since":"8.14.0"},"serverless":{}}},"_sort":{"$ref":"./_types.json#/$defs/_types__SortResults","description":"Sorting values when using the `sort` parameter with the `security.query_api_keys` API."}},"required":["id","name","type","creation","invalidated","username","realm","metadata"]},"security._types__ApiKeyType":{"enum":["rest","cross_cluster"]},"security._types__RoleTemplate":{"type":"object","properties":{"format":{"$ref":"./security._types.json#/$defs/security._types__TemplateFormat"},"template":{"$ref":"./_types.json#/$defs/_types__Script"}},"required":["template"]},"security._types__TemplateFormat":{"enum":["string","json"]},"security._types__RoleMapping":{"type":"object","properties":{"enabled":{"type":"boolean"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"roles":{"type":"array","items":{"type":"string"}},"role_templates":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplate"}},"rules":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule"}},"required":["enabled","metadata","rules"]},"security._types__RoleMappingRule":{"type":"object","properties":{"any":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule"}},"all":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule"}},"field":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"./_types.json#/$defs/_types__FieldValue"},{"type":"array","items":{"$ref":"./_types.json#/$defs/_types__FieldValue"}}]},"minProperties":1,"maxProperties":1},"except":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule"}}},"security._types__RoleDescriptorRead":{"type":"object","properties":{"cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ClusterPrivilege"},"description":"A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute."},"indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivileges"},"description":"A list of indices permissions entries."},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"},"description":"A list of indices permissions for remote clusters.","x-availability":{"stack":{"since":"8.14.0"}}},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"},"description":"A list of cluster permissions for remote clusters.\nNOTE: This is limited a subset of the cluster permissions.","x-availability":{"stack":{"since":"8.15.0"}}},"global":{"anyOf":[{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege"}},{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege"}],"description":"An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware.","x-availability":{"stack":{}}},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"},"description":"A list of application privilege entries"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Optional meta-data. Within the metadata object, keys that begin with `_` are reserved for system usage."},"run_as":{"type":"array","items":{"type":"string"},"description":"A list of users that the API keys can impersonate.\nNOTE: In Elastic Cloud Serverless, the run-as feature is disabled.\nFor API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected."},"description":{"type":"string","description":"Optional description of the role descriptor"},"restriction":{"$ref":"./security._types.json#/$defs/security._types__Restriction","description":"Restriction for when the role descriptor is allowed to be effective."},"transient_metadata":{"type":"object","additionalProperties":{}}},"required":["cluster","indices"]},"security._types__SecuritySettings":{"type":"object","properties":{"index":{"$ref":"./indices._types.json#/$defs/indices._types__IndexSettings"}}},"security._types__NodeSecurityStats":{"type":"object","properties":{"roles":{"$ref":"./security._types.json#/$defs/security._types__RolesStats","description":"Role statistics."}},"required":["roles"]},"security._types__RolesStats":{"type":"object","properties":{"dls":{"$ref":"./xpack.usage.json#/$defs/xpack.usage__SecurityRolesDls","description":"Document-level security (DLS) statistics."}},"required":["dls"]},"security._types__User":{"type":"object","properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"roles":{"type":"array","items":{"type":"string"}},"username":{"type":"string"},"enabled":{"type":"boolean"},"profile_uid":{"type":"string"}},"required":["metadata","roles","username","enabled"]},"security._types__UserIndicesPrivileges":{"type":"object","properties":{"field_security":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity"},"description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndexPrivilege"},"description":"The index level privileges that owners of the role have on the specified indices."},"query":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery"},"description":"Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`."}},"required":["names","privileges","allow_restricted_indices"]},"security._types__RemoteUserIndicesPrivileges":{"type":"object","properties":{"clusters":{"type":"array","items":{"type":"string"}},"field_security":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity"},"description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndexPrivilege"},"description":"The index level privileges that owners of the role have on the specified indices."},"query":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery"},"description":"Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`."}},"required":["clusters","names","privileges","allow_restricted_indices"]},"security._types__CreatedStatus":{"type":"object","properties":{"created":{"type":"boolean"}},"required":["created"]},"security._types__UserProfile":{"type":"object","properties":{"uid":{"type":"string"},"user":{"$ref":"./security._types.json#/$defs/security._types__UserProfileUser"},"data":{"type":"object","additionalProperties":{}},"labels":{"type":"object","additionalProperties":{}},"enabled":{"type":"boolean"}},"required":["uid","user","data","labels"]}}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security._types__GrantType":{"enum":["password","access_token"]},"security._types__UserProfileWithMetadata":{"type":"object","properties":{"uid":{"type":"string"},"user":{"$ref":"./security._types.json#/$defs/security._types__UserProfileUser"},"data":{"type":"object","additionalProperties":{}},"labels":{"type":"object","additionalProperties":{}},"enabled":{"type":"boolean"},"last_synchronized":{"type":"number"},"_doc":{"$ref":"./security._types.json#/$defs/security._types__UserProfileHitMetadata"}},"required":["uid","user","data","labels","last_synchronized","_doc"]},"security._types__UserProfileUser":{"type":"object","properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"realm_name":{"type":"string"},"realm_domain":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"username":{"type":"string"}},"required":["realm_name","roles","username"]},"security._types__UserProfileHitMetadata":{"type":"object","properties":{"_primary_term":{"type":"number"},"_seq_no":{"type":"number"}},"required":["_primary_term","_seq_no"]},"security._types__CredentialManagedBy":{"enum":["cloud","elasticsearch"]},"security._types__RealmInfo":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"]},"security._types__BulkError":{"type":"object","properties":{"count":{"type":"number","description":"The number of errors"},"details":{"type":"object","additionalProperties":{"$ref":"./_types.json#/$defs/_types__ErrorCause"},"description":"Details about the errors, keyed by role name"}},"required":["count","details"]},"security._types__RoleDescriptor":{"type":"object","properties":{"cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ClusterPrivilege"},"description":"A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute."},"indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivileges"},"description":"A list of indices permissions entries."},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"},"description":"A list of indices permissions for remote clusters.","x-availability":{"stack":{"since":"8.14.0"}}},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"},"description":"A list of cluster permissions for remote clusters.\nNOTE: This is limited a subset of the cluster permissions.","x-availability":{"stack":{"since":"8.15.0"}}},"global":{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege","description":"An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware.","x-availability":{"stack":{}}},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"},"description":"A list of application privilege entries"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Optional meta-data. Within the metadata object, keys that begin with `_` are reserved for system usage."},"run_as":{"type":"array","items":{"type":"string"},"description":"A list of users that the API keys can impersonate.\nNOTE: In Elastic Cloud Serverless, the run-as feature is disabled.\nFor API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected."},"description":{"type":"string","description":"Optional description of the role descriptor"},"restriction":{"$ref":"./security._types.json#/$defs/security._types__Restriction","description":"Restriction for when the role descriptor is allowed to be effective."},"transient_metadata":{"type":"object","additionalProperties":{}}}},"security._types__ClusterPrivilege":{"anyOf":[{"enum":["all","cancel_task","create_snapshot","cross_cluster_replication","cross_cluster_search","delegate_pki","grant_api_key","manage","manage_api_key","manage_autoscaling","manage_behavioral_analytics","manage_ccr","manage_data_frame_transforms","manage_data_stream_global_retention","manage_enrich","manage_esql","manage_ilm","manage_index_templates","manage_inference","manage_ingest_pipelines","manage_logstash_pipelines","manage_ml","manage_oidc","manage_own_api_key","manage_pipeline","manage_reindex","manage_rollup","manage_saml","manage_search_application","manage_search_query_rules","manage_search_synonyms","manage_security","manage_service_account","manage_slm","manage_token","manage_transform","manage_user_profile","manage_watcher","monitor","monitor_data_frame_transforms","monitor_data_stream_global_retention","monitor_enrich","monitor_esql","monitor_inference","monitor_ml","monitor_reindex","monitor_rollup","monitor_snapshot","monitor_stats","monitor_text_structure","monitor_transform","monitor_watcher","none","post_behavioral_analytics_event","read_ccr","read_fleet_secrets","read_ilm","read_pipeline","read_security","read_slm","transport_client","write_connector_secrets","write_fleet_secrets","read_project_routing","manage_project_routing"]},{"type":"string"}]},"security._types__IndicesPrivileges":{"type":"object","properties":{"field_security":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity","description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndexPrivilege"},"description":"The index level privileges that owners of the role have on the specified indices."},"query":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery","description":"A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.","x-availability":{"stack":{}}}},"required":["names","privileges"]},"security._types__FieldSecurity":{"type":"object","properties":{"except":{"$ref":"./_types.json#/$defs/_types__Fields"},"grant":{"$ref":"./_types.json#/$defs/_types__Fields"}}},"security._types__IndexPrivilege":{"anyOf":[{"enum":["all","auto_configure","create","create_doc","create_index","create_view","cross_cluster_replication","cross_cluster_replication_internal","delete","delete_index","delete_view","index","maintenance","manage","manage_data_stream_lifecycle","manage_follow_index","manage_ilm","manage_leader_index","manage_view","monitor","none","read","read_cross_cluster","read_view_metadata","view_index_metadata","write"]},{"type":"string"}]},"security._types__IndicesPrivilegesQuery":{"anyOf":[{"type":"string"},{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer"},{"$ref":"./security._types.json#/$defs/security._types__RoleTemplateQuery"}],"description":"While creating or updating a role you can provide either a JSON structure or a string to the API.\nHowever, the response provided by Elasticsearch will only be string with a json-as-text content.\n\nSince this is embedded in `IndicesPrivileges`, the same structure is used for clarity in both contexts."},"security._types__RoleTemplateQuery":{"type":"object","properties":{"template":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplateScript","description":"When you create a role, you can specify a query that defines the document level security permissions. You can optionally\nuse Mustache templates in the role query to insert the username of the current authenticated user into the role.\nLike other places in Elasticsearch that support templating or scripting, you can specify inline, stored, or file-based\ntemplates and define custom parameters. You access the details for the current authenticated user through the _user parameter."}}},"security._types__RoleTemplateScript":{"type":"object","properties":{"source":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplateInlineQuery"},"id":{"type":"string","description":"The `id` for a stored script."},"params":{"type":"object","additionalProperties":{},"description":"Specifies any named parameters that are passed into the script as variables.\nUse parameters instead of hard-coded values to decrease compile time."},"lang":{"$ref":"./_types.json#/$defs/_types__ScriptLanguage","description":"Specifies the language the script is written in."},"options":{"type":"object","additionalProperties":{"type":"string"}}}},"security._types__RoleTemplateInlineQuery":{"anyOf":[{"type":"string"},{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer"}]},"security._types__RemoteIndicesPrivileges":{"type":"object","properties":{"clusters":{"$ref":"./_types.json#/$defs/_types__Names","description":"A list of cluster aliases to which the permissions in this entry apply."},"field_security":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity","description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndexPrivilege"},"description":"The index level privileges that owners of the role have on the specified indices."},"query":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery","description":"A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.","x-availability":{"stack":{}}}},"required":["clusters","names","privileges"],"description":"The subset of index level privileges that can be defined for remote clusters."},"security._types__RemoteClusterPrivileges":{"type":"object","properties":{"clusters":{"$ref":"./_types.json#/$defs/_types__Names","description":"A list of cluster aliases to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivilege"},"description":"The cluster level privileges that owners of the role have on the remote cluster."}},"required":["clusters","privileges"],"description":"The subset of cluster level privileges that can be defined for remote clusters."},"security._types__RemoteClusterPrivilege":{"enum":["monitor_enrich","monitor_stats"]},"security._types__GlobalPrivilege":{"type":"object","properties":{"application":{"$ref":"./security._types.json#/$defs/security._types__ApplicationGlobalUserPrivileges"},"data_source":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__DataSourcePrivileges"},"description":"A list of data source privilege entries, used to grant access to ES|QL data sources.","x-availability":{"stack":{"since":"9.5.0"}}}},"required":["application"]},"security._types__ApplicationGlobalUserPrivileges":{"type":"object","properties":{"manage":{"$ref":"./security._types.json#/$defs/security._types__ManageUserPrivileges"}},"required":["manage"]},"security._types__ManageUserPrivileges":{"type":"object","properties":{"applications":{"type":"array","items":{"type":"string"}}},"required":["applications"]},"security._types__DataSourcePrivileges":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"},"description":"A list of data source names or wildcard patterns to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__DataSourcePrivilege"},"description":"The data source privileges that owners of the role have for the specified data sources."}},"required":["names","privileges"]},"security._types__DataSourcePrivilege":{"anyOf":[{"enum":["create","delete","read_metadata","read","manage"]},{"type":"string"}]},"security._types__ApplicationPrivileges":{"type":"object","properties":{"application":{"type":"string","description":"The name of the application to which this entry applies."},"privileges":{"type":"array","items":{"type":"string"},"description":"A list of strings, where each element is the name of an application privilege or action."},"resources":{"type":"array","items":{"type":"string"},"description":"A list resources to which the privileges are applied."}},"required":["application","privileges","resources"]},"security._types__Restriction":{"type":"object","properties":{"workflows":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RestrictionWorkflow"},"description":"A list of workflows to which the API key is restricted.\nNOTE: In order to use a role restriction, an API key must be created with a single role descriptor."}},"required":["workflows"]},"security._types__RestrictionWorkflow":{"anyOf":[{"enum":["search_application_query"]},{"type":"string"}]},"security._types__ClusterNode":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"security._types__Access":{"type":"object","properties":{"replication":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ReplicationAccess"},"description":"A list of indices permission entries for cross-cluster replication."},"search":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__SearchAccess"},"description":"A list of indices permission entries for cross-cluster search."}}},"security._types__ReplicationAccess":{"type":"object","properties":{"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"allow_restricted_indices":{"type":"boolean","description":"This needs to be set to true if the patterns in the names field should cover system indices."}},"required":["names"]},"security._types__SearchAccess":{"type":"object","properties":{"field_security":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity","description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"query":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery","description":"A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.","x-availability":{"stack":{}}}},"required":["names"]},"security._types__ApiKey":{"type":"object","properties":{"id":{"type":"string","description":"Id for the API key"},"name":{"type":"string","description":"Name of the API key."},"type":{"$ref":"./security._types.json#/$defs/security._types__ApiKeyType","description":"The type of the API key (e.g. `rest` or `cross_cluster`).","x-availability":{"stack":{"since":"8.10.0"},"serverless":{}}},"creation":{"description":"Creation time for the API key in milliseconds."},"expiration":{"description":"Expiration time for the API key in milliseconds."},"invalidated":{"type":"boolean","description":"Invalidation status for the API key.\nIf the key has been invalidated, it has a value of `true`. Otherwise, it is `false`."},"invalidation":{"description":"If the key has been invalidated, invalidation time in milliseconds.","x-availability":{"stack":{"since":"8.12.0"},"serverless":{}}},"username":{"type":"string","description":"Principal for which this API key was created"},"realm":{"type":"string","description":"Realm name of the principal for which this API key was created."},"realm_type":{"type":"string","description":"Realm type of the principal for which this API key was created","x-availability":{"stack":{"since":"8.14.0"},"serverless":{}}},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Metadata of the API key","x-availability":{"stack":{"since":"7.13.0"},"serverless":{}}},"role_descriptors":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"},"description":"The role descriptors assigned to this API key when it was created or last updated.\nAn empty role descriptor means the API key inherits the owner user’s permissions."},"limited_by":{"type":"array","items":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"}},"description":"The owner user’s permissions associated with the API key.\nIt is a point-in-time snapshot captured at creation and subsequent updates.\nAn API key’s effective permissions are an intersection of its assigned privileges and the owner user’s permissions.","x-availability":{"stack":{"since":"8.5.0"},"serverless":{}}},"access":{"$ref":"./security._types.json#/$defs/security._types__Access","description":"The access granted to cross-cluster API keys.\nThe access is composed of permissions for cross cluster search and cross cluster replication.\nAt least one of them must be specified.\nWhen specified, the new access assignment fully replaces the previously assigned access.","x-availability":{"stack":{"since":"8.10.0"},"serverless":{}}},"certificate_identity":{"type":"string","description":"The certificate identity associated with a cross-cluster API key.\nRestricts the API key to connections authenticated by a specific TLS certificate.\nOnly applicable to cross-cluster API keys.","x-availability":{"stack":{"since":"9.3.0"}}},"profile_uid":{"type":"string","description":"The profile uid for the API key owner principal, if requested and if it exists","x-availability":{"stack":{"since":"8.14.0"},"serverless":{}}},"_sort":{"$ref":"./_types.json#/$defs/_types__SortResults","description":"Sorting values when using the `sort` parameter with the `security.query_api_keys` API."}},"required":["id","name","type","creation","invalidated","username","realm","metadata"]},"security._types__ApiKeyType":{"enum":["rest","cross_cluster"]},"security._types__RoleTemplate":{"type":"object","properties":{"format":{"$ref":"./security._types.json#/$defs/security._types__TemplateFormat"},"template":{"$ref":"./_types.json#/$defs/_types__Script"}},"required":["template"]},"security._types__TemplateFormat":{"enum":["string","json"]},"security._types__RoleMapping":{"type":"object","properties":{"enabled":{"type":"boolean"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"roles":{"type":"array","items":{"type":"string"}},"role_templates":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplate"}},"rules":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule"}},"required":["enabled","metadata","rules"]},"security._types__RoleMappingRule":{"type":"object","properties":{"any":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule"}},"all":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule"}},"field":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"./_types.json#/$defs/_types__FieldValue"},{"type":"array","items":{"$ref":"./_types.json#/$defs/_types__FieldValue"}}]},"minProperties":1,"maxProperties":1},"except":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule"}}},"security._types__RoleDescriptorRead":{"type":"object","properties":{"cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ClusterPrivilege"},"description":"A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute."},"indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivileges"},"description":"A list of indices permissions entries."},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"},"description":"A list of indices permissions for remote clusters.","x-availability":{"stack":{"since":"8.14.0"}}},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"},"description":"A list of cluster permissions for remote clusters.\nNOTE: This is limited a subset of the cluster permissions.","x-availability":{"stack":{"since":"8.15.0"}}},"global":{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege","description":"An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware.","x-availability":{"stack":{}}},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"},"description":"A list of application privilege entries"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Optional meta-data. Within the metadata object, keys that begin with `_` are reserved for system usage."},"run_as":{"type":"array","items":{"type":"string"},"description":"A list of users that the API keys can impersonate.\nNOTE: In Elastic Cloud Serverless, the run-as feature is disabled.\nFor API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected."},"description":{"type":"string","description":"Optional description of the role descriptor"},"restriction":{"$ref":"./security._types.json#/$defs/security._types__Restriction","description":"Restriction for when the role descriptor is allowed to be effective."},"transient_metadata":{"type":"object","additionalProperties":{}}},"required":["cluster","indices"]},"security._types__SecuritySettings":{"type":"object","properties":{"index":{"$ref":"./indices._types.json#/$defs/indices._types__IndexSettings"}}},"security._types__NodeSecurityStats":{"type":"object","properties":{"roles":{"$ref":"./security._types.json#/$defs/security._types__RolesStats","description":"Role statistics."}},"required":["roles"]},"security._types__RolesStats":{"type":"object","properties":{"dls":{"$ref":"./xpack.usage.json#/$defs/xpack.usage__SecurityRolesDls","description":"Document-level security (DLS) statistics."}},"required":["dls"]},"security._types__User":{"type":"object","properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"roles":{"type":"array","items":{"type":"string"}},"username":{"type":"string"},"enabled":{"type":"boolean"},"profile_uid":{"type":"string"}},"required":["metadata","roles","username","enabled"]},"security._types__UserIndicesPrivileges":{"type":"object","properties":{"field_security":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity"},"description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndexPrivilege"},"description":"The index level privileges that owners of the role have on the specified indices."},"query":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery"},"description":"Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`."}},"required":["names","privileges","allow_restricted_indices"]},"security._types__RemoteUserIndicesPrivileges":{"type":"object","properties":{"clusters":{"type":"array","items":{"type":"string"}},"field_security":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__FieldSecurity"},"description":"The document fields that the owners of the role have read access to."},"names":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A list of indices (or index name patterns) to which the permissions in this entry apply."},"privileges":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndexPrivilege"},"description":"The index level privileges that owners of the role have on the specified indices."},"query":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivilegesQuery"},"description":"Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role."},"allow_restricted_indices":{"type":"boolean","description":"Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`."}},"required":["clusters","names","privileges","allow_restricted_indices"]},"security._types__CreatedStatus":{"type":"object","properties":{"created":{"type":"boolean"}},"required":["created"]},"security._types__UserProfile":{"type":"object","properties":{"uid":{"type":"string"},"user":{"$ref":"./security._types.json#/$defs/security._types__UserProfileUser"},"data":{"type":"object","additionalProperties":{}},"labels":{"type":"object","additionalProperties":{}},"enabled":{"type":"boolean"}},"required":["uid","user","data","labels"]}}}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.query_role__RoleQueryContainer":{"type":"object","properties":{"bool":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__BoolQuery","description":"matches roles matching boolean combinations of other queries."},"exists":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__ExistsQuery","description":"Returns roles that contain an indexed value for a field."},"ids":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__IdsQuery","description":"Returns roles based on their IDs.\nThis query uses role document IDs stored in the `_id` field."},"match":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__MatchQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching."},"match_all":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__MatchAllQuery","description":"Matches all roles, giving them all a `_score` of 1.0."},"prefix":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__PrefixQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that contain a specific prefix in a provided field."},"range":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__RangeQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that contain terms within a provided range."},"simple_query_string":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__SimpleQueryStringQuery","description":"Returns roles based on a provided query string, using a parser with a limited but fault-tolerant syntax."},"term":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__TermQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that contain an exact term in a provided field.\nTo return a document, the query term must exactly match the queried field's value, including whitespace and capitalization."},"terms":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__TermsQuery","description":"Returns roles that contain one or more exact terms in a provided field.\nTo return a document, one or more terms must exactly match a field value, including whitespace and capitalization."},"wildcard":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__WildcardQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that contain terms matching a wildcard pattern."}}},"security.query_role__QueryRole":{"type":"object","properties":{"cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ClusterPrivilege"},"description":"A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute."},"indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivileges"},"description":"A list of indices permissions entries."},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"},"description":"A list of indices permissions for remote clusters.","x-availability":{"stack":{"since":"8.14.0"}}},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"},"description":"A list of cluster permissions for remote clusters.\nNOTE: This is limited a subset of the cluster permissions.","x-availability":{"stack":{"since":"8.15.0"}}},"global":{"anyOf":[{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege"}},{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege"}],"description":"An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware.","x-availability":{"stack":{}}},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"},"description":"A list of application privilege entries"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Optional meta-data. Within the metadata object, keys that begin with `_` are reserved for system usage."},"run_as":{"type":"array","items":{"type":"string"},"description":"A list of users that the API keys can impersonate.\nNOTE: In Elastic Cloud Serverless, the run-as feature is disabled.\nFor API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected."},"description":{"type":"string","description":"Optional description of the role descriptor"},"restriction":{"$ref":"./security._types.json#/$defs/security._types__Restriction","description":"Restriction for when the role descriptor is allowed to be effective."},"transient_metadata":{"type":"object","additionalProperties":{}},"_sort":{"$ref":"./_types.json#/$defs/_types__SortResults"},"name":{"type":"string","description":"Name of the role."}},"required":["name"]}}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.query_role__RoleQueryContainer":{"type":"object","properties":{"bool":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__BoolQuery","description":"matches roles matching boolean combinations of other queries."},"exists":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__ExistsQuery","description":"Returns roles that contain an indexed value for a field."},"ids":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__IdsQuery","description":"Returns roles based on their IDs.\nThis query uses role document IDs stored in the `_id` field."},"match":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__MatchQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching."},"match_all":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__MatchAllQuery","description":"Matches all roles, giving them all a `_score` of 1.0."},"prefix":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__PrefixQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that contain a specific prefix in a provided field."},"range":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__RangeQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that contain terms within a provided range."},"simple_query_string":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__SimpleQueryStringQuery","description":"Returns roles based on a provided query string, using a parser with a limited but fault-tolerant syntax."},"term":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__TermQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that contain an exact term in a provided field.\nTo return a document, the query term must exactly match the queried field's value, including whitespace and capitalization."},"terms":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__TermsQuery","description":"Returns roles that contain one or more exact terms in a provided field.\nTo return a document, one or more terms must exactly match a field value, including whitespace and capitalization."},"wildcard":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__WildcardQuery"},"minProperties":1,"maxProperties":1,"description":"Returns roles that contain terms matching a wildcard pattern."}}},"security.query_role__QueryRole":{"type":"object","properties":{"cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ClusterPrivilege"},"description":"A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute."},"indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivileges"},"description":"A list of indices permissions entries."},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"},"description":"A list of indices permissions for remote clusters.","x-availability":{"stack":{"since":"8.14.0"}}},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"},"description":"A list of cluster permissions for remote clusters.\nNOTE: This is limited a subset of the cluster permissions.","x-availability":{"stack":{"since":"8.15.0"}}},"global":{"$ref":"./security._types.json#/$defs/security._types__GlobalPrivilege","description":"An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware.","x-availability":{"stack":{}}},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"},"description":"A list of application privilege entries"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Optional meta-data. Within the metadata object, keys that begin with `_` are reserved for system usage."},"run_as":{"type":"array","items":{"type":"string"},"description":"A list of users that the API keys can impersonate.\nNOTE: In Elastic Cloud Serverless, the run-as feature is disabled.\nFor API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected."},"description":{"type":"string","description":"Optional description of the role descriptor"},"restriction":{"$ref":"./security._types.json#/$defs/security._types__Restriction","description":"Restriction for when the role descriptor is allowed to be effective."},"transient_metadata":{"type":"object","additionalProperties":{}},"_sort":{"$ref":"./_types.json#/$defs/_types__SortResults"},"name":{"type":"string","description":"Name of the role."}},"required":["name"]}}}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"snapshot.delete","description":"Delete snapshots.","x-api":{"id":"snapshot.delete","name":"delete","namespace":"snapshot"},"x-method":"DELETE","x-path":"/_snapshot/{repository}/{snapshot}","x-urls":[{"path":"/_snapshot/{repository}/{snapshot}","methods":["DELETE"]}],"x-destructive":true,"x-availability":{"stack":{"stability":"stable"},"serverless":{"stability":"stable","visibility":"private"}},"type":"object","properties":{"master_timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to wait for the master node.\nIf the master node is not available before the timeout expires, the request fails and returns an error.\nTo indicate that the request should never timeout, set it to `-1`.","x-found-in":"query"},"wait_for_completion":{"type":"boolean","description":"If `true`, the request returns a response when the matching snapshots are all deleted.\nIf `false`, the request returns a response as soon as the deletes are scheduled.","x-found-in":"query"},"repository":{"type":"string","description":"The name of the repository to delete a snapshot from.","x-found-in":"path"},"snapshot":{"$ref":"./_types.json#/$defs/_types__Names","description":"A comma-separated list of snapshot names to delete.\nIt also accepts wildcards (`*`).","x-found-in":"path"},"error_trace":{"type":"boolean","description":"When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"filter_path":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"human":{"type":"boolean","description":"When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"pretty":{"type":"boolean","description":"If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.","x-found-in":"query","x-behavior":"CommonQueryParameters"}},"required":["repository","snapshot"]}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"snapshot.delete","description":"Delete snapshots.","x-api":{"id":"snapshot.delete","name":"delete","namespace":"snapshot"},"x-method":"DELETE","x-path":"/_snapshot/{repository}/{snapshot}","x-urls":[{"path":"/_snapshot/{repository}/{snapshot}","methods":["DELETE"]}],"x-destructive":true,"x-availability":{"stack":{"stability":"stable"},"serverless":{"stability":"stable","visibility":"private"}},"type":"object","properties":{"master_timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to wait for the master node.\nIf the master node is not available before the timeout expires, the request fails and returns an error.\nTo indicate that the request should never timeout, set it to `-1`.","x-found-in":"query"},"wait_for_completion":{"type":"boolean","description":"If `false`, the request returns a response as soon as the deletes are scheduled.\nIf `true`, the request returns a response when the matching snapshots are all deleted, and the post-deletion cleanup work associated with the request has completed.\nIf you make several requests to the delete-snapshots API targetting overlapping collections of snapshots then some of those requests may perform different parts of the associated post-deletion cleanup work, returning their responses at different times.\nFor example, if you make two requests to delete the same snapshot then sometimes all of the post-deletion cleanup work will be associated with the first request, delaying its response, while the second request has no associated post-deletion cleanup work and receives its response as soon as the snapshot has been deleted.","x-found-in":"query"},"repository":{"type":"string","description":"The name of the repository to delete a snapshot from.","x-found-in":"path"},"snapshot":{"$ref":"./_types.json#/$defs/_types__Names","description":"A comma-separated list of snapshot names to delete.\nIt also accepts wildcards (`*`).","x-found-in":"path"},"error_trace":{"type":"boolean","description":"When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"filter_path":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"human":{"type":"boolean","description":"When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"pretty":{"type":"boolean","description":"If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.","x-found-in":"query","x-behavior":"CommonQueryParameters"}},"required":["repository","snapshot"]}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"update","description":"Update a document.\n\nUpdate a document by running a script or passing a partial document.\n\nIf the Elasticsearch security features are enabled, you must have the `index` or `write` index privilege for the target index or index alias.\n\nThe script can update, delete, or skip modifying the document.\nThe API also supports passing a partial document, which is merged into the existing document.\nTo fully replace an existing document, use the index API.\nThis operation:\n\n* Gets the document (collocated with the shard) from the index.\n* Runs the specified script.\n* Indexes the result.\n\nThe document must still be reindexed, but using this API removes some network roundtrips and reduces chances of version conflicts between the GET and the index operation.\n\nThe `_source` field must be enabled to use this API.\nIn addition to `_source`, you can access the following variables through the `ctx` map: `_index`, `_type`, `_id`, `_version`, `_routing`, and `_now` (the current timestamp).\nFor usage examples such as partial updates, upserts, and scripted updates, see the External documentation.","x-api":{"id":"update","name":"update","namespace":null},"x-method":"POST","x-path":"/{index}/_update/{id}","x-urls":[{"path":"/{index}/_update/{id}","methods":["POST"]}],"x-destructive":true,"x-availability":{"stack":{"stability":"stable"},"serverless":{"stability":"stable","visibility":"public"}},"type":"object","properties":{"if_primary_term":{"type":"number","description":"Only perform the operation if the document has this primary term.","x-found-in":"query"},"if_seq_no":{"type":"number","description":"Only perform the operation if the document has this sequence number.","x-found-in":"query"},"include_source_on_error":{"type":"boolean","description":"True or false if to include the document source in the error message in case of parsing errors.","x-found-in":"query"},"lang":{"type":"string","description":"The script language.","x-found-in":"query"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If 'true', Elasticsearch refreshes the affected shards to make this operation visible to search.\nIf 'wait_for', it waits for a refresh to make this operation visible to search.\nIf 'false', it does nothing with refreshes.","x-found-in":"query"},"require_alias":{"type":"boolean","description":"If `true`, the destination must be an index alias.","x-found-in":"query"},"retry_on_conflict":{"type":"number","description":"The number of times the operation should be retried when a conflict occurs.","x-found-in":"query"},"routing":{"$ref":"./_types.json#/$defs/_types__Routing","description":"A custom value used to route operations to a specific shard.\nNot allowed when `index.slice.enabled` is `true` for the target index; use `_slice` instead.","x-found-in":"query"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to wait for the following operations: dynamic mapping updates and waiting for active shards.\nElasticsearch waits for at least the timeout period before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.","x-found-in":"query"},"wait_for_active_shards":{"$ref":"./_types.json#/$defs/_types__WaitForActiveShards","description":"The number of copies of each shard that must be active before proceeding with the operation.\nSet to 'all' or any positive integer up to the total number of shards in the index (`number_of_replicas`+1).\nThe default value of `1` means it waits for each primary shard to be active.","x-found-in":"query","x-availability":{"stack":{}}},"_source":{"$ref":"./_global.search._types.json#/$defs/_global.search._types__SourceConfig","description":"If `false`, turn off source retrieval.\nYou can also specify a comma-separated list of the fields you want to retrieve.","x-found-in":"body"},"_source_excludes":{"$ref":"./_types.json#/$defs/_types__Fields","description":"The source fields you want to exclude.","x-found-in":"query"},"_source_includes":{"$ref":"./_types.json#/$defs/_types__Fields","description":"The source fields you want to retrieve.","x-found-in":"query"},"detect_noop":{"type":"boolean","description":"If `true`, the `result` in the response is set to `noop` (no operation) when there are no changes to the document.","x-found-in":"body"},"doc":{"description":"A partial update to an existing document.\nIf both `doc` and `script` are specified, `doc` is ignored.","x-found-in":"body"},"doc_as_upsert":{"type":"boolean","description":"If `true`, use the contents of 'doc' as the value of 'upsert'.\nNOTE: Using ingest pipelines with `doc_as_upsert` is not supported.","x-found-in":"body"},"script":{"$ref":"./_types.json#/$defs/_types__Script","description":"The script to run to update the document.","x-found-in":"body"},"scripted_upsert":{"type":"boolean","description":"If `true`, run the script whether or not the document exists.","x-found-in":"body"},"upsert":{"description":"If the document does not already exist, the contents of 'upsert' are inserted as a new document.\nIf the document exists, the 'script' is run.","x-found-in":"body"},"id":{"type":"string","description":"A unique identifier for the document to be updated.","x-found-in":"path"},"index":{"type":"string","description":"The name of the target index.\nBy default, the index is created automatically if it doesn't exist.","x-found-in":"path"},"error_trace":{"type":"boolean","description":"When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"filter_path":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"human":{"type":"boolean","description":"When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"pretty":{"type":"boolean","description":"If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.","x-found-in":"query","x-behavior":"CommonQueryParameters"}},"required":["id","index"]}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"update","description":"Update a document.\n\nUpdate a document by running a script or passing a partial document.\n\nIf the Elasticsearch security features are enabled, you must have the `index` or `write` index privilege for the target index or index alias.\n\nThe script can update, delete, or skip modifying the document.\nThe API also supports passing a partial document, which is merged into the existing document.\nTo fully replace an existing document, use the index API.\nThis operation:\n\n* Gets the document (collocated with the shard) from the index.\n* Runs the specified script.\n* Indexes the result.\n\nThe document must still be reindexed, but using this API removes some network roundtrips and reduces chances of version conflicts between the GET and the index operation.\n\nThe `_source` field must be enabled to use this API.\nIn addition to `_source`, you can access the following variables through the `ctx` map: `_index`, `_type`, `_id`, `_version`, `_routing`, and `_now` (the current timestamp).\nFor usage examples such as partial updates, upserts, and scripted updates, see the External documentation.","x-api":{"id":"update","name":"update","namespace":null},"x-method":"POST","x-path":"/{index}/_update/{id}","x-urls":[{"path":"/{index}/_update/{id}","methods":["POST"]}],"x-destructive":true,"x-availability":{"stack":{"stability":"stable"},"serverless":{"stability":"stable","visibility":"public"}},"type":"object","properties":{"if_primary_term":{"type":"number","description":"Only perform the operation if the document has this primary term.","x-found-in":"query"},"if_seq_no":{"type":"number","description":"Only perform the operation if the document has this sequence number.","x-found-in":"query"},"include_source_on_error":{"type":"boolean","description":"True or false if to include the document source in the error message in case of parsing errors.","x-found-in":"query"},"lang":{"type":"string","description":"The script language.","x-found-in":"query"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If 'true', Elasticsearch refreshes the affected shards to make this operation visible to search.\nIf 'wait_for', it waits for a refresh to make this operation visible to search.\nIf 'false', it does nothing with refreshes.","x-found-in":"query"},"require_alias":{"type":"boolean","description":"If `true`, the destination must be an index alias.","x-found-in":"query"},"retry_on_conflict":{"type":"number","description":"The number of times the operation should be retried when a conflict occurs.","x-found-in":"query"},"routing":{"$ref":"./_types.json#/$defs/_types__Routing","description":"A custom value used to route operations to a specific shard.\nNot allowed when `index.slice.enabled` is `true` for the target index; use `_slice` instead.","x-found-in":"query","x-availability":{"stack":{"stability":"stable"}}},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to wait for the following operations: dynamic mapping updates and waiting for active shards.\nElasticsearch waits for at least the timeout period before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.","x-found-in":"query"},"wait_for_active_shards":{"$ref":"./_types.json#/$defs/_types__WaitForActiveShards","description":"The number of copies of each shard that must be active before proceeding with the operation.\nSet to 'all' or any positive integer up to the total number of shards in the index (`number_of_replicas`+1).\nThe default value of `1` means it waits for each primary shard to be active.","x-found-in":"query","x-availability":{"stack":{}}},"_source":{"$ref":"./_global.search._types.json#/$defs/_global.search._types__SourceConfig","description":"If `false`, turn off source retrieval.\nYou can also specify a comma-separated list of the fields you want to retrieve.","x-found-in":"body"},"_source_excludes":{"$ref":"./_types.json#/$defs/_types__Fields","description":"The source fields you want to exclude.","x-found-in":"query"},"_source_includes":{"$ref":"./_types.json#/$defs/_types__Fields","description":"The source fields you want to retrieve.","x-found-in":"query"},"detect_noop":{"type":"boolean","description":"If `true`, the `result` in the response is set to `noop` (no operation) when there are no changes to the document.","x-found-in":"body"},"doc":{"description":"A partial update to an existing document.\nIf both `doc` and `script` are specified, `doc` is ignored.","x-found-in":"body"},"doc_as_upsert":{"type":"boolean","description":"If `true`, use the contents of 'doc' as the value of 'upsert'.\nNOTE: Using ingest pipelines with `doc_as_upsert` is not supported.","x-found-in":"body"},"script":{"$ref":"./_types.json#/$defs/_types__Script","description":"The script to run to update the document.","x-found-in":"body"},"scripted_upsert":{"type":"boolean","description":"If `true`, run the script whether or not the document exists.","x-found-in":"body"},"upsert":{"description":"If the document does not already exist, the contents of 'upsert' are inserted as a new document.\nIf the document exists, the 'script' is run.","x-found-in":"body"},"id":{"type":"string","description":"A unique identifier for the document to be updated.","x-found-in":"path"},"index":{"type":"string","description":"The name of the target index.\nBy default, the index is created automatically if it doesn't exist.","x-found-in":"path"},"error_trace":{"type":"boolean","description":"When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"filter_path":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"human":{"type":"boolean","description":"When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"pretty":{"type":"boolean","description":"If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.","x-found-in":"query","x-behavior":"CommonQueryParameters"}},"required":["id","index"]}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"update_by_query","description":"Update documents.\n\nUpdates documents that match the specified query.\nIf no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.\n\nIf the Elasticsearch security features are enabled, you must have the following index privileges for the target data stream, index, or alias:\n\n* `read`\n* `index` or `write`\n\nYou can specify the query criteria in the request URI or the request body using the same syntax as the search API.\n\nWhen you submit an update by query request, Elasticsearch gets a snapshot of the data stream or index when it begins processing the request and updates matching documents using internal versioning.\nWhen the versions match, the document is updated and the version number is incremented.\nIf a document changes between the time that the snapshot is taken and the update operation is processed, it results in a version conflict and the operation fails.\nYou can opt to count version conflicts instead of halting and returning by setting `conflicts` to `proceed`.\nNote that if you opt to count version conflicts, the operation could attempt to update more documents from the source than `max_docs` until it has successfully updated `max_docs` documents or it has gone through every document in the source query.\n\nNOTE: Documents with a version equal to 0 cannot be updated using update by query because internal versioning does not support 0 as a valid version number.\n\nWhile processing an update by query request, Elasticsearch performs multiple search requests sequentially to find all of the matching documents.\nA bulk update request is performed for each batch of matching documents.\nAny query or update failures cause the update by query request to fail and the failures are shown in the response.\nAny update requests that completed successfully still stick, they are not rolled back.\n\n**Refreshing shards**\n\nSpecifying the `refresh` parameter refreshes all shards once the request completes.\nThis is different to the update API's `refresh` parameter, which causes only the shard\nthat received the request to be refreshed. Unlike the update API, it does not support\n`wait_for`.\n\n**Running update by query asynchronously**\n\nIf the request contains `wait_for_completion=false`, Elasticsearch\nperforms some preflight checks, launches the request, and returns a\n[task](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-tasks) you can use to cancel or get the status of the task.\nElasticsearch creates a record of this task as a document at `.tasks/task/${taskId}`.\n\n**Throttling update requests**\n\nTo control the rate at which update by query issues batches of update operations, you can set `requests_per_second` to any positive decimal number.\nThis pads each batch with a wait time to throttle the rate.\nSet `requests_per_second` to `-1` to turn off throttling.\n\nThrottling uses a wait time between batches so that the internal scroll requests can be given a timeout that takes the request padding into account.\nThe padding time is the difference between the batch size divided by the `requests_per_second` and the time spent writing.\nBy default the batch size is 1000, so if `requests_per_second` is set to `500`:\n\n```\ntarget_time = 1000 / 500 per second = 2 seconds\nwait_time = target_time - write_time = 2 seconds - .5 seconds = 1.5 seconds\n```\n\nSince the batch is issued as a single _bulk request, large batch sizes cause Elasticsearch to create many requests and wait before starting the next set.\nThis is \"bursty\" instead of \"smooth\".\n\n**Slicing**\n\nUpdate by query supports sliced scroll to parallelize the update process.\nThis can improve efficiency and provide a convenient way to break the request down into smaller parts.\n\nSetting `slices` to `auto` chooses a reasonable number for most data streams and indices.\nThis setting will use one slice per shard, up to a certain limit.\nIf there are multiple source data streams or indices, it will choose the number of slices based on the index or backing index with the smallest number of shards.\n\nAdding `slices` to `_update_by_query` just automates the manual process of creating sub-requests, which means it has some quirks:\n\n* You can see these requests in the tasks APIs. These sub-requests are \"child\" tasks of the task for the request with slices.\n* Fetching the status of the task for the request with `slices` only contains the status of completed slices.\n* These sub-requests are individually addressable for things like cancellation and rethrottling.\n* Rethrottling the request with `slices` will rethrottle the unfinished sub-request proportionally.\n* Canceling the request with slices will cancel each sub-request.\n* Due to the nature of slices each sub-request won't get a perfectly even portion of the documents. All documents will be addressed, but some slices may be larger than others. Expect larger slices to have a more even distribution.\n* Parameters like `requests_per_second` and `max_docs` on a request with slices are distributed proportionally to each sub-request. Combine that with the point above about distribution being uneven and you should conclude that using `max_docs` with `slices` might not result in exactly `max_docs` documents being updated.\n* Each sub-request gets a slightly different snapshot of the source data stream or index though these are all taken at approximately the same time.\n\nIf you're slicing manually or otherwise tuning automatic slicing, keep in mind that:\n\n* Query performance is most efficient when the number of slices is equal to the number of shards in the index or backing index. If that number is large (for example, 500), choose a lower number as too many slices hurts performance. Setting slices higher than the number of shards generally does not improve efficiency and adds overhead.\n* Update performance scales linearly across available resources with the number of slices.\n\nWhether query or update performance dominates the runtime depends on the documents being reindexed and cluster resources.\nRefer to the linked documentation for examples of how to update documents using the `_update_by_query` API:","x-api":{"id":"update_by_query","name":"update-by-query","namespace":null},"x-method":"POST","x-path":"/{index}/_update_by_query","x-urls":[{"path":"/{index}/_update_by_query","methods":["POST"]}],"x-destructive":true,"x-availability":{"stack":{"since":"2.4.0","stability":"stable"},"serverless":{"stability":"stable","visibility":"public"}},"type":"object","properties":{"allow_no_indices":{"type":"boolean","description":"A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.","x-found-in":"query"},"analyzer":{"type":"string","description":"The analyzer to use for the query string.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"analyze_wildcard":{"type":"boolean","description":"If `true`, wildcard and prefix queries are analyzed.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"conflicts":{"$ref":"./_types.json#/$defs/_types__Conflicts","description":"The preferred behavior when update by query hits version conflicts: `abort` or `proceed`.","x-found-in":"body"},"default_operator":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__Operator","description":"The default operator for query string query: `and` or `or`.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"df":{"type":"string","description":"The field to use as default where no field prefix is given in the query string.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"expand_wildcards":{"$ref":"./_types.json#/$defs/_types__ExpandWildcards","description":"The type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nIt supports comma-separated values, such as `open,hidden`.","x-found-in":"query"},"from":{"type":"number","description":"Skips the specified number of documents.","x-found-in":"query"},"ignore_unavailable":{"type":"boolean","description":"If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.","x-found-in":"query"},"lenient":{"type":"boolean","description":"If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"max_docs":{"type":"number","description":"The maximum number of documents to update.","x-found-in":"body"},"pipeline":{"type":"string","description":"The ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.","x-found-in":"query"},"preference":{"type":"string","description":"The node or shard the operation should be performed on.\nIt is random by default.","x-found-in":"query"},"q":{"type":"string","description":"A query in the Lucene query string syntax.","x-found-in":"query"},"refresh":{"type":"boolean","description":"If `true`, Elasticsearch refreshes affected shards to make the operation visible to search after the request completes.\nThis is different than the update API's `refresh` parameter, which causes just the shard that received the request to be refreshed.","x-found-in":"query"},"request_cache":{"type":"boolean","description":"If `true`, the request cache is used for this request.\nIt defaults to the index-level setting.","x-found-in":"query"},"requests_per_second":{"type":"number","description":"The maximum number of documents to update per second, across the entire update_by_query operation (including slices).\nIt can be either `-1` to turn off throttling or any decimal number like `1.7` or `12` to throttle to that level.","x-found-in":"query"},"routing":{"$ref":"./_types.json#/$defs/_types__Routing","description":"A custom value used to route operations to a specific shard.\nNot allowed when `index.slice.enabled` is `true` for the target index; use `_slice` instead.","x-found-in":"query"},"scroll":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to retain the search context for scrolling.","x-found-in":"query"},"scroll_size":{"type":"number","description":"The size of the scroll request that powers the operation.","x-found-in":"query"},"search_timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"An explicit timeout for each search request.\nBy default, there is no timeout.","x-found-in":"query"},"search_type":{"$ref":"./_types.json#/$defs/_types__SearchType","description":"The type of the search operation. Available options include `query_then_fetch` and `dfs_query_then_fetch`.","x-found-in":"query"},"slices":{"$ref":"./_types.json#/$defs/_types__Slices","description":"The number of slices this task should be divided into.","x-found-in":"query"},"sort":{"type":"array","items":{"type":"string"},"description":"A comma-separated list of <field>:<direction> pairs.","x-found-in":"query"},"stats":{"type":"array","items":{"type":"string"},"description":"The specific `tag` of the request for logging and statistical purposes.","x-found-in":"query"},"terminate_after":{"type":"number","description":"The maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.","x-found-in":"query"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.\nBy default, it is one minute.\nThis guarantees Elasticsearch waits for at least the timeout before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.","x-found-in":"query"},"version":{"type":"boolean","description":"If `true`, returns the document version as part of a hit.","x-found-in":"query"},"version_type":{"type":"boolean","description":"Should the document increment the version number (internal) on hit or not (reindex)","x-found-in":"query"},"wait_for_active_shards":{"$ref":"./_types.json#/$defs/_types__WaitForActiveShards","description":"The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).\nThe `timeout` parameter controls how long each write request waits for unavailable shards to become available.\nBoth work exactly the way they work in the bulk API.\nUpdate by query uses scrolled searches, so you can also specify the `scroll` parameter to control how long it keeps the search context alive, for example `?scroll=10m`.","x-found-in":"query","x-availability":{"stack":{}}},"wait_for_completion":{"type":"boolean","description":"If `true`, the request blocks until the operation is complete.\nIf `false`, Elasticsearch performs some preflight checks, launches the request, and returns a task ID that you can use to cancel or get the status of the task.\nElasticsearch creates a record of this task as a document at `.tasks/task/${taskId}`.","x-found-in":"query"},"query":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer","description":"The documents to update using the Query DSL.","x-found-in":"body"},"script":{"$ref":"./_types.json#/$defs/_types__Script","description":"The script to run to update the document source or metadata when updating.","x-found-in":"body"},"slice":{"$ref":"./_types.json#/$defs/_types__SlicedScroll","description":"Slice the request manually using the provided slice ID and total number of slices.","x-found-in":"body"},"index":{"$ref":"./_types.json#/$defs/_types__Indices","description":"A comma-separated list of data streams, indices, and aliases to search.\nIt supports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.","x-found-in":"path"},"error_trace":{"type":"boolean","description":"When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"filter_path":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"human":{"type":"boolean","description":"When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"pretty":{"type":"boolean","description":"If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.","x-found-in":"query","x-behavior":"CommonQueryParameters"}},"required":["index"]}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"update_by_query","description":"Update documents.\n\nUpdates documents that match the specified query.\nIf no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.\n\nIf the Elasticsearch security features are enabled, you must have the following index privileges for the target data stream, index, or alias:\n\n* `read`\n* `index` or `write`\n\nYou can specify the query criteria in the request URI or the request body using the same syntax as the search API.\n\nWhen you submit an update by query request, Elasticsearch gets a snapshot of the data stream or index when it begins processing the request and updates matching documents using internal versioning.\nWhen the versions match, the document is updated and the version number is incremented.\nIf a document changes between the time that the snapshot is taken and the update operation is processed, it results in a version conflict and the operation fails.\nYou can opt to count version conflicts instead of halting and returning by setting `conflicts` to `proceed`.\nNote that if you opt to count version conflicts, the operation could attempt to update more documents from the source than `max_docs` until it has successfully updated `max_docs` documents or it has gone through every document in the source query.\n\nNOTE: Documents with a version equal to 0 cannot be updated using update by query because internal versioning does not support 0 as a valid version number.\n\nWhile processing an update by query request, Elasticsearch performs multiple search requests sequentially to find all of the matching documents.\nA bulk update request is performed for each batch of matching documents.\nAny query or update failures cause the update by query request to fail and the failures are shown in the response.\nAny update requests that completed successfully still stick, they are not rolled back.\n\n**Refreshing shards**\n\nSpecifying the `refresh` parameter refreshes all shards once the request completes.\nThis is different to the update API's `refresh` parameter, which causes only the shard\nthat received the request to be refreshed. Unlike the update API, it does not support\n`wait_for`.\n\n**Running update by query asynchronously**\n\nIf the request contains `wait_for_completion=false`, Elasticsearch\nperforms some preflight checks, launches the request, and returns a\n[task](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-tasks) you can use to cancel or get the status of the task.\nElasticsearch creates a record of this task as a document at `.tasks/task/${taskId}`.\n\n**Throttling update requests**\n\nTo control the rate at which update by query issues batches of update operations, you can set `requests_per_second` to any positive decimal number.\nThis pads each batch with a wait time to throttle the rate.\nSet `requests_per_second` to `-1` to turn off throttling.\n\nThrottling uses a wait time between batches so that the internal scroll requests can be given a timeout that takes the request padding into account.\nThe padding time is the difference between the batch size divided by the `requests_per_second` and the time spent writing.\nBy default the batch size is 1000, so if `requests_per_second` is set to `500`:\n\n```\ntarget_time = 1000 / 500 per second = 2 seconds\nwait_time = target_time - write_time = 2 seconds - .5 seconds = 1.5 seconds\n```\n\nSince the batch is issued as a single _bulk request, large batch sizes cause Elasticsearch to create many requests and wait before starting the next set.\nThis is \"bursty\" instead of \"smooth\".\n\n**Slicing**\n\nUpdate by query supports sliced scroll to parallelize the update process.\nThis can improve efficiency and provide a convenient way to break the request down into smaller parts.\n\nSetting `slices` to `auto` chooses a reasonable number for most data streams and indices.\nThis setting will use one slice per shard, up to a certain limit.\nIf there are multiple source data streams or indices, it will choose the number of slices based on the index or backing index with the smallest number of shards.\n\nAdding `slices` to `_update_by_query` just automates the manual process of creating sub-requests, which means it has some quirks:\n\n* You can see these requests in the tasks APIs. These sub-requests are \"child\" tasks of the task for the request with slices.\n* Fetching the status of the task for the request with `slices` only contains the status of completed slices.\n* These sub-requests are individually addressable for things like cancellation and rethrottling.\n* Rethrottling the request with `slices` will rethrottle the unfinished sub-request proportionally.\n* Canceling the request with slices will cancel each sub-request.\n* Due to the nature of slices each sub-request won't get a perfectly even portion of the documents. All documents will be addressed, but some slices may be larger than others. Expect larger slices to have a more even distribution.\n* Parameters like `requests_per_second` and `max_docs` on a request with slices are distributed proportionally to each sub-request. Combine that with the point above about distribution being uneven and you should conclude that using `max_docs` with `slices` might not result in exactly `max_docs` documents being updated.\n* Each sub-request gets a slightly different snapshot of the source data stream or index though these are all taken at approximately the same time.\n\nIf you're slicing manually or otherwise tuning automatic slicing, keep in mind that:\n\n* Query performance is most efficient when the number of slices is equal to the number of shards in the index or backing index. If that number is large (for example, 500), choose a lower number as too many slices hurts performance. Setting slices higher than the number of shards generally does not improve efficiency and adds overhead.\n* Update performance scales linearly across available resources with the number of slices.\n\nWhether query or update performance dominates the runtime depends on the documents being reindexed and cluster resources.\nRefer to the linked documentation for examples of how to update documents using the `_update_by_query` API:","x-api":{"id":"update_by_query","name":"update-by-query","namespace":null},"x-method":"POST","x-path":"/{index}/_update_by_query","x-urls":[{"path":"/{index}/_update_by_query","methods":["POST"]}],"x-destructive":true,"x-availability":{"stack":{"since":"2.4.0","stability":"stable"},"serverless":{"stability":"stable","visibility":"public"}},"type":"object","properties":{"allow_no_indices":{"type":"boolean","description":"A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.","x-found-in":"query"},"analyzer":{"type":"string","description":"The analyzer to use for the query string.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"analyze_wildcard":{"type":"boolean","description":"If `true`, wildcard and prefix queries are analyzed.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"conflicts":{"$ref":"./_types.json#/$defs/_types__Conflicts","description":"The preferred behavior when update by query hits version conflicts: `abort` or `proceed`.","x-found-in":"body"},"default_operator":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__Operator","description":"The default operator for query string query: `and` or `or`.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"df":{"type":"string","description":"The field to use as default where no field prefix is given in the query string.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"expand_wildcards":{"$ref":"./_types.json#/$defs/_types__ExpandWildcards","description":"The type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nIt supports comma-separated values, such as `open,hidden`.","x-found-in":"query"},"from":{"type":"number","description":"Skips the specified number of documents.","x-found-in":"query"},"ignore_unavailable":{"type":"boolean","description":"If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.","x-found-in":"query"},"lenient":{"type":"boolean","description":"If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.\nThis parameter can be used only when the `q` query string parameter is specified.","x-found-in":"query"},"max_docs":{"type":"number","description":"The maximum number of documents to update.","x-found-in":"body"},"pipeline":{"type":"string","description":"The ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.","x-found-in":"query"},"preference":{"type":"string","description":"The node or shard the operation should be performed on.\nIt is random by default.","x-found-in":"query"},"q":{"type":"string","description":"A query in the Lucene query string syntax.","x-found-in":"query"},"refresh":{"type":"boolean","description":"If `true`, Elasticsearch refreshes affected shards to make the operation visible to search after the request completes.\nThis is different than the update API's `refresh` parameter, which causes just the shard that received the request to be refreshed.","x-found-in":"query"},"request_cache":{"type":"boolean","description":"If `true`, the request cache is used for this request.\nIt defaults to the index-level setting.","x-found-in":"query"},"requests_per_second":{"type":"number","description":"The maximum number of documents to update per second, across the entire update_by_query operation (including slices).\nIt can be either `-1` to turn off throttling or any decimal number like `1.7` or `12` to throttle to that level.","x-found-in":"query"},"routing":{"$ref":"./_types.json#/$defs/_types__Routing","description":"A custom value used to route operations to a specific shard.\nNot allowed when `index.slice.enabled` is `true` for the target index; use `_slice` instead.","x-found-in":"query","x-availability":{"stack":{"stability":"stable"}}},"scroll":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to retain the search context for scrolling.","x-found-in":"query"},"scroll_size":{"type":"number","description":"The size of the scroll request that powers the operation.","x-found-in":"query"},"search_timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"An explicit timeout for each search request.\nBy default, there is no timeout.","x-found-in":"query"},"search_type":{"$ref":"./_types.json#/$defs/_types__SearchType","description":"The type of the search operation. Available options include `query_then_fetch` and `dfs_query_then_fetch`.","x-found-in":"query"},"slices":{"$ref":"./_types.json#/$defs/_types__Slices","description":"The number of slices this task should be divided into.","x-found-in":"query"},"sort":{"type":"array","items":{"type":"string"},"description":"A comma-separated list of <field>:<direction> pairs.","x-found-in":"query"},"stats":{"type":"array","items":{"type":"string"},"description":"The specific `tag` of the request for logging and statistical purposes.","x-found-in":"query"},"terminate_after":{"type":"number","description":"The maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.","x-found-in":"query"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.\nBy default, it is one minute.\nThis guarantees Elasticsearch waits for at least the timeout before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.","x-found-in":"query"},"version":{"type":"boolean","description":"If `true`, returns the document version as part of a hit.","x-found-in":"query"},"version_type":{"type":"boolean","description":"Should the document increment the version number (internal) on hit or not (reindex)","x-found-in":"query"},"wait_for_active_shards":{"$ref":"./_types.json#/$defs/_types__WaitForActiveShards","description":"The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).\nThe `timeout` parameter controls how long each write request waits for unavailable shards to become available.\nBoth work exactly the way they work in the bulk API.\nUpdate by query uses scrolled searches, so you can also specify the `scroll` parameter to control how long it keeps the search context alive, for example `?scroll=10m`.","x-found-in":"query","x-availability":{"stack":{}}},"wait_for_completion":{"type":"boolean","description":"If `true`, the request blocks until the operation is complete.\nIf `false`, Elasticsearch performs some preflight checks, launches the request, and returns a task ID that you can use to cancel or get the status of the task.\nElasticsearch creates a record of this task as a document at `.tasks/task/${taskId}`.","x-found-in":"query"},"query":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer","description":"The documents to update using the Query DSL.","x-found-in":"body"},"script":{"$ref":"./_types.json#/$defs/_types__Script","description":"The script to run to update the document source or metadata when updating.","x-found-in":"body"},"slice":{"$ref":"./_types.json#/$defs/_types__SlicedScroll","description":"Slice the request manually using the provided slice ID and total number of slices.","x-found-in":"body"},"index":{"$ref":"./_types.json#/$defs/_types__Indices","description":"A comma-separated list of data streams, indices, and aliases to search.\nIt supports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.","x-found-in":"path"},"error_trace":{"type":"boolean","description":"When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"filter_path":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"human":{"type":"boolean","description":"When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.","x-found-in":"query","x-behavior":"CommonQueryParameters"},"pretty":{"type":"boolean","description":"If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.","x-found-in":"query","x-behavior":"CommonQueryParameters"}},"required":["index"]}