Elastic Security integration
Manage detection rules, alerts, timelines, and endpoint response actions in Elastic Security.
How it works
Each Elastic Security action is a YAML template or Python function in Tracecat's open-source registry, under tools.elastic_security. Add an action as a step in a workflow, or give it to an agent as a tool.
Credentials
Add these in Tracecat before running the actions. How credentials work
- Secret
elastic_securitywithELASTIC_API_KEY
Actions
Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.
Assign attack users
Assign or unassign users on Attack Discovery attack alerts. Requires Kibana 9.5+.
Assign detection alert users
Assign or unassign users on Elastic Security detection alerts.
Bulk action detection rules
Apply a bulk action to Elastic Security detection rules.
Cancel response action
Cancel an Elastic Endpoint response action. Requires Kibana 9.2+.
Create detection rule
Create an Elastic Security detection rule.
Create endpoint script
Create a script in the Elastic Endpoint response script library. Requires Kibana 9.4+.
Create exception list
Create an Elastic Security exception list.
Create exception list item
Create an item in an Elastic Security exception list.
Create or update note
Add a note to an alert/event or Timeline, or update an existing note.
Create timeline
Create an Elastic Security Timeline or Timeline template.
Create value list
Create an Elastic Security value list, e.g. an IP or keyword blocklist referenced by exception items.
Create value list item
Add a value (e.g. an IOC) to an Elastic Security value list.
Delete detection rule
Delete an Elastic Security detection rule by `id` or `rule_id`.
Delete exception list item
Delete an Elastic Security exception list item.
Delete value list item
Delete an Elastic Security value list item by `id`, or by `list_id` and `value`.
Download response file
Download a response-action file as base64.
Export detection rules
Export Elastic Security detection rules as NDJSON text.
Generate endpoint memory dump
Generate a memory dump on an Elastic Endpoint. Requires Kibana 9.3+.
Get detection rule
Get an Elastic Security detection rule by `id` or `rule_id`.
Get endpoint
Get Elastic Endpoint metadata by endpoint ID.
Get endpoint file
Request a file from one or more Elastic Endpoints.
Get endpoint processes
Get running processes from one or more Elastic Endpoints.
Get osquery live query
Get an osquery live query's details, including the action ID of each query in the pack, to use with get_osquery_live_query_results.
Get osquery live query results
Get the result rows of one query in an osquery live query. One page per call.
Get response action
Get an Elastic Endpoint response action by ID.
Get response file info
Get information about a file returned by an Endpoint response action.
Get timeline
Get an Elastic Security Timeline by `id`, or a Timeline template by `template_timeline_id`.
Get value list
Get an Elastic Security value list by ID.
Get value list item
Get an Elastic Security value list item by `id`, or by `list_id` and `value`.
Import detection rules
Import Elastic Security detection rules from an NDJSON file.
Isolate endpoint
Isolate one or more Elastic Endpoints from the network.
List detection rules
List Elastic Security detection rules.
List endpoint scripts
List scripts in the Elastic Endpoint response script library. Requires Kibana 9.3+.
List endpoints
List Elastic Endpoint metadata.
List exception list items
List exception conditions within exception-list containers.
List exception lists
List exception-list containers and metadata. This does not return their exception items.
List notes
List Elastic Security notes, or get the notes attached to specific alerts/events or Timelines.
List response actions
List Elastic Endpoint response actions.
List timelines
List Elastic Security Timelines or Timeline templates. One page per call.
List value list items
List the items in an Elastic Security value list.
List value lists
List Elastic Security value lists (used by exceptions and indicator-match rules).
Patch detection rule
Partially update an Elastic Security detection rule.
Preview detection rule
Preview alerts generated by an Elastic Security detection rule.
Release endpoint
Release one or more isolated Elastic Endpoints.
Run endpoint command
Run a command on one or more Elastic Endpoints.
Run endpoint script
Run a response script on one or more Elastic Endpoints. Requires Kibana 8.18+.
Run Osquery live query
Run an API-native Osquery live query against Elastic Agents for host investigation.
Scan endpoint path
Scan a file or directory on one or more Elastic Endpoints.
Search attack discoveries
Search existing Elastic Attack Discovery results using native filters and pagination. Requires Kibana 9.2+.
Search attacks
Find and/or aggregate Attack Discovery attack alerts with Elasticsearch Query DSL. Requires Kibana 9.5+.
Search detection alerts
Find or aggregate Elastic Security detection alerts using the API-native search body.
Search entities
Search Elastic Entity Store records for investigation context, including entity risk and asset data. On Kibana 8.18 to 9.3, set `use_legacy_endpoint` to true.
Set attack status
Set the workflow status of Attack Discovery attack alerts. Requires Kibana 9.5+.
Set detection alert status
Set the status of Elastic Security detection alerts.
Suspend endpoint process
Suspend a process on one or more Elastic Endpoints.
Terminate endpoint process
Terminate a process on one or more Elastic Endpoints.
Update attack tags
Add or remove tags on Attack Discovery attack alerts. Requires Kibana 9.5+.
Update detection alert tags
Add or remove tags on Elastic Security detection alerts.
Upload endpoint file
Upload a file to one or more Elastic Endpoints.