The nsm_intel_linter was built to verify all the appropriate header delineation and mandatory field verification, tab separation, correlation of indicator and indicator_type.
Currently supports Zeek (Bro) intelligence feeds.
intel_linter.py -f <file.intel>
Test File:
#fields indicator indicator_type meta.source meta.desc meta.url meta.do_notice meta.if_in meta.whitelist meta.severity
192.168.1.1 Intel::ADDR my imagination ADDR - F - - 6
192.168.1.2 Intel::ADDR my imagination ADDR - F - - 6
192.168.1.300 Intel::ADDR my imagination ADDR - F - - 6
Result:
WARNING: Line 4 - Indicator type "Intel::ADDR" does not correlate with indicator: "192.168.1.300"
A clean execution means the intelligence file supplied passed all lint testing.