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

Possible to find networks that do not match an extensible attribute using the WAPI?

[ Edited ]
Authority
Posts: 7
5023     0

I'm tring to find Networks that matches BranchID=XYZ, Solution=Client, Solution!=Mobile using the v2.7 WAPI and curl from a Linux server. Is this possible? 

 

I tried something like this:

 

https://infoblox.our.domain.com/wapi/v2.7network?*BranchID:=xyz\&*Solution:=Client\&*Solution~=\(?\!Mobile\)

 

But it looks like "(?! ) is not supported?

 

Is there a way to pull this off, or do I basically need to pull the extensible attributes and figure out what to do after the fact?

Re: Possible to find networks that do not match an extensible attribute using the WAPI?

Moderator
Moderator
Posts: 289
5024     0

Are "Client" and "Mobile" full strings, in the EA values, or are these substrings of the EA values?

 

If they're full strings you can avoid the whole regex question by doing exact positive or negative matches.  For example:

 

https://infoblox.our.domain.com/wapi/v2.7network?*BranchID:=xyz?*Solution:=Client&*Solution!=Mobile

Re: Possible to find networks that do not match an extensible attribute using the WAPI?

Authority
Posts: 7
5024     0

Thanks! I tried != before, but maybe I forgot to escape it when shelling out to curl. That worked. I wish the WAPI guide had actual examples showing a search like this!!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You