Skip to content

Commit 8065658

Browse files
Merge pull request #1420 from TheHive-Project/fix-csfalcon-ti-case-sensitive
CSFalcon TI Analyzer - Fix query for hashes
2 parents 9ab76fa + 6c8c0ee commit 8065658

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analyzers/CrowdstrikeFalcon/CrowdstrikeFalcon_ThreatIntel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ def _build_filter(self, data_type, observable):
3333
if data_type == 'hash':
3434
hash_type = self._detect_hash_type(observable)
3535
if hash_type:
36-
return f"type:'{hash_type}'+indicator:'{observable.upper()}'"
36+
return f"type:'{hash_type}'+indicator:'{observable.lower()}'"
3737
else:
3838
# Search across all hash types if we can't determine
39-
return f"indicator:'{observable.upper()}'"
39+
return f"indicator:'{observable.lower()}'"
4040
elif data_type == 'domain':
4141
return f"type:'domain'+indicator:'{observable}'"
4242
elif data_type == 'ip':

0 commit comments

Comments
 (0)