Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

security-ml-integrations

БесплатноБез исполняемых скриптовНе проверен

Install and manage Elastic security ML integration packages (beaconing, ded, dga, lmd, pad, problemchild, security_ai). Handles the full lifecycle: pre-flight…

elasticот elastic★ 615 звёзд на GitHub

Об этом скилле

Security ML Integration Package Management

Install, check, or troubleshoot a security ML package. Supported packages: beaconing (Network Beaconing Identification), ded (Data Exfiltration Detection), dga (Domain Generation Algorithm Detection), lmd (Lateral Movement Detection), pad (Privileged Access Detection), problemchild (Living off the Land Attack Detection), security_ai (Security for AI, technical preview).

Environment Configuration

This skill executes Elasticsearch operations through the elastic CLI. If the elastic CLI is not installed, tell the user what it is needed for. Do not guess credentials, call the HTTP API directly, or attempt other workarounds.

This skill references operations in HTTP-shorthand form (e.g., GET /, GET /_cat/indices, GET /{index}/_mapping, GET /{index}/_settings/index.mode, POST /_query). The Operations table at the end of this document maps each shorthand to the equivalent elastic CLI command — always use the CLI rather than calling the HTTP API directly.

Package source patterns, shared template fields, and ingest-pipeline wiring live in package capabilities.

Process

  1. Classify the request. Status, README, or install. Status and README stay read-only — do not install, start transforms, deploy jobs, or enable rules. After identifying the package, branch: status uses GET kbn:/api/fleet/epm/packages/{package} only (title, version, status); README adds GET kbn:/api/fleet/epm/packages/{package}/{version}/docs/README.md and returns that document; install continues.

  2. Identify the package. Map the user's words to one of the seven package names above. security_ai is a technical preview. If the name is ambiguous, ask before calling any API. Load that package's row from package capabilities — omit fields that are empty for that package. For security_ai, also load the datasets table. Each dataset has its own template and pipeline. Rollover targets are the data streams that already match that dataset's source pattern.

  3. Gather environment state before any mutation. Install only. GET /_license first — continue only for platinum, enterprise, trial, or Serverless. If GET /_ml/info returns 403, report missing manage_ml and stop. Then collect:

    • Package: GET kbn:/api/fleet/epm/packages/{package} for name, title, version, and status.
    • Kibana version (security_ai only): GET kbn:/api/status. Continue only when version.number is 9.6.0 or newer. If it is older, report that Security for AI requires Kibana 9.6+ and stop before any write.
    • Source data: POST /{source_patterns}/_search with size: 0 and track_total_hits: true. For security_ai, count hits on each dataset pattern. If every pattern has zero hits, warn that jobs will not produce useful anomalies. Also warn when logs-aws_bedrock.invocation-* has zero hits, because anomaly jobs read only that pattern, and ask whether to deploy the anomaly jobs.
    • Shared template (DGA, PAD, ProblemChild only): GET /_component_template/{name}. Exists → plan a merge of the fields in the reference. 404 → plan a create with only those fields.
    • Ingest pipeline (dga, pad, problemchild, and each security_ai dataset): GET /_ingest/pipeline/{name} and plan the reuse, replace, or append result from ingest-pipeline wiring.
    • Security for AI templates and pipelines: for each dataset, GET /_component_template/logs-<dataset>@custom and apply the pipeline rule above to logs-<dataset>@custom. Template exists → plan a deep-merge of security_ai. 404 → plan a create that contains only those fields. Do not edit the @package template. Then GET /_data_stream/{source_pattern} and record each data stream name. No match → plan to skip rollover for that dataset. Do not assume a -default stream exists.
    • Security for AI completion endpoint: GET /_inference/completion/_all. Record whether .google-gemini-3.8-flash-completion exists.
    • Transforms: GET /_transform/{pattern} (skip if the package has no transform pattern). Record each id, dest.index, and the .all alias (dest.aliases where move_on_creation is false).
    • Data views: GET kbn:/api/data_views and check whether the package's data-view pattern already exists.
    • ML capacity: GET /_ml/info (total memory) and GET /_ml/anomaly_detectors/_all/_stats (sum memory of opened jobs). GET kbn:/internal/ml/modules/get_module/{module_id} for job count and per-job memory. If jobs do not fit, say so and suggest prioritizing job groups — do not deploy anyway without the user accepting the risk.
    • Rules
Полный SKILL.md на GitHub

Установить security-ml-integrations в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/README.mdreferences/package-capabilities.md

FAQ

Что делает скилл security-ml-integrations?

Install and manage Elastic security ML integration packages (beaconing, ded, dga, lmd, pad, problemchild, security_ai). Handles the full lifecycle: pre-flight checks, Fleet package install, component templates, ingest pipelines, transforms, data views, ML anomaly detection jobs, and detection rules. Use when a user asks to install, set up, check the status of, or troubleshoot a security ML integration package, including the technical preview Security for AI package.

Как установить скилл security-ml-integrations?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл security-ml-integrations запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить security-ml-integrations с