Skip to main content
hhenry
New Member
May 26, 2023
Solved

Import bulk list of IP addresses into Discovery

  • May 26, 2023
  • 5 replies
  • 5883 views

We have a list of 800 ip addresses in a spreadsheet that need to be added to the Credentials and Discovery tabs under Admin --- Setup. Currently the ip addresses are being added manually one at a time, which is very time consuming. Is there a way to import the bulk list into Fortisiem or script this process? 

    Best answer by premchanderr

    Hi @hhenry ,


    Unfortunately there is no workaround to import IP lists from excel or any file.  The best option you can use for manually adding more devices is using range or smart scan if possible.

    All information regarding discovering devices are available in below link:
    https://help.fortinet.com/fsiem/6-7-5/Online-Help/HTML5_Help/Discovering_devices.htm

    5 replies

    premchanderr
    Staff & Editor
    Staff & Editor
    May 26, 2023

    Hi @hhenry ,


    Unfortunately there is no workaround to import IP lists from excel or any file.  The best option you can use for manually adding more devices is using range or smart scan if possible.

    All information regarding discovering devices are available in below link:
    https://help.fortinet.com/fsiem/6-7-5/Online-Help/HTML5_Help/Discovering_devices.htm

    mscirri
    Explorer II
    May 26, 2023

    I had the same issue adding in all of the CrowdStrike IP addresses, and they are not in blocks, just hundreds of individual addresses.  Fortinet does not have a feature request site, like UserVoice, so I was instructed to give my account manager all of my feature requests and they would take it to the product team. 

    mscirri
    Explorer II
    May 26, 2023

    One of my requests was to have Fortinet establish a feature request site.   lol

    FSM_FTNT
    Staff
    Staff
    May 26, 2023

    I'm listening and appreciating this feedback.

    cdurkin_FTNT
    Staff
    Staff
    May 26, 2023
    mscirri
    Explorer II
    May 26, 2023

    Is there an API for Networks?

    cdurkin_FTNT
    Staff
    Staff
    May 26, 2023

    Not sure I completely understand the question .... but if it is can ip ranges be defined, then yes ..  single IP, IP-IP etc..

     

    <includeRange>192.168.2.10, 172.16.10.28, 192.168.0.10-192.168.0.404</includeRange>

    mscirri
    Explorer II
    May 26, 2023

    In the API documentation that you referenced in response to the original poster, I do not see anything that shows hw to add to Resources >> Networks via API.  I was wondering if there was documentation somewhere else that shows an API for adding networks. If there is, I would love to be able to script out something using the API the next time I need to add hundreds of IP addresses.

    martinschmitt1
    Visitor III
    May 30, 2023

    i would try it with the API:

    https://docs.fortinet.com/document/fortisiem/6.5.0/integration-api-guide/435603/create-or-update-credentials

    Be aware that you need "super/" in front of your username when authenticating. So when your username is FortiAdmin your Username is super/FortiAdmin