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 Examples

Reply

How to Retrieve all extattrs of a networkcontainer from an IP Address Contained Within It

New Member
Posts: 1
698     0

Hi everyone,

Using the GET 'https://....v2.9/networkcontainer?_return_fields%2B=extattrs' I retrieve all network_containers along with their extra attributes. How can I obtain the extra attributes of a single network_container? My input is an IP address, through which I can identify the network, and from the network, I can obtain the _ref of the network_container. However, I'm unable to retrieve the extra attributes of a single network_container. I'm using WAPI version 2.9

 

any help would be greatly appreciated

thanks

Filomena

Re: How to Retrieve all extattrs of a networkcontainer from an IP Address Contained Within It

New Member
Posts: 3
699     0

If you already have the _ref for the network container you should be able to use:

 

{{base_url}}/networkcontainer/<your_ref>?_return_field=extattrs,network,network_view

 

Since you are starting from an ipaddress, which returns network and network_view alternatively you can target the network container without the _ref using:

 

{{base_url}}/networkcontainer?network=10.0.0.0/8&network_view=default&_return_fields=extattrs,network,network_view

Which should return the specific network container with extensible attributes.

 

{{base_url}} = https://<GM>/wapi/v2.9

Hope this helps.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You