Skip to content

Commit 0ec2d51

Browse files
droberts195lcawl
andauthored
[DOCS] Add notes about security for ML anomaly detection job results (elastic#2204)
ML anomaly detection jobs cause certain field values from the source indices to be copied into the results indices when an anomaly is detected. This PR calls out the security implications of that. If an ML anomaly detection job is being run against sensitive data then it is important to carefully consider who has access to ML anomaly detection results. Co-authored-by: Lisa Cawley <[email protected]>
1 parent f8ea034 commit 0ec2d51

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/en/stack/ml/setup.asciidoc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ For read-only access:
7070
* [ ] `read` index privileges on destination indices (for {dfanalytics-jobs}
7171
only)
7272

73+
IMPORTANT: The `machine_learning_admin` and `machine_learning_user` built-in
74+
roles give access to the results of _all_ {anomaly-jobs}, irrespective of
75+
whether the user has access to the source indices. You must carefully consider
76+
who is given these roles, as {anomaly-job} results may propagate field values
77+
that contain sensitive information from the source indices to the results.
7378

7479
[discrete]
7580
[[kib-security]]
@@ -125,6 +130,13 @@ Within a {kib} space, for read-only access to the {ml-features}, you must have:
125130
* [ ] {data-sources} and `read` index privileges on destination indices (for
126131
{dfanalytics-jobs} only)
127132

133+
IMPORTANT: A user who has full or read-only access to {ml-features} within
134+
a given {kib} space can view the results of _all_ {anomaly-jobs} that are
135+
visible in that space, even if they do not have access to the source indices
136+
of those jobs. You must carefully consider who is given access to
137+
{ml-features}, as {anomaly-job} results may propagate field values that contain sensitive information from the
138+
source indices to the results.
139+
128140
NOTE: {data-sources-cap} can be automatically created when creating a
129141
{dfanalytics-job}.
130142

@@ -149,4 +161,4 @@ have:
149161
destination indices
150162

151163
For more information, see {ref}/security-privileges.html[Security privileges]
152-
and {kibana-ref}/kibana-privileges.html[{kib} privileges].
164+
and {kibana-ref}/kibana-privileges.html[{kib} privileges].

0 commit comments

Comments
 (0)