🛡️

Threat Summary

Verified

@elastic/threat-summary

Get a summary of threats and security posture

Usage

RUN SKILL threat_summary()

With parameters:

RUN SKILL threat_summary WITH index_pattern = 'value'

Parameters

NameTypeDefaultDescription
index_patternSTRINGSecurity events index pattern

Returns

DOCUMENT— A single document object

Example

-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
  -H "Content-Type: application/json" \
  -d '{"query": "RUN SKILL threat_summary()"}'

-- Response
{
  "result": [...],
  "_meta": {
    "execution_id": "abc123",
    "duration_ms": 45
  }
}