MISP / PyMISP

Python library using the MISP Rest API
Other
426 stars 278 forks source link

feat: Adds methods to get attribute by id/uuid #1243

Closed dragsu closed 6 days ago

dragsu commented 6 days ago

Use case: To diff two instances of the same event.

Similar to get_object_by_id and get_object_by_uuid methods, implemented get_attribute_by_id and get_attribute_by_uuid to find an attribute in an event or object using attribute id or UUID.

Rafiot commented 6 days ago

Good idea, thanks!