Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
ITCSS
New Contributor II

Adding domains and IP - CLI Script

Hi,

 

In the case that a website suggest a list of domains and/or IP addresses, I would like to know how to make a CLI script to either create a new group or add members to a new group. I know the indentation is important.

 

Example: https://learn.microsoft.com/en-us/mem/intune/fundamentals/intune-endpoints?tabs=north-america

 

I was adding things manually but now there's so much that I'm looking into upload CLI scripts.

 

Thank you for your time.

Best regards,
Best regards,
2 REPLIES 2
sjoshi
Staff
Staff

Hi,

 

Are you trying to add the address object on object using any automatic process where bulk address object can be added?

Let us know if this helps.
Salon Raj Joshi
Fibox
New Contributor II

Hi,

 

you can automate the entire process by hosting a list with IPs or FQDNS on a webserver and add them as a Threat Feed to your FortiGate:

https://docs.fortinet.com/document/fortigate/7.4.5/administration-guide/891236/ip-address-threat-fee...

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors