PyMISP icon indicating copy to clipboard operation
PyMISP copied to clipboard

Tag attributes in memory for better performance

Open naacbin opened this issue 2 years ago • 2 comments

Hi,

I would like to know if it's possible to tag attributes in memory with their uuids ? These attributes can be from multiple event at the same time.

Currently I'm doing it like below, however it takes too much time since there is 1 API call per uuid.

for uuid in uuids:
    for tag in tags:
        result.append(misp.tag(uuid, tag, local=local_tags))

Tags used are already created in MISP.

Thank you.

naacbin avatar Oct 20 '21 12:10 naacbin

Any news ?

naacbin avatar Dec 09 '21 19:12 naacbin

I don't think there is a way to tag multiple UUIDs are the time on MISP side, but I might be wrong. @iglocska @mokaddem might be able to answer that one.

Rafiot avatar Dec 09 '21 19:12 Rafiot