Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Using "Contains" for a list with no key/value pairs #16

Open
GQnzo opened this issue Jan 26, 2018 · 4 comments
Open

Using "Contains" for a list with no key/value pairs #16

GQnzo opened this issue Jan 26, 2018 · 4 comments

Comments

@GQnzo
Copy link

GQnzo commented Jan 26, 2018

I'm trying to GET log sources that are in a specific log source group in the interactive API (api_doc). I can't seem to figure out the syntax for the filter.

Endpoint: 9.0 - GET - /config/event_sources/log_source_management/log_sources
Example of the field:
{ "group_ids": [ 100001 ] },

I'm pretty sure the filter is supposed to start with "group_ids contains" but I can't figure out what to put after that.

@GQnzo
Copy link
Author

GQnzo commented Jan 26, 2018

If I use this filter "source_address_ids contains 3277" on the "9.0 - GET - /siem/offenses" endpoint it works. However when I try this (source_address_ids contains 100001) on the log_sources endpoint I get a 500 response code. Are these filters not universal?

@davidgpayne
Copy link
Contributor

davidgpayne commented Jan 29, 2018

Hi,

The filters are supposed to be universal. Your filter is correct. A 500 response means there was a problem on the server. You should be able to see an exception related to this endpoint in /var/log/qradar.error on the server. You should contact customer support with the filter you are using and the error from the log.

David

@JasonKeirstead
Copy link

Should this be closed?

@GQnzo
Copy link
Author

GQnzo commented Dec 6, 2018

I suppose. I submitted it and it was identified as a bug. Don't know what the status is.

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

4 participants
@JasonKeirstead @davidgpayne @GQnzo and others