Hi,
Currently am leaning Fortigate Rest API methods, now we are using CLI commands to manage our fortigate firewalls.
If possible please share equivalent rest API methods for below CLI commands:
[ol]It would better if anyone share the proper Fortigate rest API document link.
Thanks & Regards, M.Veeraselvam.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
create api user first, copy token. then curl -k https://firewall_ip_address/api/v2/cmdb/firewall/policy?vdom=root&access_token=api_key_token
http://socpuppet.blogspot.com/2018/07/howto-use-fortios-api-to-add-delete.html
FWIW, I do not think you can call a API get and show the full configuration. I used API in host of firewall ( Junos/TNSR/FortiOS/Forcepoint/CHKP) and restFUL have specific calls for elements. Extract a fully configuration would most likely not be possible
Ken Felix
PCNSE
NSE
StrongSwan
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1710 | |
1093 | |
752 | |
446 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.