My IDR log search fails every time

my IDR plugin (run query on advanced log set) log search fails every time with

callback_url = results_object.get(“links”)[0].get(“href”)
TypeError: ‘NoneType’ object is not subscriptable

Are you getting results for that query in the UI? If not, that’s expected. We’re going to add better messaging around that.

1 Like

I’m working on this now. I think we are going to change the behavior of this, so if it’s an empty result, it will return an empty list instead of erroring out.

Any issues with that approach? I think it’s the more appropriate response.

1 Like

@joey_mcadams The AD plugin returns a count variable. I think that might be useful as well to use in decision steps

1 Like

figured out that if it fails then it means no results found. So working off that now.

This is almost fixed, look for a major version today or tomorrow.

1 Like