Command Palette

Search for a command to run...

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

adapters

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

Working with LimaCharlie adapters — cloud sensors (SaaS integrations), external adapters (cloud-managed), and on-prem/USP adapters. Covers configuration…

refractionPOINTот refractionPOINT★ 32 звезды на GitHub

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

Adapters

How to work with LimaCharlie adapters — the telemetry ingestion layer for third-party data sources.

Adapter Categories

Category Description Management
Cloud Sensor Cloud-to-cloud SaaS integrations (Okta, O365, AWS S3, Azure Event Hub) limacharlie cloud-adapter
External Adapter Cloud-managed syslog, webhook, or API receivers limacharlie external-adapter
On-prem/USP Binary deployed locally with config file or CLI args lc_adapter binary or Docker

CLI Commands

Cloud Sensors

# List
limacharlie cloud-adapter list --oid <oid> --output yaml

# Get configuration
limacharlie cloud-adapter get --key <name> --oid <oid> --output yaml

# Create/Update
cat > /tmp/config.yaml << 'EOF'
<configuration>
EOF
limacharlie cloud-adapter set --key <name> --input-file /tmp/config.yaml --oid <oid> --output yaml

# Delete
limacharlie cloud-adapter delete --key <name> --confirm --oid <oid>

External Adapters

# List
limacharlie external-adapter list --oid <oid> --output yaml

# Get configuration
limacharlie external-adapter get --key <name> --oid <oid> --output yaml

# Create/Update
limacharlie external-adapter set --key <name> --input-file /tmp/config.yaml --oid <oid> --output yaml

# Delete
limacharlie external-adapter delete --key <name> --confirm --oid <oid>

Configuration Structure

All adapters share a common client_options structure:

client_options:
  identity:
    oid: "<organization-id>"
    installation_key: "<iid>"  # UUID format, or hive://secret/...
  platform: "text|json|gcp|aws|..."
  sensor_seed_key: "<unique-identifier>"
  hostname: "<adapter-hostname>"
  mapping:
    parsing_grok:
      message: '%{PATTERN:field} ...'
    event_type_path: "field/path"
    event_time_path: "timestamp/path"
    sensor_hostname_path: "host/path"

Key Config Fields

Field Description
identity.oid Organization ID
identity.installation_key Installation key IID (UUID), or hive://secret/...
platform Data format: text (syslog/logs), json (structured), or specific platforms
sensor_seed_key Unique identifier for this adapter's sensor (determines SID)
hostname Display name in sensor list
mapping.parsing_grok Grok pattern for text parsing
mapping.event_type_path JSON path to event type field
mapping.event_time_path JSON path to timestamp field
mapping.sensor_hostname_path JSON path to source hostname

Credential References

Use Hive secrets for sensitive values:

apikey: "hive://secret/okta-api-key"
client_secret: "hive://secret/azure-client-secret"

Indexing Configuration

Enable IOC searching on adapter data:

indexing:
  - events_included: ["*"]
    path: "src_ip"
    index_type: "ip"
  - events_included: ["*"]
    path: "user/email"
    index_type: "user"

Supported index types: file_hash, file_path, file_name, domain, ip, user, service_name, package_name.

Parsing Validation

Validate parsing rules before deployment:

cat > /tmp/usp-test.yaml << 'EOF'
parsing_grok:
  message: "%{TIMESTAMP_ISO8601:timestamp} %{WORD:action} ..."
event_type_path: action
event_time_path: timestamp
sample_data:
  - "2025-01-15T10:30:00Z LOGIN [email protected]"
EOF
limacharlie usp validate --platform text --input-file /tmp/usp-test.yaml --oid <oid> --output yaml

Common Adapter Types

Type Platform Config Key
Syslog text port, is_udp, parsing_grok
Webhook json secret
Okta json apikey, url
AWS S3 varies bucket_name, access_key, secret_key
Azure Event Hub match the feed in the hub (msdefender, azure_ad, azure_monitor, …) connection_string (must include EntityPath)
Office 365 office365 domain, tenant_id, publisher_id, client_id, client_secret, endpoint
Defender (Graph alerts) msdefender tenant_id, client_id, client_secret
Entra ID (risk detections) entraid tenant_id, client_id, client_secret
CrowdStrike json client_id, client_secret
GCP Pub/Sub varies project_id, subscription_id, service_account_creds

Microsoft sources (Defender, M365, Entra ID, Azure, WEL/EVTX): the platform follows the feed, not the product, and each feed has a purpose-built parser — never default to json. Resolve the exact adapter type + platform pairing against the "Microsoft Source → Adapter + Platform Selection" table in ${CLAUDE_PLUGIN_ROOT}/CONSTANTS.md before configuring.

On-Prem Deployment

Docker

docker run -d --rm -p 514:514/udp refractionpoint/lc-adapter syslog \
  client_options.identity.installation_key=<IID> \
  client_options.identity.oid=<OID> \
  client_options.platform=text \
  client_options.sensor_seed_key=<key> \
  port=51
Полный SKILL.md на GitHub

Установить adapters в Claude Code и Claude Desktop

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

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

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

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

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

Bash
Read
WebFetch
WebSearch
Glob
Grep

FAQ

Что делает скилл adapters?

Working with LimaCharlie adapters — cloud sensors (SaaS integrations), external adapters (cloud-managed), and on-prem/USP adapters. Covers configuration, credential setup, parsing rules, validation, deployment, and troubleshooting. Use when setting up data sources, configuring adapters, or troubleshooting ingestion.

Как установить скилл adapters?

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

Скилл adapters запускает скрипты?

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

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

Сравнить adapters с