Infoblox’s global team of threat hunters uncovers a DNS operation with the ability to bypass traditional security measures and control the Great Firewall of China. Read about “Muddling Meerkat” and the many other threat actors discovered by Infoblox Threat Intel here.

API & Integration, DevOps,NetOps,SecOps

Reply

API query filter by logical "OR"

[ Edited ]
New Member
Posts: 2
3363     0

I'm using https://pypi.org/project/infoblox-client/ Python library. I want to get all objects that have either one given value or another. How could I do that?

 

My current filter is the following. I would like now to also get DMZ items, along side Internal ones, but not others (ie. not External ones).

 

'*Range Type': 'Internal'

 

Thanks!

Re: API query filter by logical "OR"

Superuser
Posts: 115
3364     0

 

'*SifLoc~': 'Lab|Home'

That's what I use to get all networks Location that is Lab and Home

 

10.10.1.0/24<--Lab
10.10.3.0/24<--Lab
10.10.7.0/24 <--SifLoc = Home 

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com

Re: API query filter by logical "OR"

New Member
Posts: 2
3364     0

Thanks for the hint SBaksh, looks great! By any chance do you know where I can find some documentation that explains these kinds of requests? I have a hard time finding it. Thank you!

Re: API query filter by logical "OR"

Superuser
Posts: 115
3364     0

I read the code and have started writing some blog articles around this that I will start posting starting this Wednesday.

 

www.sifbaksh.com

 

 

Let me know what kind of stuff you are interested in learning as well.

 

 

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com
Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin