mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 14:37:17 +00:00
fix: [MISP export] fix pgp-meta template
This commit is contained in:
parent
7f64d57bbd
commit
bdddb1e5b6
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ def export_cryptocurrency(crypto_type, crypto_address):
|
||||||
def export_pgp(pgp_type, pgp_value):
|
def export_pgp(pgp_type, pgp_value):
|
||||||
dict_metadata = Pgp.pgp.get_metadata(pgp_type, pgp_value)
|
dict_metadata = Pgp.pgp.get_metadata(pgp_type, pgp_value)
|
||||||
|
|
||||||
obj = MISPObject('pgp-meta', misp_objects_path_custom='../../../misp-objects/objects')
|
obj = MISPObject('pgp-meta')
|
||||||
obj.first_seen = dict_metadata['first_seen']
|
obj.first_seen = dict_metadata['first_seen']
|
||||||
obj.last_seen = dict_metadata['last_seen']
|
obj.last_seen = dict_metadata['last_seen']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue