mirror of https://github.com/MISP/MISP-maltego
chg: [galaxies] ignore deprecated galaxies
parent
bdb83264d6
commit
7392c13a72
|
@ -443,6 +443,9 @@ def galaxy_update_local_copy(force=False):
|
|||
for cluster in galaxy['values']:
|
||||
if 'uuid' not in cluster:
|
||||
continue
|
||||
# skip deprecated galaxies/clusters
|
||||
if galaxy_main['namespace'] == 'deprecated':
|
||||
continue
|
||||
# keep track of the cluster, but also enhance it to look like the cluster we receive when accessing the web.
|
||||
cluster_uuids[cluster['uuid']] = cluster
|
||||
cluster_uuids[cluster['uuid']]['type'] = galaxy['type']
|
||||
|
|
Loading…
Reference in New Issue