Files
elasticsearch-js/docs/reference/api/SecuritySearchAccess.md
2025-05-28 10:02:30 -05:00

1.1 KiB

SecuritySearchAccess [interface-SecuritySearchAccess]

Name Type Description
allow_restricted_indices boolean 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.
field_security SecurityFieldSecurity The document fields that the owners of the role have read access to.
names IndexName IndexName[]
query SecurityIndicesPrivilegesQuery 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.