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 Examples

Reply

Search network by extensible atributes

New Member
Posts: 4
2060     0

Hi , I would like search network by a extensible attributes , but my command return blank

My Extensible Attribute is Site, my get search :

 

curl -k -u userSmiley Tonguewd "https://IPSERVER/wapi/v2.10.5/network?*Site='AWS'"

Re: Search network by extensible atributes

Superuser
Posts: 64
2060     0

You will need to modify the command a bit.

 

curl -k -u user:passwd -X GET
"https://grid-master/wapi/v2.10/network?_return_fields%2B=extattrs&*Site%3A=AWS"

This came directly from a deployment guide that has other API examples as well: https://www.infoblox.com/wp-content/uploads/infoblox-deployment-infoblox-rest-api.pdf

Re: Search network by extensible atributes

New Member
Posts: 4
2060     0

Hi, @JasonRad thanks. It's works =D

Re: Search network by extensible atributes

New Member
Posts: 4
2061     0

One more question, Can I filter by two attributes or more ? 

Re: Search network by extensible atributes

Superuser
Posts: 64
2061     0

Yes, just add additional EAs after the first. For example the following command looks for networks with Site of AWS and Region of NAM:

 

curl -k -u user:passwd -X GET
"https://grid-master/wapi/v2.10/network?_return_fields%2B=extattrs&*Site%3A=AWS&*Region%3A=NAM"

Re: Search network by extensible atributes

New Member
Posts: 4
2061     0

thanks so much 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You