Skip to main content
ITCSS
Explorer II
Dec 2, 2024 2:12 PM UTC
Question

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.

2 replies

sjoshi
Staff
Staff
Dec 2, 2024 2:44 PM UTC

Hi,

 

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

Translate
Thanks, Salon
Fibox
New Member
Dec 2, 2024 3:01 PM UTC

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-feed

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024