mirror of https://github.com/MISP/misp-modules
parent
347d12c78c
commit
1dfdb5a2a2
|
@ -97,6 +97,9 @@ class Yeti():
|
||||||
attr_misp['object_relation'] = 'ip'
|
attr_misp['object_relation'] = 'ip'
|
||||||
elif 'domain' == typ_attribute:
|
elif 'domain' == typ_attribute:
|
||||||
attr_misp['object_relation'] = 'domain'
|
attr_misp['object_relation'] = 'domain'
|
||||||
|
elif 'hostname' == typ_attribute:
|
||||||
|
attr_misp['object_relation'] = 'domain'
|
||||||
|
attr_misp['type'] = 'domain'
|
||||||
else:
|
else:
|
||||||
attr_misp['object_relation'] = None
|
attr_misp['object_relation'] = None
|
||||||
print('Attribute %s' % attr_misp)
|
print('Attribute %s' % attr_misp)
|
||||||
|
|
Loading…
Reference in New Issue