Forum Discussion

ESCARE-Team's avatar
ESCARE-Team
Icon for Making Connections rankMaking Connections
7 months ago
Solved

Is there an API applicable to IP Ranges in the Resources topic?

Hello.

We need to create about 4,000 objects in IP Ranges, is there an API available for this?

thanks.

  • Thank you for highlighting this issue. An API for IP Ranges is prioritized highly on our roadmap and is likely to come later this year.

    In the meantime, in some cases, the "containers" API can serve as an alternative.

13 Replies

  • GianlucaUlivi's avatar
    GianlucaUlivi
    Icon for Making Connections rankMaking Connections

    I was not able to find an API call to do this so I took a different approach by running a python script that runs Selenium WebDriver that loops in a list of IP Addresses and for each of them click new, insert name and value, then clicks apply.

    I do not have the script published at the moment as it's part of a larger "multi-tool" repo I have, but if needed I can move it to a dedicated git repo and share it.

  • SomeGuy's avatar
    SomeGuy
    Icon for Joining the Conversation rankJoining the Conversation

    Is there a more precise ETA for the functionality?

    Also, in the meantime, could you provide same code to query/add/remove an IP range using  the containers via powershell?

  • Thank you for highlighting this issue. An API for IP Ranges is prioritized highly on our roadmap and is likely to come later this year.

    In the meantime, in some cases, the "containers" API can serve as an alternative.