Skip to content

Commit c233d12

Browse files
authored
Add security prerequisites for ML create data frame analytics API (#758)
* Adds security prerequisites for ML create data frame analytics job API * Make contrib
1 parent 44d4539 commit c233d12

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

output/schema/schema.json

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ import { Id } from '@_types/common'
2828
import { integer } from '@_types/Numeric'
2929

3030
/**
31+
* Instantiates a data frame analytics job.
32+
* 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.
3133
* @rest_spec_name ml.put_data_frame_analytics
3234
* @since 7.3.0
3335
* @stability stable
36+
* @security_prerequisites_cluster manage_ml
37+
* @security_prerequisites_index create_index, index, manage, read, view_index_metadata
3438
*/
3539
export interface Request extends RequestBase {
3640
path_parts: {

0 commit comments

Comments
 (0)