File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
x-pack/docs/en/rest-api/security Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -56,16 +56,20 @@ is currently limited to the management of application privileges.
5656This field is optional.
5757
5858`indices`:: (list) A list of indices permissions entries.
59- `field_security`::: (object) The document fields that the owners of the role have
60- read access to. For more information, see
61- <<field-and-document-access-control>>.
6259`names` (required)::: (list) A list of indices (or index name patterns) to which the
6360permissions in this entry apply.
6461`privileges`(required)::: (list) The index level privileges that the owners of the role
6562have on the specified indices.
63+ `field_security`::: (object) The document fields that the owners of the role have
64+ read access to. For more information, see
65+ <<field-and-document-access-control>>.
6666`query`::: A search query that defines the documents the owners of the role have
6767read access to. A document within the specified indices must match this query in
6868order for it to be accessible by the owners of the role.
69+ `allow_restricted_indices`::: (boolean) Include matching restricted indices in names parameter.
70+ *Caution Advised:* Toggling this flag is very strongly discouraged because it could effectively
71+ grant unrestricted operations on critical data, making the entire system unstable or leaking
72+ sensitive information.
6973
7074`metadata`:: (object) Optional meta-data. Within the `metadata` object, keys
7175that begin with `_` are reserved for system usage.
You can’t perform that action at this time.
0 commit comments