mirror of https://github.com/MISP/misp-modules
chg: [cof2misp] bailiwick is optional
parent
267c167acb
commit
77035a82e0
|
@ -81,6 +81,7 @@ def parse_and_insert_cof(data: str) -> dict:
|
||||||
o = MISPObject(name='passive-dns', standalone=False, comment='created by cof2misp')
|
o = MISPObject(name='passive-dns', standalone=False, comment='created by cof2misp')
|
||||||
|
|
||||||
# o.add_tag('tlp:amber') # FIXME: we'll want to add a tlp: tag to the object
|
# o.add_tag('tlp:amber') # FIXME: we'll want to add a tlp: tag to the object
|
||||||
|
if 'bailiwick' in entry:
|
||||||
o.add_attribute('bailiwick', value=entry['bailiwick'].rstrip('.'))
|
o.add_attribute('bailiwick', value=entry['bailiwick'].rstrip('.'))
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue