arbor / sp-rest-api-cookbook

A document with examples of using the Arbor SP REST API, intended as a supplement to the online REST API documentation
Other
20 stars 12 forks source link

Creating blackhole mitigation through the API #2

Open eregimbald opened 6 years ago

eregimbald commented 6 years ago

Hi,

I wasn't able to find another way of contacting you but I have a specific question about the SP REST API.

Is it possible to create Blackhole mitigations through the API? Specifically, I'd like to pull the VoIPBL blacklist (http://www.voipbl.org/) and have SP inject those routes into our network.

However, the API documentation within the SP UI seems to say this is not currently possible but I wanted to confirm before I look into another solution.

/mitigations/
Adds a TMS mitigation with the attributes and relationships passed in with a JSON payload.
subtype | (string) The type of mitigation. Only tms is currently supported.

Thanks,

arbor-acaird commented 6 years ago

The current versions of the API (including the upcoming SP8.4/APIv4 version) does not yet support Blackhole mitigations, I'm sorry.

This functionality is definitely on the roadmap, and opening a Feature Request with Arbor via your normal channels will help us prioritize that.

In the short term, ATAC (https://support.arbor.net) can help you automate that process.