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.

Automation Scripts

Reply

Get Exclusion Range from WAPI

New Member
Posts: 1
9099     0

I need to extract by using the WAPI all the exclusion range inside of a DHCP Range.

By looking at the WAPI Doc it says that the EXLUDE field of the DHCP Range is not available for search.

 

Does anybody know how should I do the GET to be able to receive all the exlusion range given an specific DHCP range?

 

Thanks in advance,

Alan Roitman

Re: Get Exclusion Range from WAPI

Adviser
Posts: 11
9099     0

Hi Alan,

 

Here is a sample wapi call for getting all the reserved ranges in your grid. You can tweak this to suite your requirements.

 

curl -k -u admin:xxxxxxx -H "Content-type: application/json" -X GET https://xx.xx.xx.xx/wapi/v2.7/range -d '{"member" : null}'

 

The member field is searchable, so the idea here is to search for all the ranges where the member field is null.

 

Regards,
Sandeep

Showing results for 
Search instead for 
Did you mean: 

Recommended for You