@elastic/schemas 0.4.4 → 0.4.5

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 (655) hide show
  1. package/lib/cjs/es/json/async_search.submit.request.json +1 -1
  2. package/lib/cjs/es/json/bulk.request.json +1 -1
  3. package/lib/cjs/es/json/cat.circuit_breaker.request.json +1 -1
  4. package/lib/cjs/es/json/ccr.follow.request.json +1 -1
  5. package/lib/cjs/es/json/ccr.forget_follower.request.json +1 -1
  6. package/lib/cjs/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  7. package/lib/cjs/es/json/ccr.resume_follow.request.json +1 -1
  8. package/lib/cjs/es/json/cluster.allocation_explain.request.json +1 -1
  9. package/lib/cjs/es/json/cluster.get_component_template.request.json +1 -1
  10. package/lib/cjs/es/json/cluster.put_component_template.request.json +1 -1
  11. package/lib/cjs/es/json/cluster.put_settings.request.json +1 -1
  12. package/lib/cjs/es/json/cluster.reroute.request.json +1 -1
  13. package/lib/cjs/es/json/connector.sync_job_list.request.json +1 -1
  14. package/lib/cjs/es/json/count.request.json +1 -1
  15. package/lib/cjs/es/json/create.request.json +1 -1
  16. package/lib/cjs/es/json/delete_by_query.request.json +1 -1
  17. package/lib/cjs/es/json/enrich.put_policy.request.json +1 -1
  18. package/lib/cjs/es/json/eql.search.request.json +1 -1
  19. package/lib/cjs/es/json/esql.async_query.request.json +1 -1
  20. package/lib/cjs/es/json/esql.query.request.json +1 -1
  21. package/lib/cjs/es/json/explain.request.json +1 -1
  22. package/lib/cjs/es/json/field_caps.request.json +1 -1
  23. package/lib/cjs/es/json/fleet.global_checkpoints.request.json +1 -1
  24. package/lib/cjs/es/json/fleet.msearch.request.json +1 -1
  25. package/lib/cjs/es/json/fleet.search.request.json +1 -1
  26. package/lib/cjs/es/json/graph.explore.request.json +1 -1
  27. package/lib/cjs/es/json/health_report.request.json +1 -1
  28. package/lib/cjs/es/json/ilm.migrate_to_data_tiers.request.json +1 -1
  29. package/lib/cjs/es/json/ilm.put_lifecycle.request.json +1 -1
  30. package/lib/cjs/es/json/index.request.json +1 -1
  31. package/lib/cjs/es/json/indices.analyze.request.json +1 -1
  32. package/lib/cjs/es/json/indices.clone.request.json +1 -1
  33. package/lib/cjs/es/json/indices.create.request.json +1 -1
  34. package/lib/cjs/es/json/indices.create_from.request.json +1 -1
  35. package/lib/cjs/es/json/indices.downsample.request.json +1 -1
  36. package/lib/cjs/es/json/indices.forcemerge.request.json +1 -1
  37. package/lib/cjs/es/json/indices.migrate_reindex.request.json +1 -1
  38. package/lib/cjs/es/json/indices.put_alias.request.json +1 -1
  39. package/lib/cjs/es/json/indices.put_data_lifecycle.request.json +1 -1
  40. package/lib/cjs/es/json/indices.put_data_stream_mappings.request.json +1 -1
  41. package/lib/cjs/es/json/indices.put_data_stream_options.request.json +1 -1
  42. package/lib/cjs/es/json/indices.put_data_stream_settings.request.json +1 -1
  43. package/lib/cjs/es/json/indices.put_index_template.request.json +1 -1
  44. package/lib/cjs/es/json/indices.put_mapping.request.json +1 -1
  45. package/lib/cjs/es/json/indices.put_settings.request.json +1 -1
  46. package/lib/cjs/es/json/indices.put_template.request.json +1 -1
  47. package/lib/cjs/es/json/indices.resolve_index.request.json +1 -1
  48. package/lib/cjs/es/json/indices.rollover.request.json +1 -1
  49. package/lib/cjs/es/json/indices.shard_stores.request.json +1 -1
  50. package/lib/cjs/es/json/indices.shrink.request.json +1 -1
  51. package/lib/cjs/es/json/indices.simulate_index_template.request.json +1 -1
  52. package/lib/cjs/es/json/indices.simulate_template.request.json +1 -1
  53. package/lib/cjs/es/json/indices.split.request.json +1 -1
  54. package/lib/cjs/es/json/indices.stats.request.json +1 -1
  55. package/lib/cjs/es/json/indices.update_aliases.request.json +1 -1
  56. package/lib/cjs/es/json/indices.validate_query.request.json +1 -1
  57. package/lib/cjs/es/json/inference.chat_completion_unified.request.json +1 -1
  58. package/lib/cjs/es/json/inference.completion.request.json +1 -1
  59. package/lib/cjs/es/json/inference.embedding.request.json +1 -1
  60. package/lib/cjs/es/json/inference.inference.request.json +1 -1
  61. package/lib/cjs/es/json/inference.put.request.json +1 -1
  62. package/lib/cjs/es/json/inference.put_ai21.request.json +1 -1
  63. package/lib/cjs/es/json/inference.put_alibabacloud.request.json +1 -1
  64. package/lib/cjs/es/json/inference.put_amazonbedrock.request.json +1 -1
  65. package/lib/cjs/es/json/inference.put_amazonsagemaker.request.json +1 -1
  66. package/lib/cjs/es/json/inference.put_anthropic.request.json +1 -1
  67. package/lib/cjs/es/json/inference.put_azureaistudio.request.json +1 -1
  68. package/lib/cjs/es/json/inference.put_azureopenai.request.json +1 -1
  69. package/lib/cjs/es/json/inference.put_cohere.request.json +1 -1
  70. package/lib/cjs/es/json/inference.put_contextualai.request.json +1 -1
  71. package/lib/cjs/es/json/inference.put_deepseek.request.json +1 -1
  72. package/lib/cjs/es/json/inference.put_elasticsearch.request.json +1 -1
  73. package/lib/cjs/es/json/inference.put_elser.request.json +1 -1
  74. package/lib/cjs/es/json/inference.put_fireworksai.request.json +1 -1
  75. package/lib/cjs/es/json/inference.put_googleaistudio.request.json +1 -1
  76. package/lib/cjs/es/json/inference.put_googlevertexai.request.json +1 -1
  77. package/lib/cjs/es/json/inference.put_groq.request.json +1 -1
  78. package/lib/cjs/es/json/inference.put_hugging_face.request.json +1 -1
  79. package/lib/cjs/es/json/inference.put_jinaai.request.json +1 -1
  80. package/lib/cjs/es/json/inference.put_llama.request.json +1 -1
  81. package/lib/cjs/es/json/inference.put_mistral.request.json +1 -1
  82. package/lib/cjs/es/json/inference.put_nvidia.request.json +1 -1
  83. package/lib/cjs/es/json/inference.put_openai.request.json +1 -1
  84. package/lib/cjs/es/json/inference.put_openshift_ai.request.json +1 -1
  85. package/lib/cjs/es/json/inference.put_region_policy.request.json +1 -1
  86. package/lib/cjs/es/json/inference.put_voyageai.request.json +1 -1
  87. package/lib/cjs/es/json/inference.put_watsonx.request.json +1 -1
  88. package/lib/cjs/es/json/inference.rerank.request.json +1 -1
  89. package/lib/cjs/es/json/inference.sparse_embedding.request.json +1 -1
  90. package/lib/cjs/es/json/inference.stream_completion.request.json +1 -1
  91. package/lib/cjs/es/json/inference.text_embedding.request.json +1 -1
  92. package/lib/cjs/es/json/inference.update.request.json +1 -1
  93. package/lib/cjs/es/json/ingest.put_geoip_database.request.json +1 -1
  94. package/lib/cjs/es/json/ingest.put_ip_location_database.request.json +1 -1
  95. package/lib/cjs/es/json/ingest.put_pipeline.request.json +1 -1
  96. package/lib/cjs/es/json/ingest.simulate.request.json +1 -1
  97. package/lib/cjs/es/json/license.post.request.json +1 -1
  98. package/lib/cjs/es/json/logstash.put_pipeline.request.json +1 -1
  99. package/lib/cjs/es/json/mget.request.json +1 -1
  100. package/lib/cjs/es/json/ml.close_job.request.json +1 -1
  101. package/lib/cjs/es/json/ml.delete_expired_data.request.json +1 -1
  102. package/lib/cjs/es/json/ml.flush_job.request.json +1 -1
  103. package/lib/cjs/es/json/ml.forecast.request.json +1 -1
  104. package/lib/cjs/es/json/ml.get_buckets.request.json +1 -1
  105. package/lib/cjs/es/json/ml.get_calendars.request.json +1 -1
  106. package/lib/cjs/es/json/ml.get_categories.request.json +1 -1
  107. package/lib/cjs/es/json/ml.get_influencers.request.json +1 -1
  108. package/lib/cjs/es/json/ml.get_model_snapshots.request.json +1 -1
  109. package/lib/cjs/es/json/ml.get_overall_buckets.request.json +1 -1
  110. package/lib/cjs/es/json/ml.get_records.request.json +1 -1
  111. package/lib/cjs/es/json/ml.get_trained_models.request.json +1 -1
  112. package/lib/cjs/es/json/ml.infer_trained_model.request.json +1 -1
  113. package/lib/cjs/es/json/ml.open_job.request.json +1 -1
  114. package/lib/cjs/es/json/ml.post_data.request.json +1 -1
  115. package/lib/cjs/es/json/ml.preview_datafeed.request.json +1 -1
  116. package/lib/cjs/es/json/ml.put_datafeed.request.json +1 -1
  117. package/lib/cjs/es/json/ml.put_job.request.json +1 -1
  118. package/lib/cjs/es/json/ml.put_trained_model.request.json +1 -1
  119. package/lib/cjs/es/json/ml.revert_model_snapshot.request.json +1 -1
  120. package/lib/cjs/es/json/ml.start_data_frame_analytics.request.json +1 -1
  121. package/lib/cjs/es/json/ml.start_datafeed.request.json +1 -1
  122. package/lib/cjs/es/json/ml.start_trained_model_deployment.request.json +1 -1
  123. package/lib/cjs/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  124. package/lib/cjs/es/json/ml.stop_datafeed.request.json +1 -1
  125. package/lib/cjs/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  126. package/lib/cjs/es/json/ml.update_datafeed.request.json +1 -1
  127. package/lib/cjs/es/json/ml.update_trained_model_deployment.request.json +1 -1
  128. package/lib/cjs/es/json/msearch.request.json +1 -1
  129. package/lib/cjs/es/json/msearch_template.request.json +1 -1
  130. package/lib/cjs/es/json/mtermvectors.request.json +1 -1
  131. package/lib/cjs/es/json/nodes.reload_secure_settings.request.json +1 -1
  132. package/lib/cjs/es/json/open_point_in_time.request.json +1 -1
  133. package/lib/cjs/es/json/project.create_many_routing.request.json +1 -1
  134. package/lib/cjs/es/json/project.create_routing.request.json +1 -1
  135. package/lib/cjs/es/json/put_script.request.json +1 -1
  136. package/lib/cjs/es/json/query_rules.put_rule.request.json +1 -1
  137. package/lib/cjs/es/json/query_rules.put_ruleset.request.json +1 -1
  138. package/lib/cjs/es/json/rank_eval.request.json +1 -1
  139. package/lib/cjs/es/json/reindex.request.json +1 -1
  140. package/lib/cjs/es/json/rollup.rollup_search.request.json +1 -1
  141. package/lib/cjs/es/json/scroll.request.json +1 -1
  142. package/lib/cjs/es/json/search.request.json +1 -1
  143. package/lib/cjs/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  144. package/lib/cjs/es/json/search_application.put.request.json +1 -1
  145. package/lib/cjs/es/json/search_application.search.request.json +1 -1
  146. package/lib/cjs/es/json/search_mvt.request.json +1 -1
  147. package/lib/cjs/es/json/search_template.request.json +1 -1
  148. package/lib/cjs/es/json/searchable_snapshots.mount.request.json +1 -1
  149. package/lib/cjs/es/json/security.bulk_delete_role.request.json +1 -1
  150. package/lib/cjs/es/json/security.bulk_put_role.request.json +1 -1
  151. package/lib/cjs/es/json/security.bulk_update_api_keys.request.json +1 -1
  152. package/lib/cjs/es/json/security.change_password.request.json +1 -1
  153. package/lib/cjs/es/json/security.clone_api_key.request.json +1 -1
  154. package/lib/cjs/es/json/security.create_api_key.request.json +1 -1
  155. package/lib/cjs/es/json/security.get_user.request.json +1 -1
  156. package/lib/cjs/es/json/security.get_user_profile.request.json +1 -1
  157. package/lib/cjs/es/json/security.grant_api_key.request.json +1 -1
  158. package/lib/cjs/es/json/security.put_privileges.request.json +1 -1
  159. package/lib/cjs/es/json/security.put_role.request.json +1 -1
  160. package/lib/cjs/es/json/security.put_role_mapping.request.json +1 -1
  161. package/lib/cjs/es/json/security.put_user.request.json +1 -1
  162. package/lib/cjs/es/json/security.query_api_keys.request.json +1 -1
  163. package/lib/cjs/es/json/security.query_user.request.json +1 -1
  164. package/lib/cjs/es/json/security.suggest_user_profiles.request.json +1 -1
  165. package/lib/cjs/es/json/security.update_settings.request.json +1 -1
  166. package/lib/cjs/es/json/security.update_user_profile_data.request.json +1 -1
  167. package/lib/cjs/es/json/simulate.ingest.request.json +1 -1
  168. package/lib/cjs/es/json/slm.put_lifecycle.request.json +1 -1
  169. package/lib/cjs/es/json/snapshot.clone.request.json +1 -1
  170. package/lib/cjs/es/json/snapshot.create.request.json +1 -1
  171. package/lib/cjs/es/json/snapshot.get.request.json +1 -1
  172. package/lib/cjs/es/json/snapshot.restore.request.json +1 -1
  173. package/lib/cjs/es/json/sql.query.request.json +1 -1
  174. package/lib/cjs/es/json/synonyms.put_synonym.request.json +1 -1
  175. package/lib/cjs/es/json/synonyms.put_synonym_rule.request.json +1 -1
  176. package/lib/cjs/es/json/tasks.cancel.request.json +1 -1
  177. package/lib/cjs/es/json/tasks.list.request.json +1 -1
  178. package/lib/cjs/es/json/termvectors.request.json +1 -1
  179. package/lib/cjs/es/json/text_structure.find_field_structure.request.json +1 -1
  180. package/lib/cjs/es/json/text_structure.find_message_structure.request.json +1 -1
  181. package/lib/cjs/es/json/text_structure.find_structure.request.json +1 -1
  182. package/lib/cjs/es/json/text_structure.test_grok_pattern.request.json +1 -1
  183. package/lib/cjs/es/json/transform.preview_transform.request.json +1 -1
  184. package/lib/cjs/es/json/transform.put_transform.request.json +1 -1
  185. package/lib/cjs/es/json/transform.update_transform.request.json +1 -1
  186. package/lib/cjs/es/json/update.request.json +1 -1
  187. package/lib/cjs/es/json/update_by_query.request.json +1 -1
  188. package/lib/cjs/es/json/watcher.execute_watch.request.json +1 -1
  189. package/lib/cjs/es/json/watcher.put_watch.request.json +1 -1
  190. package/lib/cjs/es/json/watcher.stats.request.json +1 -1
  191. package/lib/cjs/es/json/watcher.update_settings.request.json +1 -1
  192. package/lib/cjs/es/schemas/indices.forcemerge.d.ts +3 -4
  193. package/lib/cjs/es/schemas/indices.forcemerge.d.ts.map +1 -1
  194. package/lib/cjs/es/schemas/indices.forcemerge.js +3 -4
  195. package/lib/cjs/es/schemas/indices.forcemerge.js.map +1 -1
  196. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.d.ts +7 -3
  197. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.d.ts.map +1 -1
  198. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.js +3 -3
  199. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.js.map +1 -1
  200. package/lib/es/json/async_search.submit.request.json +1 -1
  201. package/lib/es/json/bulk.request.json +1 -1
  202. package/lib/es/json/cat.circuit_breaker.request.json +1 -1
  203. package/lib/es/json/ccr.follow.request.json +1 -1
  204. package/lib/es/json/ccr.forget_follower.request.json +1 -1
  205. package/lib/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  206. package/lib/es/json/ccr.resume_follow.request.json +1 -1
  207. package/lib/es/json/cluster.allocation_explain.request.json +1 -1
  208. package/lib/es/json/cluster.get_component_template.request.json +1 -1
  209. package/lib/es/json/cluster.put_component_template.request.json +1 -1
  210. package/lib/es/json/cluster.put_settings.request.json +1 -1
  211. package/lib/es/json/cluster.reroute.request.json +1 -1
  212. package/lib/es/json/connector.sync_job_list.request.json +1 -1
  213. package/lib/es/json/count.request.json +1 -1
  214. package/lib/es/json/create.request.json +1 -1
  215. package/lib/es/json/delete_by_query.request.json +1 -1
  216. package/lib/es/json/enrich.put_policy.request.json +1 -1
  217. package/lib/es/json/eql.search.request.json +1 -1
  218. package/lib/es/json/esql.async_query.request.json +1 -1
  219. package/lib/es/json/esql.query.request.json +1 -1
  220. package/lib/es/json/explain.request.json +1 -1
  221. package/lib/es/json/field_caps.request.json +1 -1
  222. package/lib/es/json/fleet.global_checkpoints.request.json +1 -1
  223. package/lib/es/json/fleet.msearch.request.json +1 -1
  224. package/lib/es/json/fleet.search.request.json +1 -1
  225. package/lib/es/json/graph.explore.request.json +1 -1
  226. package/lib/es/json/health_report.request.json +1 -1
  227. package/lib/es/json/ilm.migrate_to_data_tiers.request.json +1 -1
  228. package/lib/es/json/ilm.put_lifecycle.request.json +1 -1
  229. package/lib/es/json/index.request.json +1 -1
  230. package/lib/es/json/indices.analyze.request.json +1 -1
  231. package/lib/es/json/indices.clone.request.json +1 -1
  232. package/lib/es/json/indices.create.request.json +1 -1
  233. package/lib/es/json/indices.create_from.request.json +1 -1
  234. package/lib/es/json/indices.downsample.request.json +1 -1
  235. package/lib/es/json/indices.forcemerge.request.json +1 -1
  236. package/lib/es/json/indices.migrate_reindex.request.json +1 -1
  237. package/lib/es/json/indices.put_alias.request.json +1 -1
  238. package/lib/es/json/indices.put_data_lifecycle.request.json +1 -1
  239. package/lib/es/json/indices.put_data_stream_mappings.request.json +1 -1
  240. package/lib/es/json/indices.put_data_stream_options.request.json +1 -1
  241. package/lib/es/json/indices.put_data_stream_settings.request.json +1 -1
  242. package/lib/es/json/indices.put_index_template.request.json +1 -1
  243. package/lib/es/json/indices.put_mapping.request.json +1 -1
  244. package/lib/es/json/indices.put_settings.request.json +1 -1
  245. package/lib/es/json/indices.put_template.request.json +1 -1
  246. package/lib/es/json/indices.resolve_index.request.json +1 -1
  247. package/lib/es/json/indices.rollover.request.json +1 -1
  248. package/lib/es/json/indices.shard_stores.request.json +1 -1
  249. package/lib/es/json/indices.shrink.request.json +1 -1
  250. package/lib/es/json/indices.simulate_index_template.request.json +1 -1
  251. package/lib/es/json/indices.simulate_template.request.json +1 -1
  252. package/lib/es/json/indices.split.request.json +1 -1
  253. package/lib/es/json/indices.stats.request.json +1 -1
  254. package/lib/es/json/indices.update_aliases.request.json +1 -1
  255. package/lib/es/json/indices.validate_query.request.json +1 -1
  256. package/lib/es/json/inference.chat_completion_unified.request.json +1 -1
  257. package/lib/es/json/inference.completion.request.json +1 -1
  258. package/lib/es/json/inference.embedding.request.json +1 -1
  259. package/lib/es/json/inference.inference.request.json +1 -1
  260. package/lib/es/json/inference.put.request.json +1 -1
  261. package/lib/es/json/inference.put_ai21.request.json +1 -1
  262. package/lib/es/json/inference.put_alibabacloud.request.json +1 -1
  263. package/lib/es/json/inference.put_amazonbedrock.request.json +1 -1
  264. package/lib/es/json/inference.put_amazonsagemaker.request.json +1 -1
  265. package/lib/es/json/inference.put_anthropic.request.json +1 -1
  266. package/lib/es/json/inference.put_azureaistudio.request.json +1 -1
  267. package/lib/es/json/inference.put_azureopenai.request.json +1 -1
  268. package/lib/es/json/inference.put_cohere.request.json +1 -1
  269. package/lib/es/json/inference.put_contextualai.request.json +1 -1
  270. package/lib/es/json/inference.put_deepseek.request.json +1 -1
  271. package/lib/es/json/inference.put_elasticsearch.request.json +1 -1
  272. package/lib/es/json/inference.put_elser.request.json +1 -1
  273. package/lib/es/json/inference.put_fireworksai.request.json +1 -1
  274. package/lib/es/json/inference.put_googleaistudio.request.json +1 -1
  275. package/lib/es/json/inference.put_googlevertexai.request.json +1 -1
  276. package/lib/es/json/inference.put_groq.request.json +1 -1
  277. package/lib/es/json/inference.put_hugging_face.request.json +1 -1
  278. package/lib/es/json/inference.put_jinaai.request.json +1 -1
  279. package/lib/es/json/inference.put_llama.request.json +1 -1
  280. package/lib/es/json/inference.put_mistral.request.json +1 -1
  281. package/lib/es/json/inference.put_nvidia.request.json +1 -1
  282. package/lib/es/json/inference.put_openai.request.json +1 -1
  283. package/lib/es/json/inference.put_openshift_ai.request.json +1 -1
  284. package/lib/es/json/inference.put_region_policy.request.json +1 -1
  285. package/lib/es/json/inference.put_voyageai.request.json +1 -1
  286. package/lib/es/json/inference.put_watsonx.request.json +1 -1
  287. package/lib/es/json/inference.rerank.request.json +1 -1
  288. package/lib/es/json/inference.sparse_embedding.request.json +1 -1
  289. package/lib/es/json/inference.stream_completion.request.json +1 -1
  290. package/lib/es/json/inference.text_embedding.request.json +1 -1
  291. package/lib/es/json/inference.update.request.json +1 -1
  292. package/lib/es/json/ingest.put_geoip_database.request.json +1 -1
  293. package/lib/es/json/ingest.put_ip_location_database.request.json +1 -1
  294. package/lib/es/json/ingest.put_pipeline.request.json +1 -1
  295. package/lib/es/json/ingest.simulate.request.json +1 -1
  296. package/lib/es/json/license.post.request.json +1 -1
  297. package/lib/es/json/logstash.put_pipeline.request.json +1 -1
  298. package/lib/es/json/mget.request.json +1 -1
  299. package/lib/es/json/ml.close_job.request.json +1 -1
  300. package/lib/es/json/ml.delete_expired_data.request.json +1 -1
  301. package/lib/es/json/ml.flush_job.request.json +1 -1
  302. package/lib/es/json/ml.forecast.request.json +1 -1
  303. package/lib/es/json/ml.get_buckets.request.json +1 -1
  304. package/lib/es/json/ml.get_calendars.request.json +1 -1
  305. package/lib/es/json/ml.get_categories.request.json +1 -1
  306. package/lib/es/json/ml.get_influencers.request.json +1 -1
  307. package/lib/es/json/ml.get_model_snapshots.request.json +1 -1
  308. package/lib/es/json/ml.get_overall_buckets.request.json +1 -1
  309. package/lib/es/json/ml.get_records.request.json +1 -1
  310. package/lib/es/json/ml.get_trained_models.request.json +1 -1
  311. package/lib/es/json/ml.infer_trained_model.request.json +1 -1
  312. package/lib/es/json/ml.open_job.request.json +1 -1
  313. package/lib/es/json/ml.post_data.request.json +1 -1
  314. package/lib/es/json/ml.preview_datafeed.request.json +1 -1
  315. package/lib/es/json/ml.put_datafeed.request.json +1 -1
  316. package/lib/es/json/ml.put_job.request.json +1 -1
  317. package/lib/es/json/ml.put_trained_model.request.json +1 -1
  318. package/lib/es/json/ml.revert_model_snapshot.request.json +1 -1
  319. package/lib/es/json/ml.start_data_frame_analytics.request.json +1 -1
  320. package/lib/es/json/ml.start_datafeed.request.json +1 -1
  321. package/lib/es/json/ml.start_trained_model_deployment.request.json +1 -1
  322. package/lib/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  323. package/lib/es/json/ml.stop_datafeed.request.json +1 -1
  324. package/lib/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  325. package/lib/es/json/ml.update_datafeed.request.json +1 -1
  326. package/lib/es/json/ml.update_trained_model_deployment.request.json +1 -1
  327. package/lib/es/json/msearch.request.json +1 -1
  328. package/lib/es/json/msearch_template.request.json +1 -1
  329. package/lib/es/json/mtermvectors.request.json +1 -1
  330. package/lib/es/json/nodes.reload_secure_settings.request.json +1 -1
  331. package/lib/es/json/open_point_in_time.request.json +1 -1
  332. package/lib/es/json/project.create_many_routing.request.json +1 -1
  333. package/lib/es/json/project.create_routing.request.json +1 -1
  334. package/lib/es/json/put_script.request.json +1 -1
  335. package/lib/es/json/query_rules.put_rule.request.json +1 -1
  336. package/lib/es/json/query_rules.put_ruleset.request.json +1 -1
  337. package/lib/es/json/rank_eval.request.json +1 -1
  338. package/lib/es/json/reindex.request.json +1 -1
  339. package/lib/es/json/rollup.rollup_search.request.json +1 -1
  340. package/lib/es/json/scroll.request.json +1 -1
  341. package/lib/es/json/search.request.json +1 -1
  342. package/lib/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  343. package/lib/es/json/search_application.put.request.json +1 -1
  344. package/lib/es/json/search_application.search.request.json +1 -1
  345. package/lib/es/json/search_mvt.request.json +1 -1
  346. package/lib/es/json/search_template.request.json +1 -1
  347. package/lib/es/json/searchable_snapshots.mount.request.json +1 -1
  348. package/lib/es/json/security.bulk_delete_role.request.json +1 -1
  349. package/lib/es/json/security.bulk_put_role.request.json +1 -1
  350. package/lib/es/json/security.bulk_update_api_keys.request.json +1 -1
  351. package/lib/es/json/security.change_password.request.json +1 -1
  352. package/lib/es/json/security.clone_api_key.request.json +1 -1
  353. package/lib/es/json/security.create_api_key.request.json +1 -1
  354. package/lib/es/json/security.get_user.request.json +1 -1
  355. package/lib/es/json/security.get_user_profile.request.json +1 -1
  356. package/lib/es/json/security.grant_api_key.request.json +1 -1
  357. package/lib/es/json/security.put_privileges.request.json +1 -1
  358. package/lib/es/json/security.put_role.request.json +1 -1
  359. package/lib/es/json/security.put_role_mapping.request.json +1 -1
  360. package/lib/es/json/security.put_user.request.json +1 -1
  361. package/lib/es/json/security.query_api_keys.request.json +1 -1
  362. package/lib/es/json/security.query_user.request.json +1 -1
  363. package/lib/es/json/security.suggest_user_profiles.request.json +1 -1
  364. package/lib/es/json/security.update_settings.request.json +1 -1
  365. package/lib/es/json/security.update_user_profile_data.request.json +1 -1
  366. package/lib/es/json/simulate.ingest.request.json +1 -1
  367. package/lib/es/json/slm.put_lifecycle.request.json +1 -1
  368. package/lib/es/json/snapshot.clone.request.json +1 -1
  369. package/lib/es/json/snapshot.create.request.json +1 -1
  370. package/lib/es/json/snapshot.get.request.json +1 -1
  371. package/lib/es/json/snapshot.restore.request.json +1 -1
  372. package/lib/es/json/sql.query.request.json +1 -1
  373. package/lib/es/json/synonyms.put_synonym.request.json +1 -1
  374. package/lib/es/json/synonyms.put_synonym_rule.request.json +1 -1
  375. package/lib/es/json/tasks.cancel.request.json +1 -1
  376. package/lib/es/json/tasks.list.request.json +1 -1
  377. package/lib/es/json/termvectors.request.json +1 -1
  378. package/lib/es/json/text_structure.find_field_structure.request.json +1 -1
  379. package/lib/es/json/text_structure.find_message_structure.request.json +1 -1
  380. package/lib/es/json/text_structure.find_structure.request.json +1 -1
  381. package/lib/es/json/text_structure.test_grok_pattern.request.json +1 -1
  382. package/lib/es/json/transform.preview_transform.request.json +1 -1
  383. package/lib/es/json/transform.put_transform.request.json +1 -1
  384. package/lib/es/json/transform.update_transform.request.json +1 -1
  385. package/lib/es/json/update.request.json +1 -1
  386. package/lib/es/json/update_by_query.request.json +1 -1
  387. package/lib/es/json/watcher.execute_watch.request.json +1 -1
  388. package/lib/es/json/watcher.put_watch.request.json +1 -1
  389. package/lib/es/json/watcher.stats.request.json +1 -1
  390. package/lib/es/json/watcher.update_settings.request.json +1 -1
  391. package/lib/es/schemas/indices.forcemerge.d.ts +3 -4
  392. package/lib/es/schemas/indices.forcemerge.d.ts.map +1 -1
  393. package/lib/es/schemas/indices.forcemerge.js +3 -4
  394. package/lib/es/schemas/indices.forcemerge.js.map +1 -1
  395. package/lib/serverless/schemas/get_traffic_filter_metadata.d.ts +7 -3
  396. package/lib/serverless/schemas/get_traffic_filter_metadata.d.ts.map +1 -1
  397. package/lib/serverless/schemas/get_traffic_filter_metadata.js +3 -3
  398. package/lib/serverless/schemas/get_traffic_filter_metadata.js.map +1 -1
  399. package/package.json +1 -1
  400. package/src/es/json/_global.bulk.json +1 -1
  401. package/src/es/json/_global.health_report.json +1 -1
  402. package/src/es/json/_global.mget.json +1 -1
  403. package/src/es/json/_global.msearch.json +1 -1
  404. package/src/es/json/_global.msearch_template.json +1 -0
  405. package/src/es/json/_global.rank_eval.json +1 -1
  406. package/src/es/json/_global.reindex_rethrottle.json +1 -1
  407. package/src/es/json/_global.search._types.json +1 -1
  408. package/src/es/json/_spec_utils.json +1 -1
  409. package/src/es/json/_types.aggregations.json +1 -1
  410. package/src/es/json/_types.analysis.json +1 -1
  411. package/src/es/json/_types.json +1 -1
  412. package/src/es/json/_types.mapping.json +1 -1
  413. package/src/es/json/_types.query_dsl.json +1 -1
  414. package/src/es/json/async_search.submit.request.json +1 -1
  415. package/src/es/json/bulk.request.json +1 -1
  416. package/src/es/json/cat._types.json +1 -1
  417. package/src/es/json/cat.allocation.json +1 -1
  418. package/src/es/json/cat.circuit_breaker.request.json +1 -1
  419. package/src/es/json/cat.component_templates.json +1 -1
  420. package/src/es/json/cat.indices.json +1 -1
  421. package/src/es/json/cat.shards.json +1 -1
  422. package/src/es/json/cat.templates.json +1 -1
  423. package/src/es/json/cat.thread_pool.json +1 -1
  424. package/src/es/json/cat.transforms.json +1 -1
  425. package/src/es/json/ccr.follow.request.json +1 -1
  426. package/src/es/json/ccr.forget_follower.request.json +1 -1
  427. package/src/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  428. package/src/es/json/ccr.resume_follow.request.json +1 -1
  429. package/src/es/json/cluster.allocation_explain.request.json +1 -1
  430. package/src/es/json/cluster.get_component_template.request.json +1 -1
  431. package/src/es/json/cluster.health.json +1 -1
  432. package/src/es/json/cluster.put_component_template.request.json +1 -1
  433. package/src/es/json/cluster.put_settings.request.json +1 -1
  434. package/src/es/json/cluster.remote_info.json +1 -1
  435. package/src/es/json/cluster.reroute.request.json +1 -1
  436. package/src/es/json/cluster.state.json +1 -1
  437. package/src/es/json/connector._types.json +1 -1
  438. package/src/es/json/connector.sync_job_list.request.json +1 -1
  439. package/src/es/json/count.request.json +1 -1
  440. package/src/es/json/create.request.json +1 -1
  441. package/src/es/json/delete_by_query.request.json +1 -1
  442. package/src/es/json/enrich.put_policy.request.json +1 -1
  443. package/src/es/json/eql.search.request.json +1 -1
  444. package/src/es/json/esql._types.json +1 -1
  445. package/src/es/json/esql.async_query.request.json +1 -1
  446. package/src/es/json/esql.query.request.json +1 -1
  447. package/src/es/json/explain.request.json +1 -1
  448. package/src/es/json/field_caps.request.json +1 -1
  449. package/src/es/json/fleet.global_checkpoints.request.json +1 -1
  450. package/src/es/json/fleet.msearch.request.json +1 -1
  451. package/src/es/json/fleet.search.request.json +1 -1
  452. package/src/es/json/graph.explore.request.json +1 -1
  453. package/src/es/json/health_report.request.json +1 -1
  454. package/src/es/json/ilm.explain_lifecycle.json +1 -1
  455. package/src/es/json/ilm.migrate_to_data_tiers.request.json +1 -1
  456. package/src/es/json/ilm.put_lifecycle.request.json +1 -1
  457. package/src/es/json/index.request.json +1 -1
  458. package/src/es/json/indices._types.json +1 -1
  459. package/src/es/json/indices.analyze.json +1 -1
  460. package/src/es/json/indices.analyze.request.json +1 -1
  461. package/src/es/json/indices.clone.request.json +1 -1
  462. package/src/es/json/indices.create.request.json +1 -1
  463. package/src/es/json/indices.create_from.json +1 -0
  464. package/src/es/json/indices.create_from.request.json +1 -1
  465. package/src/es/json/indices.downsample.request.json +1 -1
  466. package/src/es/json/indices.forcemerge.request.json +1 -1
  467. package/src/es/json/indices.get.json +1 -1
  468. package/src/es/json/indices.migrate_reindex.json +1 -0
  469. package/src/es/json/indices.migrate_reindex.request.json +1 -1
  470. package/src/es/json/indices.put_alias.request.json +1 -1
  471. package/src/es/json/indices.put_data_lifecycle.request.json +1 -1
  472. package/src/es/json/indices.put_data_stream_mappings.request.json +1 -1
  473. package/src/es/json/indices.put_data_stream_options.request.json +1 -1
  474. package/src/es/json/indices.put_data_stream_settings.request.json +1 -1
  475. package/src/es/json/indices.put_index_template.json +1 -1
  476. package/src/es/json/indices.put_index_template.request.json +1 -1
  477. package/src/es/json/indices.put_mapping.request.json +1 -1
  478. package/src/es/json/indices.put_settings.request.json +1 -1
  479. package/src/es/json/indices.put_template.request.json +1 -1
  480. package/src/es/json/indices.resolve_index.request.json +1 -1
  481. package/src/es/json/indices.rollover.request.json +1 -1
  482. package/src/es/json/indices.segments.json +1 -1
  483. package/src/es/json/indices.shard_stores.request.json +1 -1
  484. package/src/es/json/indices.shrink.request.json +1 -1
  485. package/src/es/json/indices.simulate_index_template.request.json +1 -1
  486. package/src/es/json/indices.simulate_template.request.json +1 -1
  487. package/src/es/json/indices.split.request.json +1 -1
  488. package/src/es/json/indices.stats.json +1 -1
  489. package/src/es/json/indices.stats.request.json +1 -1
  490. package/src/es/json/indices.update_aliases.json +1 -1
  491. package/src/es/json/indices.update_aliases.request.json +1 -1
  492. package/src/es/json/indices.validate_query.request.json +1 -1
  493. package/src/es/json/inference._types.json +1 -1
  494. package/src/es/json/inference.chat_completion_unified.request.json +1 -1
  495. package/src/es/json/inference.completion.request.json +1 -1
  496. package/src/es/json/inference.embedding.request.json +1 -1
  497. package/src/es/json/inference.inference.request.json +1 -1
  498. package/src/es/json/inference.put.request.json +1 -1
  499. package/src/es/json/inference.put_ai21.request.json +1 -1
  500. package/src/es/json/inference.put_alibabacloud.request.json +1 -1
  501. package/src/es/json/inference.put_amazonbedrock.request.json +1 -1
  502. package/src/es/json/inference.put_amazonsagemaker.request.json +1 -1
  503. package/src/es/json/inference.put_anthropic.request.json +1 -1
  504. package/src/es/json/inference.put_azureaistudio.request.json +1 -1
  505. package/src/es/json/inference.put_azureopenai.request.json +1 -1
  506. package/src/es/json/inference.put_cohere.request.json +1 -1
  507. package/src/es/json/inference.put_contextualai.request.json +1 -1
  508. package/src/es/json/inference.put_deepseek.request.json +1 -1
  509. package/src/es/json/inference.put_elasticsearch.request.json +1 -1
  510. package/src/es/json/inference.put_elser.request.json +1 -1
  511. package/src/es/json/inference.put_fireworksai.request.json +1 -1
  512. package/src/es/json/inference.put_googleaistudio.request.json +1 -1
  513. package/src/es/json/inference.put_googlevertexai.request.json +1 -1
  514. package/src/es/json/inference.put_groq.request.json +1 -1
  515. package/src/es/json/inference.put_hugging_face.request.json +1 -1
  516. package/src/es/json/inference.put_jinaai.request.json +1 -1
  517. package/src/es/json/inference.put_llama.request.json +1 -1
  518. package/src/es/json/inference.put_mistral.request.json +1 -1
  519. package/src/es/json/inference.put_nvidia.request.json +1 -1
  520. package/src/es/json/inference.put_openai.request.json +1 -1
  521. package/src/es/json/inference.put_openshift_ai.request.json +1 -1
  522. package/src/es/json/inference.put_region_policy.request.json +1 -1
  523. package/src/es/json/inference.put_voyageai.request.json +1 -1
  524. package/src/es/json/inference.put_watsonx.request.json +1 -1
  525. package/src/es/json/inference.rerank.json +1 -1
  526. package/src/es/json/inference.rerank.request.json +1 -1
  527. package/src/es/json/inference.sparse_embedding.request.json +1 -1
  528. package/src/es/json/inference.stream_completion.request.json +1 -1
  529. package/src/es/json/inference.text_embedding.request.json +1 -1
  530. package/src/es/json/inference.update.request.json +1 -1
  531. package/src/es/json/ingest._types.json +1 -1
  532. package/src/es/json/ingest.put_geoip_database.request.json +1 -1
  533. package/src/es/json/ingest.put_ip_location_database.request.json +1 -1
  534. package/src/es/json/ingest.put_pipeline.request.json +1 -1
  535. package/src/es/json/ingest.simulate.request.json +1 -1
  536. package/src/es/json/license._types.json +1 -1
  537. package/src/es/json/license.get.json +1 -1
  538. package/src/es/json/license.post.request.json +1 -1
  539. package/src/es/json/license.post_start_basic.response.json +1 -1
  540. package/src/es/json/logstash.put_pipeline.request.json +1 -1
  541. package/src/es/json/mget.request.json +1 -1
  542. package/src/es/json/ml._types.json +1 -1
  543. package/src/es/json/ml.close_job.request.json +1 -1
  544. package/src/es/json/ml.delete_expired_data.request.json +1 -1
  545. package/src/es/json/ml.flush_job.request.json +1 -1
  546. package/src/es/json/ml.forecast.request.json +1 -1
  547. package/src/es/json/ml.get_buckets.request.json +1 -1
  548. package/src/es/json/ml.get_calendars.request.json +1 -1
  549. package/src/es/json/ml.get_categories.request.json +1 -1
  550. package/src/es/json/ml.get_influencers.request.json +1 -1
  551. package/src/es/json/ml.get_model_snapshots.request.json +1 -1
  552. package/src/es/json/ml.get_overall_buckets.request.json +1 -1
  553. package/src/es/json/ml.get_records.request.json +1 -1
  554. package/src/es/json/ml.get_trained_models.request.json +1 -1
  555. package/src/es/json/ml.infer_trained_model.request.json +1 -1
  556. package/src/es/json/ml.open_job.request.json +1 -1
  557. package/src/es/json/ml.post_data.request.json +1 -1
  558. package/src/es/json/ml.preview_datafeed.request.json +1 -1
  559. package/src/es/json/ml.put_datafeed.request.json +1 -1
  560. package/src/es/json/ml.put_job.request.json +1 -1
  561. package/src/es/json/ml.put_trained_model.request.json +1 -1
  562. package/src/es/json/ml.revert_model_snapshot.request.json +1 -1
  563. package/src/es/json/ml.start_data_frame_analytics.request.json +1 -1
  564. package/src/es/json/ml.start_datafeed.request.json +1 -1
  565. package/src/es/json/ml.start_trained_model_deployment.request.json +1 -1
  566. package/src/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  567. package/src/es/json/ml.stop_datafeed.request.json +1 -1
  568. package/src/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  569. package/src/es/json/ml.update_datafeed.request.json +1 -1
  570. package/src/es/json/ml.update_trained_model_deployment.request.json +1 -1
  571. package/src/es/json/msearch.request.json +1 -1
  572. package/src/es/json/msearch_template.request.json +1 -1
  573. package/src/es/json/mtermvectors.request.json +1 -1
  574. package/src/es/json/nodes._types.json +1 -1
  575. package/src/es/json/nodes.info.json +1 -1
  576. package/src/es/json/nodes.reload_secure_settings.request.json +1 -1
  577. package/src/es/json/nodes.stats.json +1 -1
  578. package/src/es/json/nodes.usage.json +1 -1
  579. package/src/es/json/open_point_in_time.request.json +1 -1
  580. package/src/es/json/project.create_many_routing.request.json +1 -1
  581. package/src/es/json/project.create_routing.request.json +1 -1
  582. package/src/es/json/put_script.request.json +1 -1
  583. package/src/es/json/query_rules._types.json +1 -1
  584. package/src/es/json/query_rules.put_rule.request.json +1 -1
  585. package/src/es/json/query_rules.put_ruleset.request.json +1 -1
  586. package/src/es/json/rank_eval.request.json +1 -1
  587. package/src/es/json/reindex.request.json +1 -1
  588. package/src/es/json/rollup.rollup_search.request.json +1 -1
  589. package/src/es/json/scroll.request.json +1 -1
  590. package/src/es/json/search.request.json +1 -1
  591. package/src/es/json/search_application._types.json +1 -1
  592. package/src/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  593. package/src/es/json/search_application.put.request.json +1 -1
  594. package/src/es/json/search_application.search.request.json +1 -1
  595. package/src/es/json/search_mvt.request.json +1 -1
  596. package/src/es/json/search_template.request.json +1 -1
  597. package/src/es/json/searchable_snapshots.mount.request.json +1 -1
  598. package/src/es/json/security._types.json +1 -1
  599. package/src/es/json/security.authenticate.response.json +1 -1
  600. package/src/es/json/security.bulk_delete_role.request.json +1 -1
  601. package/src/es/json/security.bulk_put_role.request.json +1 -1
  602. package/src/es/json/security.bulk_update_api_keys.request.json +1 -1
  603. package/src/es/json/security.change_password.request.json +1 -1
  604. package/src/es/json/security.clone_api_key.request.json +1 -1
  605. package/src/es/json/security.create_api_key.request.json +1 -1
  606. package/src/es/json/security.delegate_pki.json +1 -1
  607. package/src/es/json/security.get_role.json +1 -1
  608. package/src/es/json/security.get_token.json +1 -1
  609. package/src/es/json/security.get_user.request.json +1 -1
  610. package/src/es/json/security.get_user_profile.request.json +1 -1
  611. package/src/es/json/security.grant_api_key.json +1 -1
  612. package/src/es/json/security.grant_api_key.request.json +1 -1
  613. package/src/es/json/security.put_privileges.request.json +1 -1
  614. package/src/es/json/security.put_role.request.json +1 -1
  615. package/src/es/json/security.put_role_mapping.request.json +1 -1
  616. package/src/es/json/security.put_user.request.json +1 -1
  617. package/src/es/json/security.query_api_keys.json +1 -1
  618. package/src/es/json/security.query_api_keys.request.json +1 -1
  619. package/src/es/json/security.query_role.json +1 -1
  620. package/src/es/json/security.query_user.json +1 -1
  621. package/src/es/json/security.query_user.request.json +1 -1
  622. package/src/es/json/security.suggest_user_profiles.json +1 -1
  623. package/src/es/json/security.suggest_user_profiles.request.json +1 -1
  624. package/src/es/json/security.update_settings.request.json +1 -1
  625. package/src/es/json/security.update_user_profile_data.request.json +1 -1
  626. package/src/es/json/simulate.ingest.request.json +1 -1
  627. package/src/es/json/slm.put_lifecycle.request.json +1 -1
  628. package/src/es/json/snapshot._types.json +1 -1
  629. package/src/es/json/snapshot.clone.request.json +1 -1
  630. package/src/es/json/snapshot.create.request.json +1 -1
  631. package/src/es/json/snapshot.get.request.json +1 -1
  632. package/src/es/json/snapshot.restore.request.json +1 -1
  633. package/src/es/json/sql.query.request.json +1 -1
  634. package/src/es/json/ssl.certificates.json +1 -1
  635. package/src/es/json/synonyms.put_synonym.request.json +1 -1
  636. package/src/es/json/synonyms.put_synonym_rule.request.json +1 -1
  637. package/src/es/json/tasks._types.json +1 -1
  638. package/src/es/json/tasks.cancel.request.json +1 -1
  639. package/src/es/json/tasks.list.request.json +1 -1
  640. package/src/es/json/termvectors.request.json +1 -1
  641. package/src/es/json/text_structure.find_field_structure.request.json +1 -1
  642. package/src/es/json/text_structure.find_message_structure.request.json +1 -1
  643. package/src/es/json/text_structure.find_structure.request.json +1 -1
  644. package/src/es/json/text_structure.test_grok_pattern.request.json +1 -1
  645. package/src/es/json/transform.preview_transform.request.json +1 -1
  646. package/src/es/json/transform.put_transform.request.json +1 -1
  647. package/src/es/json/transform.update_transform.request.json +1 -1
  648. package/src/es/json/update.request.json +1 -1
  649. package/src/es/json/update_by_query.request.json +1 -1
  650. package/src/es/json/watcher._types.json +1 -1
  651. package/src/es/json/watcher.execute_watch.request.json +1 -1
  652. package/src/es/json/watcher.put_watch.request.json +1 -1
  653. package/src/es/json/watcher.stats.request.json +1 -1
  654. package/src/es/json/watcher.update_settings.request.json +1 -1
  655. package/src/serverless/json/get_traffic_filter_metadata.response.json +7 -2
@@ -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":{"oneOf":[{"type":"string"},{"type":"null"}]},"full_name":{"oneOf":[{"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."},"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."},"global":{"oneOf":[{"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."},"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":{"oneOf":[{"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":{"oneOf":[{"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`."}},"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":{"oneOf":[{"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":{"oneOf":[{"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":{"oneOf":[{"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":{"oneOf":[{"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`."}},"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."}},"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":{"oneOf":[{"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":{"oneOf":[{"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":{"oneOf":[{"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":{"oneOf":[{"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`."}},"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`)."},"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."},"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"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Metadata of the API key"},"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."},"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."},"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."},"profile_uid":{"type":"string","description":"The profile uid for the API key owner principal, if requested and if it exists"},"_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":{"oneOf":[{"$ref":"./_types.json#/$defs/_types__FieldValue"},{"type":"array","items":{"$ref":"./_types.json#/$defs/_types__FieldValue"}}]}},"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."},"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."},"global":{"oneOf":[{"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."},"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":{"oneOf":[{"type":"string"},{"type":"null"}]},"full_name":{"oneOf":[{"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":{"oneOf":[{"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":{"oneOf":[{"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."},"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."},"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."},"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`."}},"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`."}},"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."}},"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`."}},"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`)."},"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."},"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"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Metadata of the API key"},"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."},"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."},"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."},"profile_uid":{"type":"string","description":"The profile uid for the API key owner principal, if requested and if it exists"},"_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"}}]}},"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."},"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."},"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."},"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","title":"security.authenticate","type":"object","properties":{"api_key":{"$ref":"./security.authenticate.json#/$defs/security.authenticate__AuthenticateApiKey"},"authentication_realm":{"$ref":"./security._types.json#/$defs/security._types__RealmInfo"},"email":{"oneOf":[{"type":"string"},{"type":"null"}]},"full_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"lookup_realm":{"$ref":"./security._types.json#/$defs/security._types__RealmInfo"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"roles":{"type":"array","items":{"type":"string"}},"username":{"type":"string"},"enabled":{"type":"boolean"},"authentication_type":{"type":"string"},"token":{"$ref":"./security.authenticate.json#/$defs/security.authenticate__Token"}},"required":["authentication_realm","lookup_realm","metadata","roles","username","enabled","authentication_type"]}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.authenticate","type":"object","properties":{"api_key":{"$ref":"./security.authenticate.json#/$defs/security.authenticate__AuthenticateApiKey"},"authentication_realm":{"$ref":"./security._types.json#/$defs/security._types__RealmInfo"},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"lookup_realm":{"$ref":"./security._types.json#/$defs/security._types__RealmInfo"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"roles":{"type":"array","items":{"type":"string"}},"username":{"type":"string"},"enabled":{"type":"boolean"},"authentication_type":{"type":"string"},"token":{"$ref":"./security.authenticate.json#/$defs/security.authenticate__Token"}},"required":["authentication_realm","lookup_realm","metadata","roles","username","enabled","authentication_type"]}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.bulk_delete_role","type":"object","properties":{"names":{"type":"array","items":{"type":"string"},"description":"An array of role names to delete","x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"}},"required":["names"],"description":"Bulk delete roles.\n\nThe role management APIs are generally the preferred way to manage roles, rather than using file-based role management.\nThe bulk delete roles API cannot delete roles that are defined in roles files."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.bulk_delete_role","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"names":{"type":"array","items":{"type":"string"},"description":"An array of role names to delete","x-found-in":"body"}},"required":["names"],"description":"Bulk delete roles.\n\nThe role management APIs are generally the preferred way to manage roles, rather than using file-based role management.\nThe bulk delete roles API cannot delete roles that are defined in roles files."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.bulk_put_role","type":"object","properties":{"roles":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"},"description":"A dictionary of role name to RoleDescriptor objects to add or update","x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"}},"required":["roles"],"description":"Bulk create or update roles.\n\nThe role management APIs are generally the preferred way to manage roles, rather than using file-based role management.\nThe bulk create or update roles API cannot update roles that are defined in roles files."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.bulk_put_role","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"roles":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"},"description":"A dictionary of role name to RoleDescriptor objects to add or update","x-found-in":"body"}},"required":["roles"],"description":"Bulk create or update roles.\n\nThe role management APIs are generally the preferred way to manage roles, rather than using file-based role management.\nThe bulk create or update roles API cannot update roles that are defined in roles files."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.bulk_update_api_keys","type":"object","properties":{"expiration":{"$ref":"./_types.json#/$defs/_types__Duration","description":"Expiration time for the API keys.\nBy default, API keys never expire.\nThis property can be omitted to leave the value unchanged.","x-found-in":"body"},"ids":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The API key identifiers.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary nested metadata to associate with the API keys.\nWithin the `metadata` object, top-level keys beginning with an underscore (`_`) are reserved for system usage.\nAny information specified with this parameter fully replaces metadata previously associated with the API key.","x-found-in":"body"},"role_descriptors":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"},"description":"The role descriptors to assign to the API keys.\nAn API key's effective permissions are an intersection of its assigned privileges and the point-in-time snapshot of permissions of the owner user.\nYou can assign new privileges by specifying them in this parameter.\nTo remove assigned privileges, supply the `role_descriptors` parameter as an empty object `{}`.\nIf an API key has no assigned privileges, it inherits the owner user's full permissions.\nThe snapshot of the owner's permissions is always updated, whether you supply the `role_descriptors` parameter.\nThe structure of a role descriptor is the same as the request for the create API keys API.","x-found-in":"body"}},"required":["ids"],"description":"Bulk update API keys.\n\nUpdate the attributes for multiple API keys.\n\nIMPORTANT: It is not possible to use an API key as the authentication credential for this API. To update API keys, the owner user's credentials are required.\n\nThis API is similar to the update API key API but enables you to apply the same update to multiple API keys in one API call. This operation can greatly improve performance over making individual updates.\n\nIt is not possible to update expired or invalidated API keys.\n\nThis API supports updates to API key access scope, metadata and expiration.\nThe access scope of each API key is derived from the `role_descriptors` you specify in the request and a snapshot of the owner user's permissions at the time of the request.\nThe snapshot of the owner's permissions is updated automatically on every call.\n\nIMPORTANT: If you don't specify `role_descriptors` in the request, a call to this API might still change an API key's access scope. This change can occur if the owner user's permissions have changed since the API key was created or last modified.\n\nA successful request returns a JSON structure that contains the IDs of all updated API keys, the IDs of API keys that already had the requested changes and did not require an update, and error details for any failed update."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.bulk_update_api_keys","type":"object","properties":{"expiration":{"$ref":"./_types.json#/$defs/_types__Duration","description":"Expiration time for the API keys.\nBy default, API keys never expire.\nThis property can be omitted to leave the value unchanged.","x-found-in":"body"},"ids":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The API key identifiers.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary nested metadata to associate with the API keys.\nWithin the `metadata` object, top-level keys beginning with an underscore (`_`) are reserved for system usage.\nAny information specified with this parameter fully replaces metadata previously associated with the API key.","x-found-in":"body"},"role_descriptors":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"},"description":"The role descriptors to assign to the API keys.\nAn API key's effective permissions are an intersection of its assigned privileges and the point-in-time snapshot of permissions of the owner user.\nYou can assign new privileges by specifying them in this parameter.\nTo remove assigned privileges, supply the `role_descriptors` parameter as an empty object `{}`.\nIf an API key has no assigned privileges, it inherits the owner user's full permissions.\nThe snapshot of the owner's permissions is always updated, whether you supply the `role_descriptors` parameter.\nThe structure of a role descriptor is the same as the request for the create API keys API.","x-found-in":"body"}},"required":["ids"],"description":"Bulk update API keys.\n\nUpdate the attributes for multiple API keys.\n\nIMPORTANT: It is not possible to use an API key as the authentication credential for this API. To update API keys, the owner user's credentials are required.\n\nThis API is similar to the update API key API but enables you to apply the same update to multiple API keys in one API call. This operation can greatly improve performance over making individual updates.\n\nIt is not possible to update expired or invalidated API keys.\n\nThis API supports updates to API key access scope, metadata and expiration.\nThe access scope of each API key is derived from the `role_descriptors` you specify in the request and a snapshot of the owner user's permissions at the time of the request.\nThe snapshot of the owner's permissions is updated automatically on every call.\n\nIMPORTANT: If you don't specify `role_descriptors` in the request, a call to this API might still change an API key's access scope. This change can occur if the owner user's permissions have changed since the API key was created or last modified.\n\nA successful request returns a JSON structure that contains the IDs of all updated API keys, the IDs of API keys that already had the requested changes and did not require an update, and error details for any failed update."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.change_password","type":"object","properties":{"password":{"type":"string","description":"The new password value. Passwords must be at least 6 characters long.","x-found-in":"body"},"password_hash":{"type":"string","description":"A hash of the new password value. This must be produced using the same\nhashing algorithm as has been configured for password storage. For more details,\nsee the explanation of the `xpack.security.authc.password_hashing.algorithm`\nsetting.","x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"username":{"type":"string","description":"The user whose password you want to change. If you do not specify this\nparameter, the password is changed for the current user.","x-found-in":"path"}},"description":"Change passwords.\n\nChange the passwords of users in the native realm and built-in users."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.change_password","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"password":{"type":"string","description":"The new password value. Passwords must be at least 6 characters long.","x-found-in":"body"},"password_hash":{"type":"string","description":"A hash of the new password value. This must be produced using the same\nhashing algorithm as has been configured for password storage. For more details,\nsee the explanation of the `xpack.security.authc.password_hashing.algorithm`\nsetting.","x-found-in":"body"},"username":{"type":"string","description":"The user whose password you want to change. If you do not specify this\nparameter, the password is changed for the current user.","x-found-in":"path"}},"description":"Change passwords.\n\nChange the passwords of users in the native realm and built-in users."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.clone_api_key","type":"object","properties":{"api_key":{"type":"string","description":"The credentials of the API key to clone.\nThis is the secret value returned when the key was originally created.","x-found-in":"body"},"name":{"type":"string","description":"A name for the cloned API key.\nIf not provided, the name of the source key is used.","x-found-in":"body"},"expiration":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The expiration time for the cloned API key.\nBy default, API keys never expire.\nSet to `null` to explicitly create a key with no expiration.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary metadata to associate with the cloned API key.\nIt supports nested data structure.\nWithin the metadata object, keys beginning with `_` are reserved for system usage.","x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"}},"required":["api_key"],"description":"Clone an API key.\n\nCreate a copy of an existing API key with a new ID.\nThe cloned key inherits the role descriptors of the source key.\nThis is intended for applications (such as Kibana) that need to\ncreate API keys on behalf of a user using an existing API key credential,\nsince derived API keys (API keys created by API keys) are not otherwise supported."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.clone_api_key","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"api_key":{"type":"string","description":"The credentials of the API key to clone.\nThis is the secret value returned when the key was originally created.","x-found-in":"body"},"name":{"type":"string","description":"A name for the cloned API key.\nIf not provided, the name of the source key is used.","x-found-in":"body"},"expiration":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The expiration time for the cloned API key.\nBy default, API keys never expire.\nSet to `null` to explicitly create a key with no expiration.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary metadata to associate with the cloned API key.\nIt supports nested data structure.\nWithin the metadata object, keys beginning with `_` are reserved for system usage.","x-found-in":"body"}},"required":["api_key"],"description":"Clone an API key.\n\nCreate a copy of an existing API key with a new ID.\nThe cloned key inherits the role descriptors of the source key.\nThis is intended for applications (such as Kibana) that need to\ncreate API keys on behalf of a user using an existing API key credential,\nsince derived API keys (API keys created by API keys) are not otherwise supported."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.create_api_key","type":"object","properties":{"expiration":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The expiration time for the API key.\nBy default, API keys never expire.","x-found-in":"body"},"name":{"type":"string","description":"A name for the API key.","x-found-in":"body"},"role_descriptors":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"},"description":"An array of role descriptors for this API key.\nWhen it is not specified or it is an empty array, the API key will have a point in time snapshot of permissions of the authenticated user.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the authenticated user's permissions thereby limiting the access scope for API keys.\nThe structure of role descriptor is the same as the request for the create role API.\nFor more details, refer to the create or update roles API.\n\nNOTE: Due to the way in which this permission intersection is calculated, it is not possible to create an API key that is a child of another API key, unless the derived key is created without any privileges.\nIn this case, you must explicitly specify a role descriptor with no privileges.\nThe derived API key can be used for authentication; it will not have authority to call Elasticsearch APIs.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with `_` are reserved for system usage.","x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"}},"description":"Create an API key.\n\nCreate an API key for access without requiring basic authentication.\n\nIMPORTANT: If the credential that is used to authenticate this request is an API key, the derived API key cannot have any privileges.\nIf you specify privileges, the API returns an error.\n\nA successful request returns a JSON structure that contains the API key, its unique id, and its name.\nIf applicable, it also returns expiration information for the API key in milliseconds.\n\nNOTE: By default, API keys never expire. You can specify expiration information when you create the API keys.\n\nThe API keys are created by the Elasticsearch API key service, which is automatically enabled.\nTo configure or turn off the API key service, refer to API key service setting documentation."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.create_api_key","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"expiration":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The expiration time for the API key.\nBy default, API keys never expire.","x-found-in":"body"},"name":{"type":"string","description":"A name for the API key.","x-found-in":"body"},"role_descriptors":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"},"description":"An array of role descriptors for this API key.\nWhen it is not specified or it is an empty array, the API key will have a point in time snapshot of permissions of the authenticated user.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the authenticated user's permissions thereby limiting the access scope for API keys.\nThe structure of role descriptor is the same as the request for the create role API.\nFor more details, refer to the create or update roles API.\n\nNOTE: Due to the way in which this permission intersection is calculated, it is not possible to create an API key that is a child of another API key, unless the derived key is created without any privileges.\nIn this case, you must explicitly specify a role descriptor with no privileges.\nThe derived API key can be used for authentication; it will not have authority to call Elasticsearch APIs.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with `_` are reserved for system usage.","x-found-in":"body"}},"description":"Create an API key.\n\nCreate an API key for access without requiring basic authentication.\n\nIMPORTANT: If the credential that is used to authenticate this request is an API key, the derived API key cannot have any privileges.\nIf you specify privileges, the API returns an error.\n\nA successful request returns a JSON structure that contains the API key, its unique id, and its name.\nIf applicable, it also returns expiration information for the API key in milliseconds.\n\nNOTE: By default, API keys never expire. You can specify expiration information when you create the API keys.\n\nThe API keys are created by the Elasticsearch API key service, which is automatically enabled.\nTo configure or turn off the API key service, refer to API key service setting documentation."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.delegate_pki__Authentication":{"type":"object","properties":{"username":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"full_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"email":{"oneOf":[{"type":"string"},{"type":"null"}]},"token":{"type":"object","additionalProperties":{"type":"string"}},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"enabled":{"type":"boolean"},"authentication_realm":{"$ref":"./security.delegate_pki.json#/$defs/security.delegate_pki__AuthenticationRealm"},"lookup_realm":{"$ref":"./security.delegate_pki.json#/$defs/security.delegate_pki__AuthenticationRealm"},"authentication_type":{"type":"string"},"api_key":{"type":"object","additionalProperties":{"type":"string"}}},"required":["username","roles","full_name","email","metadata","enabled","authentication_realm","lookup_realm","authentication_type"]},"security.delegate_pki__AuthenticationRealm":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"domain":{"type":"string"}},"required":["name","type"]}}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.delegate_pki__Authentication":{"type":"object","properties":{"username":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"token":{"type":"object","additionalProperties":{"type":"string"}},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"enabled":{"type":"boolean"},"authentication_realm":{"$ref":"./security.delegate_pki.json#/$defs/security.delegate_pki__AuthenticationRealm"},"lookup_realm":{"$ref":"./security.delegate_pki.json#/$defs/security.delegate_pki__AuthenticationRealm"},"authentication_type":{"type":"string"},"api_key":{"type":"object","additionalProperties":{"type":"string"}}},"required":["username","roles","full_name","email","metadata","enabled","authentication_realm","lookup_realm","authentication_type"]},"security.delegate_pki__AuthenticationRealm":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"domain":{"type":"string"}},"required":["name","type"]}}}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.get_role__Role":{"type":"object","properties":{"cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ClusterPrivilege"}},"indices":{"type":"array","items":{"$ref":"./security.get_role.json#/$defs/security.get_role__IndicesPrivilegesRead"}},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"}},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"}},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"description":{"type":"string"},"run_as":{"type":"array","items":{"type":"string"}},"transient_metadata":{"type":"object","additionalProperties":{}},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"}},"role_templates":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplate"}},"global":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}}},"required":["cluster","indices","metadata","applications"]},"security.get_role__IndicesPrivilegesRead":{"type":"object","properties":{"implicitly_granted":{"type":"boolean","description":"Set to `true` on entries that were contributed by a registered `ImplicitPrivilegesProvider`\nrather than explicitly stored on the role. Only present when the get role API is called with\n`include_implicit=true`. The put role API rejects this field, so clients must not echo it back\non a GET-then-PUT round-trip."},"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":{"oneOf":[{"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`."}},"required":["names","privileges"],"description":"Read-side variant of `IndicesPrivileges` returned by the get role API.\nCarries the `implicitly_granted` marker that is set on entries contributed by\na registered `ImplicitPrivilegesProvider` when `include_implicit` is `true`."}}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.get_role__Role":{"type":"object","properties":{"cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ClusterPrivilege"}},"indices":{"type":"array","items":{"$ref":"./security.get_role.json#/$defs/security.get_role__IndicesPrivilegesRead"}},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"}},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"}},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"description":{"type":"string"},"run_as":{"type":"array","items":{"type":"string"}},"transient_metadata":{"type":"object","additionalProperties":{}},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"}},"role_templates":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplate"}},"global":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}}},"required":["cluster","indices","metadata","applications"]},"security.get_role__IndicesPrivilegesRead":{"type":"object","properties":{"implicitly_granted":{"type":"boolean","description":"Set to `true` on entries that were contributed by a registered `ImplicitPrivilegesProvider`\nrather than explicitly stored on the role. Only present when the get role API is called with\n`include_implicit=true`. The put role API rejects this field, so clients must not echo it back\non a GET-then-PUT round-trip."},"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`."}},"required":["names","privileges"],"description":"Read-side variant of `IndicesPrivileges` returned by the get role API.\nCarries the `implicitly_granted` marker that is set on entries contributed by\na registered `ImplicitPrivilegesProvider` when `include_implicit` is `true`."}}}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.get_token__AccessTokenGrantType":{"enum":["password","client_credentials","_kerberos","refresh_token"]},"security.get_token__AuthenticatedUser":{"type":"object","properties":{"email":{"oneOf":[{"type":"string"},{"type":"null"}]},"full_name":{"oneOf":[{"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"},"authentication_realm":{"$ref":"./security.get_token.json#/$defs/security.get_token__UserRealm"},"lookup_realm":{"$ref":"./security.get_token.json#/$defs/security.get_token__UserRealm"},"authentication_provider":{"$ref":"./security.get_token.json#/$defs/security.get_token__AuthenticationProvider"},"authentication_type":{"type":"string"}},"required":["metadata","roles","username","enabled","authentication_realm","lookup_realm","authentication_type"]},"security.get_token__UserRealm":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"]},"security.get_token__AuthenticationProvider":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"}},"required":["type","name"]}}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.get_token__AccessTokenGrantType":{"enum":["password","client_credentials","_kerberos","refresh_token"]},"security.get_token__AuthenticatedUser":{"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"},"authentication_realm":{"$ref":"./security.get_token.json#/$defs/security.get_token__UserRealm"},"lookup_realm":{"$ref":"./security.get_token.json#/$defs/security.get_token__UserRealm"},"authentication_provider":{"$ref":"./security.get_token.json#/$defs/security.get_token__AuthenticationProvider"},"authentication_type":{"type":"string"}},"required":["metadata","roles","username","enabled","authentication_realm","lookup_realm","authentication_type"]},"security.get_token__UserRealm":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"]},"security.get_token__AuthenticationProvider":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"}},"required":["type","name"]}}}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.get_user","type":"object","properties":{"with_profile_uid":{"type":"boolean","description":"Determines whether to retrieve the user profile UID, if it exists, for the users.","x-found-in":"query"},"username":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.","x-found-in":"path"}},"description":"Get users.\n\nGet information about users in the native realm and built-in users."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.get_user","type":"object","properties":{"with_profile_uid":{"type":"boolean","description":"Determines whether to retrieve the user profile UID, if it exists, for the users.","x-found-in":"query"},"username":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.","x-found-in":"path"}},"description":"Get users.\n\nGet information about users in the native realm and built-in users."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.get_user_profile","type":"object","properties":{"data":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A comma-separated list of filters for the `data` field of the profile document.\nTo return all content use `data=*`.\nTo return a subset of content use `data=<key>` to retrieve content nested under the specified `<key>`.\nBy default returns no `data` content.","x-found-in":"query"},"uid":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A unique identifier for the user profile.","x-found-in":"path"}},"required":["uid"],"description":"Get a user profile.\n\nGet a user's profile using the unique profile ID.\n\nNOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.\nIndividual users and external applications should not call this API directly.\nElastic reserves the right to change or remove this feature in future releases without prior notice."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.get_user_profile","type":"object","properties":{"data":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A comma-separated list of filters for the `data` field of the profile document.\nTo return all content use `data=*`.\nTo return a subset of content use `data=<key>` to retrieve content nested under the specified `<key>`.\nBy default returns no `data` content.","x-found-in":"query"},"uid":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A unique identifier for the user profile.","x-found-in":"path"}},"required":["uid"],"description":"Get a user profile.\n\nGet a user's profile using the unique profile ID.\n\nNOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.\nIndividual users and external applications should not call this API directly.\nElastic reserves the right to change or remove this feature in future releases without prior notice."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.grant_api_key__GrantApiKey":{"type":"object","properties":{"name":{"type":"string"},"expiration":{"type":"string","description":"Expiration time for the API key. By default, API keys never expire."},"role_descriptors":{"oneOf":[{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"}},{"type":"array","items":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"}}}],"description":"The role descriptors for this API key.\nWhen it is not specified or is an empty array, the API key has a point in time snapshot of permissions of the specified user or access token.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the permissions of the user or access token."},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary metadata that you want to associate with the API key.\nIt supports nested data structure.\nWithin the `metadata` object, keys beginning with `_` are reserved for system usage."}},"required":["name"]},"security.grant_api_key__ApiKeyGrantType":{"enum":["access_token","password"]}}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.grant_api_key__GrantApiKey":{"type":"object","properties":{"name":{"type":"string"},"expiration":{"type":"string","description":"Expiration time for the API key. By default, API keys never expire."},"role_descriptors":{"anyOf":[{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"}},{"type":"array","items":{"type":"object","additionalProperties":{"$ref":"./security._types.json#/$defs/security._types__RoleDescriptor"}}}],"description":"The role descriptors for this API key.\nWhen it is not specified or is an empty array, the API key has a point in time snapshot of permissions of the specified user or access token.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the permissions of the user or access token."},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary metadata that you want to associate with the API key.\nIt supports nested data structure.\nWithin the `metadata` object, keys beginning with `_` are reserved for system usage."}},"required":["name"]},"security.grant_api_key__ApiKeyGrantType":{"enum":["access_token","password"]}}}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.grant_api_key","type":"object","properties":{"api_key":{"$ref":"./security.grant_api_key.json#/$defs/security.grant_api_key__GrantApiKey","description":"The API key.","x-found-in":"body"},"grant_type":{"$ref":"./security.grant_api_key.json#/$defs/security.grant_api_key__ApiKeyGrantType","description":"The type of grant. Supported grant types are: `access_token`, `password`.","x-found-in":"body"},"access_token":{"type":"string","description":"The user's access token.\nIf you specify the `access_token` grant type, this parameter is required.\nIt is not valid with other grant types.","x-found-in":"body"},"username":{"type":"string","description":"The user name that identifies the user.\nIf you specify the `password` grant type, this parameter is required.\nIt is not valid with other grant types.","x-found-in":"body"},"password":{"type":"string","description":"The user's password.\nIf you specify the `password` grant type, this parameter is required.\nIt is not valid with other grant types.","x-found-in":"body"},"run_as":{"type":"string","description":"The name of the user to be impersonated.","x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search.\nIf 'wait_for', it waits for a refresh to make this operation visible to search.\nIf 'false', nothing is done with refreshes.","x-found-in":"query"}},"required":["api_key","grant_type"],"description":"Grant an API key.\n\nCreate an API key on behalf of another user.\nThis API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API.\nThe caller must have authentication credentials for the user on whose behalf the API key will be created.\nIt is not possible to use this API to create an API key without that user's credentials.\nThe supported user authentication credential types are:\n\n* username and password\n* Elasticsearch access tokens\n* JWTs\n\nThe user, for whom the authentication credentials is provided, can optionally \"run as\" (impersonate) another user.\nIn this case, the API key will be created on behalf of the impersonated user.\n\nThis API is intended be used by applications that need to create and manage API keys for end users, but cannot guarantee that those users have permission to create API keys on their own behalf.\nThe API keys are created by the Elasticsearch API key service, which is automatically enabled.\n\nA successful grant API key API call returns a JSON structure that contains the API key, its unique id, and its name.\nIf applicable, it also returns expiration information for the API key in milliseconds.\n\nBy default, API keys never expire. You can specify expiration information when you create the API keys."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.grant_api_key","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search.\nIf 'wait_for', it waits for a refresh to make this operation visible to search.\nIf 'false', nothing is done with refreshes.","x-found-in":"query"},"api_key":{"$ref":"./security.grant_api_key.json#/$defs/security.grant_api_key__GrantApiKey","description":"The API key.","x-found-in":"body"},"grant_type":{"$ref":"./security.grant_api_key.json#/$defs/security.grant_api_key__ApiKeyGrantType","description":"The type of grant. Supported grant types are: `access_token`, `password`.","x-found-in":"body"},"access_token":{"type":"string","description":"The user's access token.\nIf you specify the `access_token` grant type, this parameter is required.\nIt is not valid with other grant types.","x-found-in":"body"},"username":{"type":"string","description":"The user name that identifies the user.\nIf you specify the `password` grant type, this parameter is required.\nIt is not valid with other grant types.","x-found-in":"body"},"password":{"type":"string","description":"The user's password.\nIf you specify the `password` grant type, this parameter is required.\nIt is not valid with other grant types.","x-found-in":"body"},"run_as":{"type":"string","description":"The name of the user to be impersonated.","x-found-in":"body"}},"required":["api_key","grant_type"],"description":"Grant an API key.\n\nCreate an API key on behalf of another user.\nThis API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API.\nThe caller must have authentication credentials for the user on whose behalf the API key will be created.\nIt is not possible to use this API to create an API key without that user's credentials.\nThe supported user authentication credential types are:\n\n* username and password\n* Elasticsearch access tokens\n* JWTs\n\nThe user, for whom the authentication credentials is provided, can optionally \"run as\" (impersonate) another user.\nIn this case, the API key will be created on behalf of the impersonated user.\n\nThis API is intended be used by applications that need to create and manage API keys for end users, but cannot guarantee that those users have permission to create API keys on their own behalf.\nThe API keys are created by the Elasticsearch API key service, which is automatically enabled.\n\nA successful grant API key API call returns a JSON structure that contains the API key, its unique id, and its name.\nIf applicable, it also returns expiration information for the API key in milliseconds.\n\nBy default, API keys never expire. You can specify expiration information when you create the API keys."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.put_privileges","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"}},"description":"Create or update application privileges.\n\nTo use this API, you must have one of the following privileges:\n\n* The `manage_security` cluster privilege (or a greater privilege such as `all`).\n* The \"Manage Application Privileges\" global privilege for the application being referenced in the request.\n\nApplication names are formed from a prefix, with an optional suffix that conform to the following rules:\n\n* The prefix must begin with a lowercase ASCII letter.\n* The prefix must contain only ASCII letters or digits.\n* The prefix must be at least 3 characters long.\n* If the suffix exists, it must begin with either a dash `-` or `_`.\n* The suffix cannot contain any of the following characters: `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, `,`, `*`.\n* No part of the name can contain whitespace.\n\nPrivilege names must begin with a lowercase ASCII letter and must contain only ASCII letters and digits along with the characters `_`, `-`, and `.`.\n\nAction names can contain any number of printable ASCII characters and must contain at least one of the following characters: `/`, `*`, `:`."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.put_privileges","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"privileges":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"$ref":"./security.put_privileges.json#/$defs/security.put_privileges__Actions"}},"x-found-in":"body"}},"description":"Create or update application privileges.\n\nTo use this API, you must have one of the following privileges:\n\n* The `manage_security` cluster privilege (or a greater privilege such as `all`).\n* The \"Manage Application Privileges\" global privilege for the application being referenced in the request.\n\nApplication names are formed from a prefix, with an optional suffix that conform to the following rules:\n\n* The prefix must begin with a lowercase ASCII letter.\n* The prefix must contain only ASCII letters or digits.\n* The prefix must be at least 3 characters long.\n* If the suffix exists, it must begin with either a dash `-` or `_`.\n* The suffix cannot contain any of the following characters: `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, `,`, `*`.\n* No part of the name can contain whitespace.\n\nPrivilege names must begin with a lowercase ASCII letter and must contain only ASCII letters and digits along with the characters `_`, `-`, and `.`.\n\nAction names can contain any number of printable ASCII characters and must contain at least one of the following characters: `/`, `*`, `:`."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.put_role","type":"object","properties":{"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"},"description":"A list of application privilege entries.","x-found-in":"body"},"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 for users with this role.","x-found-in":"body"},"global":{"type":"object","additionalProperties":{},"description":"An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.","x-found-in":"body"},"indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivileges"},"description":"A list of indices permissions entries.","x-found-in":"body"},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"},"description":"A list of remote indices permissions entries.\n\nNOTE: Remote indices are effective for remote clusters configured with the API key based model.\nThey have no effect for remote clusters configured with the certificate based model.","x-found-in":"body"},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"},"description":"A list of remote cluster permissions entries.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Optional metadata. Within the metadata object, keys that begin with an underscore (`_`) are reserved for system use.","x-found-in":"body"},"run_as":{"type":"array","items":{"type":"string"},"description":"A list of users that the owners of this role can impersonate. *Note*: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected.","x-found-in":"body"},"description":{"type":"string","description":"Optional description of the role descriptor","x-found-in":"body"},"transient_metadata":{"type":"object","additionalProperties":{},"description":"Indicates roles that might be incompatible with the current cluster license, specifically roles with document and field level security. When the cluster license doesn’t allow certain features for a given role, this parameter is updated dynamically to list the incompatible features. If `enabled` is `false`, the role is ignored, but is still listed in the response from the authenticate API.","x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"name":{"type":"string","description":"The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role.","x-found-in":"path"}},"required":["name"],"description":"Create or update roles.\n\nThe role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management.\nThe create or update roles API cannot update roles that are defined in roles files.\nFile-based role management is not available in Elastic Serverless."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.put_role","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"applications":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__ApplicationPrivileges"},"description":"A list of application privilege entries.","x-found-in":"body"},"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 for users with this role.","x-found-in":"body"},"global":{"type":"object","additionalProperties":{},"description":"An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.","x-found-in":"body"},"indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__IndicesPrivileges"},"description":"A list of indices permissions entries.","x-found-in":"body"},"remote_indices":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteIndicesPrivileges"},"description":"A list of remote indices permissions entries.\n\nNOTE: Remote indices are effective for remote clusters configured with the API key based model.\nThey have no effect for remote clusters configured with the certificate based model.","x-found-in":"body"},"remote_cluster":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RemoteClusterPrivileges"},"description":"A list of remote cluster permissions entries.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Optional metadata. Within the metadata object, keys that begin with an underscore (`_`) are reserved for system use.","x-found-in":"body"},"run_as":{"type":"array","items":{"type":"string"},"description":"A list of users that the owners of this role can impersonate. *Note*: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected.","x-found-in":"body"},"description":{"type":"string","description":"Optional description of the role descriptor","x-found-in":"body"},"transient_metadata":{"type":"object","additionalProperties":{},"description":"Indicates roles that might be incompatible with the current cluster license, specifically roles with document and field level security. When the cluster license doesn’t allow certain features for a given role, this parameter is updated dynamically to list the incompatible features. If `enabled` is `false`, the role is ignored, but is still listed in the response from the authenticate API.","x-found-in":"body"},"name":{"type":"string","description":"The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role.","x-found-in":"path"}},"required":["name"],"description":"Create or update roles.\n\nThe role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management.\nThe create or update roles API cannot update roles that are defined in roles files.\nFile-based role management is not available in Elastic Serverless."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.put_role_mapping","type":"object","properties":{"enabled":{"type":"boolean","description":"Mappings that have `enabled` set to `false` are ignored when role mapping is performed.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Additional metadata that helps define which roles are assigned to each user.\nWithin the metadata object, keys beginning with `_` are reserved for system usage.","x-found-in":"body"},"roles":{"type":"array","items":{"type":"string"},"description":"A list of role names that are granted to the users that match the role mapping rules.\nExactly one of `roles` or `role_templates` must be specified.","x-found-in":"body"},"role_templates":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplate"},"description":"A list of Mustache templates that will be evaluated to determine the roles names that should granted to the users that match the role mapping rules.\nExactly one of `roles` or `role_templates` must be specified.","x-found-in":"body"},"rules":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule","description":"The rules that determine which users should be matched by the mapping.\nA rule is a logical condition that is expressed by using a JSON DSL.","x-found-in":"body"},"run_as":{"type":"array","items":{"type":"string"},"x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"name":{"type":"string","description":"The distinct name that identifies the role mapping.\nThe name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way.","x-found-in":"path"}},"required":["name"],"description":"Create or update role mappings.\n\nRole mappings define which roles are assigned to each user.\nEach mapping has rules that identify users and a list of roles that are granted to those users.\nThe role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files.\n\nNOTE: This API does not create roles. Rather, it maps users to existing roles.\nRoles can be created by using the create or update roles API or roles files.\n\n**Role templates**\n\nThe most common use for role mappings is to create a mapping from a known value on the user to a fixed role name.\nFor example, all users in the `cn=admin,dc=example,dc=com` LDAP group should be given the superuser role in Elasticsearch.\nThe `roles` field is used for this purpose.\n\nFor more complex needs, it is possible to use Mustache templates to dynamically determine the names of the roles that should be granted to the user.\nThe `role_templates` field is used for this purpose.\n\nNOTE: To use role templates successfully, the relevant scripting feature must be enabled.\nOtherwise, all attempts to create a role mapping with role templates fail.\n\nAll of the user fields that are available in the role mapping rules are also available in the role templates.\nThus it is possible to assign a user to a role that reflects their username, their groups, or the name of the realm to which they authenticated.\n\nBy default a template is evaluated to produce a single string that is the name of the role which should be assigned to the user.\nIf the format of the template is set to \"json\" then the template is expected to produce a JSON string or an array of JSON strings for the role names."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.put_role_mapping","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.","x-found-in":"query"},"enabled":{"type":"boolean","description":"Mappings that have `enabled` set to `false` are ignored when role mapping is performed.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Additional metadata that helps define which roles are assigned to each user.\nWithin the metadata object, keys beginning with `_` are reserved for system usage.","x-found-in":"body"},"roles":{"type":"array","items":{"type":"string"},"description":"A list of role names that are granted to the users that match the role mapping rules.\nExactly one of `roles` or `role_templates` must be specified.","x-found-in":"body"},"role_templates":{"type":"array","items":{"$ref":"./security._types.json#/$defs/security._types__RoleTemplate"},"description":"A list of Mustache templates that will be evaluated to determine the roles names that should granted to the users that match the role mapping rules.\nExactly one of `roles` or `role_templates` must be specified.","x-found-in":"body"},"rules":{"$ref":"./security._types.json#/$defs/security._types__RoleMappingRule","description":"The rules that determine which users should be matched by the mapping.\nA rule is a logical condition that is expressed by using a JSON DSL.","x-found-in":"body"},"run_as":{"type":"array","items":{"type":"string"},"x-found-in":"body"},"name":{"type":"string","description":"The distinct name that identifies the role mapping.\nThe name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way.","x-found-in":"path"}},"required":["name"],"description":"Create or update role mappings.\n\nRole mappings define which roles are assigned to each user.\nEach mapping has rules that identify users and a list of roles that are granted to those users.\nThe role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files.\n\nNOTE: This API does not create roles. Rather, it maps users to existing roles.\nRoles can be created by using the create or update roles API or roles files.\n\n**Role templates**\n\nThe most common use for role mappings is to create a mapping from a known value on the user to a fixed role name.\nFor example, all users in the `cn=admin,dc=example,dc=com` LDAP group should be given the superuser role in Elasticsearch.\nThe `roles` field is used for this purpose.\n\nFor more complex needs, it is possible to use Mustache templates to dynamically determine the names of the roles that should be granted to the user.\nThe `role_templates` field is used for this purpose.\n\nNOTE: To use role templates successfully, the relevant scripting feature must be enabled.\nOtherwise, all attempts to create a role mapping with role templates fail.\n\nAll of the user fields that are available in the role mapping rules are also available in the role templates.\nThus it is possible to assign a user to a role that reflects their username, their groups, or the name of the realm to which they authenticated.\n\nBy default a template is evaluated to produce a single string that is the name of the role which should be assigned to the user.\nIf the format of the template is set to \"json\" then the template is expected to produce a JSON string or an array of JSON strings for the role names."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.put_user","type":"object","properties":{"username":{"type":"string","description":"An identifier for the user.\n\nNOTE: Usernames must be at least 1 and no more than 507 characters.\nThey can contain alphanumeric characters (a-z, A-Z, 0-9), spaces, punctuation, and printable symbols in the Basic Latin (ASCII) block.\nLeading or trailing whitespace is not allowed.","x-found-in":"path"},"email":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"The email of the user.","x-found-in":"body"},"full_name":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"The full name of the user.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary metadata that you want to associate with the user.","x-found-in":"body"},"password":{"type":"string","description":"The user's password.\nPasswords must be at least 6 characters long.\nWhen adding a user, one of `password` or `password_hash` is required.\nWhen updating an existing user, the password is optional, so that other fields on the user (such as their roles) may be updated without modifying the user's password","x-found-in":"body"},"password_hash":{"type":"string","description":"A hash of the user's password.\nThis must be produced using the same hashing algorithm as has been configured for password storage.\nFor more details, see the explanation of the `xpack.security.authc.password_hashing.algorithm` setting in the user cache and password hash algorithm documentation.\nUsing this parameter allows the client to pre-hash the password for performance and/or confidentiality reasons.\nThe `password` parameter and the `password_hash` parameter cannot be used in the same request.","x-found-in":"body"},"roles":{"type":"array","items":{"type":"string"},"description":"A set of roles the user has.\nThe roles determine the user's access permissions.\nTo create a user without any roles, specify an empty list (`[]`).","x-found-in":"body"},"enabled":{"type":"boolean","description":"Specifies whether the user is enabled.","x-found-in":"body"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"Valid values are `true`, `false`, and `wait_for`.\nThese values have the same meaning as in the index API, but the default value for this API is true.","x-found-in":"query"}},"required":["username"],"description":"Create or update users.\n\nAdd and update users in the native realm.\nA password is required for adding a new user but is optional when updating an existing user.\nTo change a user's password without updating any other fields, use the change password API."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.put_user","type":"object","properties":{"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh","description":"Valid values are `true`, `false`, and `wait_for`.\nThese values have the same meaning as in the index API, but the default value for this API is true.","x-found-in":"query"},"username":{"type":"string","description":"An identifier for the user.\n\nNOTE: Usernames must be at least 1 and no more than 507 characters.\nThey can contain alphanumeric characters (a-z, A-Z, 0-9), spaces, punctuation, and printable symbols in the Basic Latin (ASCII) block.\nLeading or trailing whitespace is not allowed.","x-found-in":"path"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The email of the user.","x-found-in":"body"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The full name of the user.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Arbitrary metadata that you want to associate with the user.","x-found-in":"body"},"password":{"type":"string","description":"The user's password.\nPasswords must be at least 6 characters long.\nWhen adding a user, one of `password` or `password_hash` is required.\nWhen updating an existing user, the password is optional, so that other fields on the user (such as their roles) may be updated without modifying the user's password","x-found-in":"body"},"password_hash":{"type":"string","description":"A hash of the user's password.\nThis must be produced using the same hashing algorithm as has been configured for password storage.\nFor more details, see the explanation of the `xpack.security.authc.password_hashing.algorithm` setting in the user cache and password hash algorithm documentation.\nUsing this parameter allows the client to pre-hash the password for performance and/or confidentiality reasons.\nThe `password` parameter and the `password_hash` parameter cannot be used in the same request.","x-found-in":"body"},"roles":{"type":"array","items":{"type":"string"},"description":"A set of roles the user has.\nThe roles determine the user's access permissions.\nTo create a user without any roles, specify an empty list (`[]`).","x-found-in":"body"},"enabled":{"type":"boolean","description":"Specifies whether the user is enabled.","x-found-in":"body"}},"required":["username"],"description":"Create or update users.\n\nAdd and update users in the native realm.\nA password is required for adding a new user but is optional when updating an existing user.\nTo change a user's password without updating any other fields, use the change password API."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.query_api_keys__ApiKeyAggregationContainer":{"type":"object","properties":{"aggregations":{"type":"object","additionalProperties":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyAggregationContainer"},"description":"Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations."},"meta":{"$ref":"./_types.json#/$defs/_types__Metadata"},"cardinality":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__CardinalityAggregation","description":"A single-value metrics aggregation that calculates an approximate count of distinct values."},"composite":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__CompositeAggregation","description":"A multi-bucket aggregation that creates composite buckets from different sources.\nUnlike the other multi-bucket aggregations, you can use the `composite` aggregation to paginate *all* buckets from a multi-level aggregation efficiently."},"date_range":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__DateRangeAggregation","description":"A multi-bucket value source based aggregation that enables the user to define a set of date ranges - each representing a bucket."},"filter":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyQueryContainer","description":"A single bucket aggregation that narrows the set of documents to those that match a query."},"filters":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyFiltersAggregation","description":"A multi-bucket aggregation where each bucket contains the documents that match a query."},"missing":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__MissingAggregation"},"range":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__RangeAggregation","description":"A multi-bucket value source based aggregation that enables the user to define a set of ranges - each representing a bucket."},"terms":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__TermsAggregation","description":"A multi-bucket value source based aggregation where buckets are dynamically built - one per unique value."},"value_count":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__ValueCountAggregation","description":"A single-value metrics aggregation that counts the number of values that are extracted from the aggregated documents."}}},"security.query_api_keys__ApiKeyQueryContainer":{"type":"object","properties":{"bool":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__BoolQuery","description":"Matches documents matching boolean combinations of other queries."},"exists":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__ExistsQuery","description":"Returns documents that contain an indexed value for a field."},"ids":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__IdsQuery","description":"Returns documents based on their IDs.\nThis query uses document IDs stored in the `_id` field."},"match":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__MatchQuery"},"description":"Returns documents 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 documents, giving them all a `_score` of 1.0."},"prefix":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__PrefixQuery"},"description":"Returns documents that contain a specific prefix in a provided field."},"range":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__RangeQuery"},"description":"Returns documents that contain terms within a provided range."},"simple_query_string":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__SimpleQueryStringQuery","description":"Returns documents 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"},"description":"Returns documents 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 documents 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"},"description":"Returns documents that contain terms matching a wildcard pattern."}}},"security.query_api_keys__ApiKeyFiltersAggregation":{"type":"object","properties":{"filters":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__Buckets","description":"Collection of queries from which to build buckets."},"other_bucket":{"type":"boolean","description":"Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters."},"other_bucket_key":{"type":"string","description":"The key with which the other bucket is returned."},"keyed":{"type":"boolean","description":"By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects."}}},"security.query_api_keys__ApiKeyAggregate":{"oneOf":[{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__CardinalityAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__ValueCountAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__StringTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__LongTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__DoubleTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__UnmappedTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__MultiTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__MissingAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__FilterAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__FiltersAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__RangeAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__DateRangeAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__CompositeAggregate"}]}}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"security.query_api_keys__ApiKeyAggregationContainer":{"type":"object","properties":{"aggregations":{"type":"object","additionalProperties":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyAggregationContainer"},"description":"Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations."},"meta":{"$ref":"./_types.json#/$defs/_types__Metadata"},"cardinality":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__CardinalityAggregation","description":"A single-value metrics aggregation that calculates an approximate count of distinct values."},"composite":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__CompositeAggregation","description":"A multi-bucket aggregation that creates composite buckets from different sources.\nUnlike the other multi-bucket aggregations, you can use the `composite` aggregation to paginate *all* buckets from a multi-level aggregation efficiently."},"date_range":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__DateRangeAggregation","description":"A multi-bucket value source based aggregation that enables the user to define a set of date ranges - each representing a bucket."},"filter":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyQueryContainer","description":"A single bucket aggregation that narrows the set of documents to those that match a query."},"filters":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyFiltersAggregation","description":"A multi-bucket aggregation where each bucket contains the documents that match a query."},"missing":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__MissingAggregation"},"range":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__RangeAggregation","description":"A multi-bucket value source based aggregation that enables the user to define a set of ranges - each representing a bucket."},"terms":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__TermsAggregation","description":"A multi-bucket value source based aggregation where buckets are dynamically built - one per unique value."},"value_count":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__ValueCountAggregation","description":"A single-value metrics aggregation that counts the number of values that are extracted from the aggregated documents."}}},"security.query_api_keys__ApiKeyQueryContainer":{"type":"object","properties":{"bool":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__BoolQuery","description":"Matches documents matching boolean combinations of other queries."},"exists":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__ExistsQuery","description":"Returns documents that contain an indexed value for a field."},"ids":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__IdsQuery","description":"Returns documents based on their IDs.\nThis query uses document IDs stored in the `_id` field."},"match":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__MatchQuery"},"description":"Returns documents 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 documents, giving them all a `_score` of 1.0."},"prefix":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__PrefixQuery"},"description":"Returns documents that contain a specific prefix in a provided field."},"range":{"type":"object","additionalProperties":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__RangeQuery"},"description":"Returns documents that contain terms within a provided range."},"simple_query_string":{"$ref":"./_types.query_dsl.json#/$defs/_types.query_dsl__SimpleQueryStringQuery","description":"Returns documents 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"},"description":"Returns documents 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 documents 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"},"description":"Returns documents that contain terms matching a wildcard pattern."}}},"security.query_api_keys__ApiKeyFiltersAggregation":{"type":"object","properties":{"filters":{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__Buckets","description":"Collection of queries from which to build buckets."},"other_bucket":{"type":"boolean","description":"Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters."},"other_bucket_key":{"type":"string","description":"The key with which the other bucket is returned."},"keyed":{"type":"boolean","description":"By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects."}}},"security.query_api_keys__ApiKeyAggregate":{"anyOf":[{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__CardinalityAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__ValueCountAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__StringTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__LongTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__DoubleTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__UnmappedTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__MultiTermsAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__MissingAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__FilterAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__FiltersAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__RangeAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__DateRangeAggregate"},{"$ref":"./_types.aggregations.json#/$defs/_types.aggregations__CompositeAggregate"}]}}}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.query_api_keys","type":"object","properties":{"aggregations":{"type":"object","additionalProperties":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyAggregationContainer"},"description":"Any aggregations to run over the corpus of returned API keys.\nAggregations and queries work together. Aggregations are computed only on the API keys that match the query.\nThis supports only a subset of aggregation types, namely: `terms`, `range`, `date_range`, `missing`,\n`cardinality`, `value_count`, `composite`, `filter`, and `filters`.\nAdditionally, aggregations only run over the same subset of fields that query works with.","x-found-in":"body"},"query":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyQueryContainer","description":"A query to filter which API keys to return.\nIf the query parameter is missing, it is equivalent to a `match_all` query.\nThe query supports a subset of query types, including `match_all`, `bool`, `term`, `terms`, `match`,\n`ids`, `prefix`, `wildcard`, `exists`, `range`, and `simple_query_string`.\nYou can query the following public information associated with an API key: `id`, `type`, `name`,\n`creation`, `expiration`, `invalidated`, `invalidation`, `username`, `realm`, and `metadata`.\n\nNOTE: The queryable string values associated with API keys are internally mapped as keywords.\nConsequently, if no `analyzer` parameter is specified for a `match` query, then the provided match query string is interpreted as a single keyword value.\nSuch a match query is hence equivalent to a `term` query.","x-found-in":"body"},"from":{"type":"number","description":"The starting document offset.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.","x-found-in":"body"},"sort":{"$ref":"./_types.json#/$defs/_types__Sort","description":"The sort definition.\nOther than `id`, all public fields of an API key are eligible for sorting.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.","x-found-in":"body"},"size":{"type":"number","description":"The number of hits to return.\nIt must not be negative.\nThe `size` parameter can be set to `0`, in which case no API key matches are returned, only the aggregation results.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.","x-found-in":"body"},"search_after":{"$ref":"./_types.json#/$defs/_types__SortResults","description":"The search after definition.","x-found-in":"body"},"with_limited_by":{"type":"boolean","description":"Return the snapshot of the owner user's role descriptors associated with the API key.\nAn API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors (effectively limited by it).\nAn API key cannot retrieve any API key’s limited-by role descriptors (including itself) unless it has `manage_api_key` or higher privileges.","x-found-in":"query"},"with_profile_uid":{"type":"boolean","description":"Determines whether to also retrieve the profile UID for the API key owner principal.\nIf it exists, the profile UID is returned under the `profile_uid` response field for each API key.","x-found-in":"query"},"typed_keys":{"type":"boolean","description":"Determines whether aggregation names are prefixed by their respective types in the response.","x-found-in":"query"}},"description":"Find API keys with a query.\n\nGet a paginated list of API keys and their information.\nYou can optionally filter the results with a query.\n\nTo use this API, you must have at least the `manage_own_api_key` or the `read_security` cluster privileges.\nIf you have only the `manage_own_api_key` privilege, this API returns only the API keys that you own.\nIf you have the `read_security`, `manage_api_key`, or greater privileges (including `manage_security`), this API returns all API keys regardless of ownership.\nRefer to the linked documentation for examples of how to find API keys:"}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"security.query_api_keys","type":"object","properties":{"with_limited_by":{"type":"boolean","description":"Return the snapshot of the owner user's role descriptors associated with the API key.\nAn API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors (effectively limited by it).\nAn API key cannot retrieve any API key’s limited-by role descriptors (including itself) unless it has `manage_api_key` or higher privileges.","x-found-in":"query"},"with_profile_uid":{"type":"boolean","description":"Determines whether to also retrieve the profile UID for the API key owner principal.\nIf it exists, the profile UID is returned under the `profile_uid` response field for each API key.","x-found-in":"query"},"typed_keys":{"type":"boolean","description":"Determines whether aggregation names are prefixed by their respective types in the response.","x-found-in":"query"},"aggregations":{"type":"object","additionalProperties":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyAggregationContainer"},"description":"Any aggregations to run over the corpus of returned API keys.\nAggregations and queries work together. Aggregations are computed only on the API keys that match the query.\nThis supports only a subset of aggregation types, namely: `terms`, `range`, `date_range`, `missing`,\n`cardinality`, `value_count`, `composite`, `filter`, and `filters`.\nAdditionally, aggregations only run over the same subset of fields that query works with.","x-found-in":"body"},"query":{"$ref":"./security.query_api_keys.json#/$defs/security.query_api_keys__ApiKeyQueryContainer","description":"A query to filter which API keys to return.\nIf the query parameter is missing, it is equivalent to a `match_all` query.\nThe query supports a subset of query types, including `match_all`, `bool`, `term`, `terms`, `match`,\n`ids`, `prefix`, `wildcard`, `exists`, `range`, and `simple_query_string`.\nYou can query the following public information associated with an API key: `id`, `type`, `name`,\n`creation`, `expiration`, `invalidated`, `invalidation`, `username`, `realm`, and `metadata`.\n\nNOTE: The queryable string values associated with API keys are internally mapped as keywords.\nConsequently, if no `analyzer` parameter is specified for a `match` query, then the provided match query string is interpreted as a single keyword value.\nSuch a match query is hence equivalent to a `term` query.","x-found-in":"body"},"from":{"type":"number","description":"The starting document offset.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.","x-found-in":"body"},"sort":{"$ref":"./_types.json#/$defs/_types__Sort","description":"The sort definition.\nOther than `id`, all public fields of an API key are eligible for sorting.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.","x-found-in":"body"},"size":{"type":"number","description":"The number of hits to return.\nIt must not be negative.\nThe `size` parameter can be set to `0`, in which case no API key matches are returned, only the aggregation results.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.","x-found-in":"body"},"search_after":{"$ref":"./_types.json#/$defs/_types__SortResults","description":"The search after definition.","x-found-in":"body"}},"description":"Find API keys with a query.\n\nGet a paginated list of API keys and their information.\nYou can optionally filter the results with a query.\n\nTo use this API, you must have at least the `manage_own_api_key` or the `read_security` cluster privileges.\nIf you have only the `manage_own_api_key` privilege, this API returns only the API keys that you own.\nIf you have the `read_security`, `manage_api_key`, or greater privileges (including `manage_security`), this API returns all API keys regardless of ownership.\nRefer to the linked documentation for examples of how to find API keys:"}
@@ -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"},"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"},"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"},"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"},"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"},"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."},"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."},"global":{"oneOf":[{"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."},"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"},"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"},"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"},"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"},"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"},"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."},"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."},"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."},"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"]}}}