Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

error using misp pull #4

Open
glallen01 opened this issue Mar 6, 2020 · 1 comment
Open

error using misp pull #4

glallen01 opened this issue Mar 6, 2020 · 1 comment

Comments

@glallen01
Copy link

full_event = self.misp.get(event_id)

misp pull doesn't work without:

diff --git a/misp.py b/misp.py
index 02b26cd..18c0adc 100644
--- a/misp.py
+++ b/misp.py
@@ -504,7 +504,7 @@ class MISP(Module):
             return
         open_session = len(self.args.event) == 1
         for e in self.args.event:
-            event = self.misp.get(e)
+            event = self.misp.get_event(e)
             if not self._has_error_message(event):
                 self._search_local_hashes(event, open_session)
                 self._dump()
@adulau
Copy link

adulau commented Sep 3, 2020

This should have been solved in this commit #3 - feel free to test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants