Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyMISP.search does not include events with 0 attributes #1083

Open
PabDJ opened this issue Oct 18, 2023 · 3 comments
Open

PyMISP.search does not include events with 0 attributes #1083

PabDJ opened this issue Oct 18, 2023 · 3 comments

Comments

@PabDJ
Copy link

PabDJ commented Oct 18, 2023

I have created two events with the same tag. One has attributes and the other one is empty.

If I run:
event_list = misp.search(collector="event", tags=my_tag)
The list will only contain the event that was populated with attributes.

How can I retrieve the event with 0 attributes using its tag as filter?

@Rafiot
Copy link
Member

Rafiot commented Oct 20, 2023

No, the empty events aren't exposed to the search. (I'm 99% sure, but @iglocska can surely confirm)

@PabDJ
Copy link
Author

PabDJ commented Oct 20, 2023

No, the empty events aren't exposed to the search. (I'm 99% sure, but @iglocska can surely confirm)

Is there any workaround to get those empty events with another approach?

@github-germ
Copy link

See if this helps: #847

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

No branches or pull requests

3 participants