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

Need help using wapi 2.9 - retrieve only on extensible attribute

Authority
Posts: 21
2009     0

Hello Group,

 

I have been looking everywhere, but have yet to find the answer. I can get all extattrs for a device by using this in Postman:

https://192.168.1.100/wapi/v2.9.5/record:host?name=cis-3-44-rtr1.happy.net&_return_fields=extattrs

I would like to return only one attribute, like City, etc. I would like to do it using postmand, and in python. How can I grab a single value from the attributes? I do not yet need to POST or change a value (yet...)

 

Thanks for a great source of info

eholz1 NIOS semi-knowledgeable

Re: Need help using wapi 2.9 - retrieve only on extensible attribute

Adviser
Posts: 181
2010     0

Hi,

 

You can not return specific extensible attributes - all the extensible attributes will be returned when mentioned as part of the _return_fields argument. You can filter it using python if required.

 

Regards,

Krishna

Re: Need help using wapi 2.9 - retrieve only on extensible attribute

Authority
Posts: 21
2010     0

Hello,

Thanks for the reply - I can use python as you suggest.

eholz1

Showing results for 
Search instead for 
Did you mean: 

Recommended for You