diff --git a/output/schema/schema.json b/output/schema/schema.json index 66e2e45f8a..1b1603cceb 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -7344,6 +7344,18 @@ "name": "Response", "namespace": "ml.put_data_frame_analytics" }, + "securityPrerequisites": { + "cluster": [ + "manage_ml" + ], + "index": [ + "create_index", + "index", + "manage", + "read", + "view_index_metadata" + ] + }, "since": "7.3.0", "stability": "stable", "urls": [ @@ -116707,7 +116719,7 @@ } ] }, - "description": "Instantiates a data frame analytics job.", + "description": "Instantiates a data frame analytics job.\nThis API creates a data frame analytics job that performs an analysis on the source indices and stores the outcome in a destination index. You must have `read` and `view_index_metadata` security privileges for the source indices. You must have `read`, `create_index`, `manage` and `index` security privileges for the destination index.", "inherits": { "type": { "name": "RequestBase", diff --git a/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts b/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts index f5ab77f478..3053b7d260 100644 --- a/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts +++ b/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts @@ -28,9 +28,13 @@ import { Id } from '@_types/common' import { integer } from '@_types/Numeric' /** + * Instantiates a data frame analytics job. + * This API creates a data frame analytics job that performs an analysis on the source indices and stores the outcome in a destination index. You must have `read` and `view_index_metadata` security privileges for the source indices. You must have `read`, `create_index`, `manage` and `index` security privileges for the destination index. * @rest_spec_name ml.put_data_frame_analytics * @since 7.3.0 * @stability stable + * @security_prerequisites_cluster manage_ml + * @security_prerequisites_index create_index, index, manage, read, view_index_metadata */ export interface Request extends RequestBase { path_parts: {