[Recorded Future]: threat pipeline errors on blank file hash Algorithm (Unsupported hash algorithm '')
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 74/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- backend
Direzione di ricerca
Inizia da packages/ti_recordedfuture/data_stream/threat/elasticsearch/ingest_pipeline/default.yml ed esamina il passaggio script_map_file_hashes e il passaggio del tipo di indicatore file menzionato nel report. Controlla come vengono gestiti i valori Algorithm vuoti e nulli, quindi esegui i test della pipeline Recorded Future threat. Il lavoro è completato quando gli algoritmi vuoti non producono più l’errore di algoritmo non supportato e gli hash validi continuano a essere mappati correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Integration Name
Recorded Future [packages/ti_recordedfuture]
Dataset Name
ti_recordedfuture.threat
Integration Version
2.7.3 (the pipeline on main, 2.12.0, has the same code)
Error Message
Failed to map fileHashes field: Unsupported hash algorithm ''
What did you do?
Ran the threat data stream (CEL input, risklist/Fusion ingestion) as a standalone Elastic Agent.
What did you see?
A small number of documents per day (about 1-2) are indexed with the error message above. They have event.kind: enrichment.
The script_map_file_hashes step in data_stream/threat/elasticsearch/ingest_pipeline/default.yml runs when ctx.json.Algorithm != null. It looks the value up in a fixed map (MD5, SHA-1, SHA-256, SHA-384, SHA-512) and throws when the value is not in the map. The logged algorithm is the empty string, so I believe these are risklist rows where the Algorithm column is present but blank. A blank string passes the != null check and then fails the lookup.
I could not confirm the raw source row, because the indexed documents do not retain it. The blank Algorithm is inferred from the pipeline code and the error text.
Impact is low: the documents are still indexed, but with error.message set and no file hash mapped.
What did you expect to see?
Rows with a blank Algorithm should not raise a pipeline error. Possible approaches:
- Treat blank like null, e.g.
if: ctx.json.Algorithm != null && ctx.json.Algorithm != ''on both thethreat.indicator.type: fileset step and the hash-mapping script. - Or infer the algorithm from the hash length (32 = MD5, 40 = SHA-1, 64 = SHA-256).
Anything else?
The error has been occurring at a steady 1-2 documents per day since at least 2026-11-12.
- Lingua principale
- Handlebars
- Stelle
- 339
- Fork
- 688
- Merge medio
- 3g 15h
- PR unite (30g)
- 183
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di elastic/integrations
-
Integration:keycloak needs:triage Team:Security-Service Integrations
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
elastic/integrations#22529 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
[atlassian_cloud] System test mock serves page 1 again every 3rd poll: flaky on 8.19, fails every night on 9.7Forse già presa @kcreddy l’ha presa 1 giorno fa. ApertaIntegration:atlassian_cloud Team:Security-Service Integrations
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
elastic/integrations#22504 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
-
Integration:statsd_input Team:obs-signals-metrics
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
elastic/integrations#22500 ·
I maintainer di solito rispondono entro 3 giorni
-
[azure_network_watcher_nsg][azure_network_watcher_vnet] System tests get 0 hits: Azurite rejects Azure API version 2026-12-06 sent by the agentForse già presa @sharad-elastic l’ha presa 1 giorno fa. ApertaIntegration:azure_network_watcher_nsg Integration:azure_network_watcher_vnet Team:SDE-Crest Team:Security-Service Integrations
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
elastic/integrations#22499 · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
-
Integration:windows needs:triage Team:Security-Service Integrations
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
elastic/integrations#22481 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di elastic/integrations
Issue simili
-
api beginner story
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NCSU-App-Development-Club/ios_fall_26#86 ·
I maintainer di solito rispondono entro 4 giorni
-
都道府県を指定すると区名から始まる住所に市名を補わないAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
digital-go-jp/abr-geocoder#457 ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pearu/agent-sandbox#422 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenPrinting/cups#1826 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno