Does the REST search for attributes include event tags just like on GUI screen? #1078
Unanswered
chrisinmtown
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think the test suite is doing what you want: Have you tried with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings to the MISP team.
Please tell me how to invoke the PyMISP client to get the same behavior as the GUI search attribute screen when searching by tag. On that screen, the tags text box has the explanation "Having tag or being an attribute of an event having the tag". It's the latter part I can't seem to figure out: "being an attribute of an event having the tag". Or maybe someone can just confirm, is this the default behavior?
Basically I need to search for attributes by event tag. Stated differently, the attributes don't have the tag, only the parent events. If I enter that tag on the GUI search attribute page, the result has attributes as I expect. However in my initial attempts with the PyMISP client (maybe I should say REST API?), I got no results when setting parameters
controller
='attributes' andtags
=['my-special-tag']. I tried setting the search-function parameterinclude_event_tags
but that shot in the dark didn't work out.I hope I'm not doing something silly, or missing something that's right in front of me. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions