/crowdstrike-falcon-fusion:lookup-filesfrom crowdstrike-falcon-fusion
Manages Falcon Next-Gen SIEM lookup files (CSV/JSON/TXT) for CQL match() enrichment. Handles create, list, update, delete, and verification workflows.
Ships in crowdstrike-falcon-fusion. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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:
- List before creating — run
list_lookups.py --search "<name>"to check for a duplicate. Importing an existing name overwrites it silently.- Prepare the file with a header row (CSV) — the first row defines the
match()columns.- Upload, then verify with
get_lookup.pybefore 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.
crowdstrike-falconpy installed (pip install crowdstrike-falconpy)The NGSIEM Lookup Files scope, with read and/or write access:
| Use case | Read | Write | Enables |
|---|---|---|---|
| Browse / download only | Yes | — | List, search, download |
| Full usage | Yes | Yes | Above plus create, update, delete |
auth.py resolves credentials from the first source that supplies both an ID
and a secret:
FALCON_CLIENT_ID, FALCON_CLIENT_SECRET, and the
optional FALCON_BASE_URL (for CI and overrides).~/.cache/crowdstrike-falcon-fusion/credentials.toml
(profile chosen by FALCON_PROFILE or the file's default key).Run
/crowdstrike-falcon-fusion:setupto 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:
../../scripts/python.sh ../../common/scripts/auth.py
../../scripts/python.sh scripts/list_lookups.py --list
../../scripts/python.sh scripts/list_lookups.py --search "blocklist"
CSV needs a header row; the first column is typically the match key:
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.
../../scripts/python.sh scripts/create_lookup.py --file blocklist.csv --name "ip-blocklist.csv"
../../scripts/python.sh scripts/get_lookup.py --name "ip-blocklist.csv"
../../scripts/python.sh scripts/list_lookups.py --search "blocklist" --json
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.
Replace the content while keeping the same filename:
../../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 onlysearch_domain,filename, andfile. It has nolabelsparameter, 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.
../../scripts/python.sh scripts/delete_lookup.py --name "ip-blocklist.csv" --confirm
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 | Purpose | Key flags |
|---|---|---|
list_lookups.py | List and search lookup files | --list, --search, --domain, --json |
get_lookup.py | Download a lookup file | --name, --output, --domain |
create_lookup.py | Upload a new lookup file | --file, --name, --json |
update_lookup.py | Replace lookup file content | --name, --file, --json |
delete_lookup.py | Delete a lookup file | --name, --domain, --confirm, --json |
verify_lookup.py | Verify 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.
| Problem | Fix |
|---|---|
| CSV header missing | The first row MUST be column names — match() references them by name |
match() returns no results | Column names are case-sensitive; verify they match the header exactly |
| Upload rate limited | Wait 30 seconds between batches of 5 uploads |
| Wrong search domain | Keep 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 silently | Always list_lookups.py --search before create_lookup.py |
| "File not found" on get/update/delete | Confirm the exact filename with list_lookups.py --search |
| CSV parse error on upload | Ensure UTF-8 encoding and comma delimiters |
| Document | When to read |
|---|---|
references/cql-match-function.md | Writing CQL queries that use lookup files |
references/lookup-file-formats.md | Preparing CSV/JSON/TXT files for upload |
assets/example-ip-blocklist.csv (opens in a new tab)assets/example-user-risk.csv (opens in a new tab)references/cql-match-function.md (opens in a new tab)references/lookup-file-formats.md (opens in a new tab)scripts/create_lookup.py (opens in a new tab)scripts/delete_lookup.py (opens in a new tab)scripts/get_lookup.py (opens in a new tab)scripts/list_lookups.py (opens in a new tab)scripts/update_lookup.py (opens in a new tab)scripts/verify_lookup.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/authoringDiscover Falcon Fusion actions via live API, author workflow YAML with correct schema, validate against Charlotte JSON schema, and use templates/examples. TRIGGER when user asks to write workflow YAML, find actions, validate a workflow, use CEL expressions, or needs action discovery. DO NOT TRIGGER for deploying, importing, executing, or monitoring workflows — use deployment or execution skills. DO NOT TRIGGER when the request is for a Falcon Foundry app, a UI extension/page, an API integration, custom actions from a third-party API, or a manifest.yml — those are foundry-skills territory; advise foundry-skills instead of authoring a workflow.
/deploymentImport, release, and manage Falcon Fusion workflow definitions in a CID. TRIGGER when user asks to import a workflow, release a workflow version, list existing workflows, check for duplicates, or manage workflow definitions. DO NOT TRIGGER for writing YAML (use authoring), executing workflows, or monitoring (use execution).
/executionTrigger Falcon Fusion workflows, monitor execution status, and debug failures. TRIGGER when user asks to run a workflow, check execution status, tail logs, get execution results, or debug a workflow failure. DO NOT TRIGGER for writing YAML (use authoring) or importing/releasing workflows (use deployment).
/foundry-redirectTRIGGER when the user asks to "build a Foundry app", "create a Foundry app", mentions manifest.yml, or needs a UI page/extension, serverless function, collection, or a custom API integration from a third-party API (Okta, ServiceNow, Jira, etc.) built. DO NOT TRIGGER for a standalone Fusion workflow that only wires together existing actions. This skill declines Foundry-app requests and points to the crowdstrike-falcon-foundry plugin, so the redirect works even without plugin hooks; it yields to the real Foundry plugin when that plugin is also installed.
/setupConfigure CrowdStrike Falcon API credentials for the fusion-skills plugin. TRIGGER when user asks to set up credentials, configure API access, or runs into authentication errors.
/workflowsOrchestrates the full Falcon Fusion workflow lifecycle from discovery through deployment and execution. TRIGGER when user asks to "create a Fusion workflow", "build a Fusion playbook", "automate CrowdStrike actions", or mentions Fusion workflows without specifying a sub-task. DO NOT TRIGGER when user is working in a Foundry app context, mentions manifest.yml, or asks to "build a Foundry app" — use foundry-skills instead.
npx claudepluginhub crowdstrike/fusion-skills --plugin crowdstrike-falcon-fusionOther plugins' skills for the same job