Spaces:
No application file

File size: 319 Bytes
839a850
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
def normalize_intelx_data(raw):
    return [{"source": "intelx", "value": r} for r in raw.get("records", [])]

#def normalize_shodan_data(raw):
    return [{"source": "shodan", "value": r} for r in raw.get("matches", [])]

def normalize_virustotal_data(raw):
    return [{"source": "virustotal", "value": raw}]