You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-> % python validate_feed.py -f output.json
-> Validated that file exists and is readable
-> Validated that feed file is valid JSON
-> Unable to validate that the file is a valid CB feed
-> Details:
Report with no IOCs in report 63abcefe6f851464002510074f3da6a22d9072173e0daa1522468b22c62109d9
Errors also occur if the iocs key is completely removed:
-> % python validate_feed.py -f output.json
-> Validated that file exists and is readable
-> Validated that feed file is valid JSON
-> Unable to validate that the file is a valid CB feed
-> Details:
Report missing required field(s): iocs
The text was updated successfully, but these errors were encountered:
just stumbled upon the same problem. The only workaround I found is using a query which can never match but that's bad because it costs performance. Any better ideas?
Best solution would probably to issue a warning on empty iocs but not make it required.
The documentation says:
However, a report with removed IOCs does not validate:
The output from
validate_feed.py
is:Errors also occur if the
iocs
key is completely removed:The text was updated successfully, but these errors were encountered: