Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API & Integration, DevOps,NetOps,SecOps

Reply

Searching for ipv4address object using "types" field

New Member
Posts: 5
4403     0

When I have a network (say, 120.130.140.0/28) defined, I can search for all the IPaddresses in the network using this syntax.

 

https://host/wapi/v2.9/ipv4address?network=120.130.140.0/28  The ipv4address object has a field called types which is a list.

 

I can narrow my list by specifying my types to a specific type, ex.  BULKHOST, PTR, NETWORK, etc.

Even though all the IPs in this network , have a type value, I *can* query by types=BULKHOST or types=NETWORK, BUT, searching by BROADCAST returns an empty object.   Why?

 

https://host/wapi/v2.9/ipv4address?network=120.130.140.0/28&types=NETWORK  <-- works, gives me the first IP of the network

 

https://host/wapi/v2.9/ipv4address?network=120.130.140.0/28&types=BULKHOST <-- works, gives me all the IPs for the range that the BulkHost has been defined.

 

https://host/wapi/v2.9/ipv4address?network=120.130.140.0/28&types=BROADCAST <-- does NOT work.  This returns an empty object, even though the very last IP in this range (120.130.140.15) has the value of BROADCAST in the types field.

 

Am I doing something wrong?  Can someone tell me how to circumvent this and get the Broadcast address?  Since this is already stored Infoblox, I just want to retrieve it without doing IP math to figure out what the Broadcast IP address is.

 

FYI:  I know that the values for types is casesensitive and the values have to be exact if I am not using the ":" operator. 

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