Elastic Cloud Feature

Published
Length
3 min read

Luis Felipe Dias

All posts

You enable an elastic cloud feature by assigning cluster roles and index rules in your deployment console. You then match those roles to user groups so each team gets the right workspace tools. Most teams start by giving engineers broad cluster roles to speed up daily work. This common shortcut creates risk when one shared role lets anyone delete indexes or read sensitive logs. A clear plan keeps your search data safe while developers build and test apps. How an elastic cloud feature works wit

Elastic Security + Feature Flags Security: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

You enable an elastic cloud feature by assigning cluster roles and index rules in your deployment console. You then match those roles to user groups so each team gets the right workspace tools. Most teams start by giving engineers broad cluster roles to speed up daily work. This common shortcut creates risk when one shared role lets anyone delete indexes or read sensitive logs. A clear plan keeps your search data safe while developers build and test apps.

How an elastic cloud feature works with native roles

Every deployment splits control between the cloud console and the search cluster itself. Platform admins use the cloud console to size hardware, set up backups, and turn on tools. Inside the cluster, role rules decide who can view dashboards, run searches, or change settings. You build a role by picking cluster privileges and matching them to specific index names.

When a user logs in, the cluster checks their group against these saved role rules. If the role allows read access on app logs, the user can search those records. You can also set field rules and document rules inside the native security settings. Field rules hide specific columns, and document rules filter out rows based on a query. This setup helps you share one cluster across many teams without mixing up their work.

What native cluster roles solve and where they fall short

Native roles do a great job of blocking strangers from entering your search cluster. They also separate basic dashboard viewers from the admins who manage nodes and shards. For static apps with fixed service keys, these built-in rules handle daily traffic well.

The gap appears when engineers or support staff need live access to fix a bug. Native roles check who logs in, not what each search request does in flight. Once a developer has a read role on an index, they can pull every matching record. If that index holds customer emails, phone numbers, or card numbers, those values show up in results. Native field rules are static, so updating them for every support ticket takes too much time. Teams also struggle when developers save long-lived API keys on their laptops to run local queries. If a laptop gets lost, that saved key stays active until an admin deletes it.

Elastic Security + Feature Flags Security: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Steps to tighten search cluster permissions

Start by listing every index in your cluster and tagging which ones hold private data. Next, break up big admin roles into smaller roles scoped to single tasks or apps. Give your apps their own keys that only write or read the exact indexes they need. Remove broad read roles from human accounts and review your role list every month. When you need finer control over live queries and sensitive fields, look at request-level controls.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How do I limit who can use a specific elastic cloud feature?

You create a custom role that turns on only that specific workspace tool or API action. Then you map that role to a small group of users in your identity provider.

Can native roles hide card numbers and emails in search results?

Native field security can block whole fields from a role, or rewrite values with a hash. Still, it applies the same static rule to every query from that role without request context.

Why should teams avoid sharing one admin key across local machines?

Shared keys make it impossible to see which person ran a heavy or destructive query. If the key leaks, an attacker gets full control over every index in your deployment.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.