Prerequisites
- An existing Elastic Security account or deployment containing the resources you want to inspect.
- Permission to create or obtain the credential described below.
- A CloudThinker workspace role that can add connections; see Roles.
- An HTTPS route from CloudThinker to your service. For a private service, see Reaching private services.
Setup
1
Prepare the credential
Create an Elasticsearch API key for access to Kibana APIs and copy its encoded value. See the vendor’s authentication documentation for the procedure that applies to your account.
2
Add the connection
Open Settings → Connections, find Elastic Security, and click Connect. Enter the values in Connection details.Enter the Kibana URL, not the Elasticsearch URL. Select the space containing your detection rules and cases.
3
Check the result
Click Connect and wait for the connection check.Success state: the connection shows Connected. Run the verification prompt below and confirm that the expected resources appear.
Connection details
Required permissions
Read: the key’s role has the Security Alerts and Cases features, and read access to the alerts index, in the selected Kibana space. Change alerts: write access to Security Alerts. Change cases: write access to Cases. Assigning cases also needs a Platinum or trial license.Agent capabilities
Changes run only after you approve them. Agents show the current status and the change first, then read the result back. Closing a case that syncs alerts also closes its attached alerts. Rules, exceptions, timelines and case deletion stay in Kibana.
Verify the connection
Example prompts
Troubleshooting
The key is rejected
The key is rejected
Kibana answers 401. Create a new API key in Stack Management and reconnect; keys can expire.
Access is denied
Access is denied
Kibana answers 403. Add Security Alerts or Cases to the key’s role, with write access for changes.
A case is not found or changed
A case is not found or changed
Kibana answers 404 or 409. The ID is from another space or the case changed since it was read. Read it again and ask again.
Assigning fails
Assigning fails
Kibana answers 400. The person is unknown or the license has no case assignees. Read the people on the case first.
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- Keep this integration’s credential separate from personal daily-use credentials where your provider supports it.
- Revoke or rotate it in Elastic Security when access is no longer needed, and update the connection after rotation.
Related
Connections
Manage access to the services CloudThinker investigates.
Approvals
Control which requested changes can run.