Logo vun Lookup Files

Lookup Files

Organisatioun
CrowdStrike
lookup-files

Manage Falcon Next-Gen SIEM lookup files (CSV/JSON/TXT) for CQL match() queries. TRIGGER when user asks to create, list, update, or delete lookup files, or needs help with CQL match() function. DO NOT TRIGGER for Fusion workflows, action discovery, or workflow deployment — use the workflows/authoring/deployment skills.

Iwwersiicht

EditeurCrowdStrike
Repositoryfusion-skills
Skill-Nummlookup-files
Stären
29
Forks
3
Matgeliwwert Fichieren
10
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 10 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum CrowdStrike op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Lookup Files an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/lookup-files
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CrowdStrike/fusion-skills.git /tmp/fusion-skills
mkdir -p .claude/skills
cp -r /tmp/fusion-skills/skills/lookup-files .claude/skills/lookup-files
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Lookup Files an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Lookup Files automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Lookup Files net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Falcon Next-Gen SIEM Lookup Files

Your role here is Falcon Next-Gen SIEM lookup file specialist.

You manage lookup files that feed CQL match() enrichment. Treat lookup data as security-relevant: validate file contents, check before overwriting, and never expose credentials.

Required steps:

  1. List before creating — run list_lookups.py --search "<name>" to check for a duplicate. Importing an existing name overwrites it silently.
  2. Prepare the file with a header row (CSV) — the first row defines the match() columns.
  3. Upload, then verify with get_lookup.py before using the file in a CQL query.

Don't: Overwrite a lookup file without confirming it exists, exceed the rate limit (5 uploads / 30s), or log credentials.

Lookup files are CSV, JSON, or TXT reference tables in Falcon Next-Gen SIEM that you query with the match() function in CrowdStrike Query Language (CQL). Common uses: IP blocklists, user risk scores, asset inventories, and IOC reference tables.

Running the scripts. Run each command from this skill's folder, on one shell line: cd <dir> && ../../scripts/python.sh scripts/<name>.py. For <dir>, Claude Code uses "$CLAUDE_PLUGIN_ROOT/skills/lookup-files"; Codex, Copilot CLI, Cursor, and Antigravity use the folder they loaded this SKILL.md from (e.g. ~/.agents/skills/lookup-files). The wrapper bootstraps its own Python venv.

Prerequisites

  • Python 3.13+ with crowdstrike-falconpy installed (pip install crowdstrike-falconpy)
  • CrowdStrike API credentials with the NGSIEM Lookup Files scope (read/write)
  • Access to a CID with Falcon Next-Gen SIEM enabled

Required API Scopes

The NGSIEM Lookup Files scope, with read and/or write access:

Use caseReadWriteEnables
Browse / download onlyYes—List, search, download
Full usageYesYesAbove plus create, update, delete

Credentials

auth.py resolves credentials from the first source that supplies both an ID and a secret:

  1. Environment variables: FALCON_CLIENT_ID, FALCON_CLIENT_SECRET, and the optional FALCON_BASE_URL (for CI and overrides).
  2. TOML profile file ~/.cache/crowdstrike-falcon-fusion/credentials.toml (profile chosen by FALCON_PROFILE or the file's default key).

Run /crowdstrike-falcon-fusion:setup to configure credentials interactively (writes the TOML profile).

The scripts share auth via common/scripts/auth.py, which exposes get_ngsiem_client() for Next-Gen SIEM operations. Test credentials:

bash
../../scripts/python.sh ../../common/scripts/auth.py

Core Workflow

Step 1 — List (check for duplicates)

bash
../../scripts/python.sh scripts/list_lookups.py --list
../../scripts/python.sh scripts/list_lookups.py --search "blocklist"

Step 2 — Prepare the file

CSV needs a header row; the first column is typically the match key:

csv
ip,category,source,added_date
10.0.0.1,c2,threat-intel,2026-01-15
192.168.1.100,scanner,internal-scan,2026-02-01

See assets/example-ip-blocklist.csv and assets/example-user-risk.csv for reference formats, and references/lookup-file-formats.md for the full format rules.

Step 3 — Upload

bash
../../scripts/python.sh scripts/create_lookup.py --file blocklist.csv --name "ip-blocklist.csv"

Step 4 — Verify

bash
../../scripts/python.sh scripts/get_lookup.py --name "ip-blocklist.csv"
../../scripts/python.sh scripts/list_lookups.py --search "blocklist" --json

Step 5 — Use in CQL

Reference the file with the match() function (run in Falcon Next-Gen SIEM):

match(file="ip-blocklist.csv", column=ip, field=src_ip, include=category)

column= is a header in the lookup CSV (ip); field= is the event field (src_ip). Do not swap them — putting the event field in column= matches a non-existent column and returns nothing. See references/cql-match-function.md for full syntax and examples.

Step 6 — Update

Replace the content while keeping the same filename:

bash
../../scripts/python.sh scripts/update_lookup.py --name "ip-blocklist.csv" --file updated-blocklist.csv

Update is content-only — it does not carry labels. The PATCH endpoint (/ngsiem-content/entities/lookupfiles/v1, wrapped by both this script and the Fusion "Update lookup file" workflow action) accepts only search_domain, filename, and file. It has no labels parameter, so any labels a file had in the Next-Gen SIEM UI are not preserved across an update — the UI manages labels through a separate API that the REST update path doesn't touch. If a lookup file needs labels, set them in the console after updating, or keep label-bearing files out of automated update workflows.

Step 7 — Delete

bash
../../scripts/python.sh scripts/delete_lookup.py --name "ip-blocklist.csv" --confirm

Lookup Files from Workflows

A Fusion pattern (the built-in "Introduction to Lookup file actions" playbook) automates lookup file creation from email: a Monitored Mailbox trigger extracts a CSV attachment, "Get lookup file metadata" checks existence, and "Create/Overwrite lookup file" writes it. To build that workflow, use the workflows orchestrator skill in this plugin — the lookup file actions surface via action_search.py --search "lookup" in the authoring skill. This skill handles the lookup files themselves, not the workflow that drives them.

Script Reference

ScriptPurposeKey flags
list_lookups.pyList and search lookup files--list, --search, --domain, --json
get_lookup.pyDownload a lookup file--name, --output, --domain
create_lookup.pyUpload a new lookup file--file, --name, --json
update_lookup.pyReplace lookup file content--name, --file, --json
delete_lookup.pyDelete a lookup file--name, --domain, --confirm, --json
verify_lookup.pyVerify a lookup resolves via CQL match() (upload, match a known row, delete)--file, --name, --column, --keep, --json

All scripts import shared auth from common/scripts/auth.py via get_ngsiem_client(). Create/list/get/update/delete need the NGSIEM Lookup Files scope (read/write). verify_lookup.py is a maintainer verification tool and additionally needs the NGSIEM scope (read/write) to run the CQL match() query; regular lookup use does not.

Common Pitfalls

ProblemFix
CSV header missingThe first row MUST be column names — match() references them by name
match() returns no resultsColumn names are case-sensitive; verify they match the header exactly
Upload rate limitedWait 30 seconds between batches of 5 uploads
Wrong search domainKeep the default --domain all when listing, getting, or deleting: create_lookup.py uploads to the global namespace, which a narrower domain such as falcon doesn't search
Duplicate name overwrites silentlyAlways list_lookups.py --search before create_lookup.py
"File not found" on get/update/deleteConfirm the exact filename with list_lookups.py --search
CSV parse error on uploadEnsure UTF-8 encoding and comma delimiters

Reading Guide

DocumentWhen to read
references/cql-match-function.mdWriting CQL queries that use lookup files
references/lookup-file-formats.mdPreparing CSV/JSON/TXT files for upload

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Lookup Files?

Manage Falcon Next-Gen SIEM lookup files (CSV/JSON/TXT) for CQL match() queries. TRIGGER when user asks to create, list, update, or delete lookup files, or needs help with CQL match() function. DO NOT TRIGGER for Fusion workflows, action discovery, or workflow deployment — use the workflows/authoring/deployment skills.

Firwat Lookup Files op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Lookup Files besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Lookup Files an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/CrowdStrike/fusion-skills/tree/main/skills/lookup-files an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Lookup Files benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Lookup Files benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Lookup Files domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Lookup Files gratis?

Jo. De Skill gëtt vum CrowdStrike ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇