java.lang.Object
org.elasticsearch.xpack.core.security.authz.privilege.Privilege
org.elasticsearch.xpack.core.security.authz.privilege.IndexPrivilege

public final class IndexPrivilege extends Privilege
The name of an index related action always being with `indices:` followed by a sequence of slash-separated terms that generally describes the hierarchy (from broader to more specific) of the action. For example, the first level comprises `admin`, `monitor`, `data` which generally categorize an action into either an admin related function, or a monitoring related function or a user-data related function. Subsequent levels further narrow down the category until the meaning is specific enough. Note that these terms are meant to categorize what the action does, *not* how it should be invoked. This means whether an action is accessible via REST API should not contribute to its naming. Also note that the `internal:transport/proxy/` prefix is automatically added and stripped for actions that go through a CCR/CCS proxy. No action should be explicitly named like that.