The term REST stands for Representational State Transfer. It is an architectural style that defines a set of rules in order to create Web Services. For Configurations, many vendors provide REST support to make reading and writing configuration in parts or as a whole easier. Network Configuration Manager now provides REST APIs in Fortigate devices to help users achieve a simplified UI usage. Fortigate device users need not worry about command syntax and configuration hierarchy, instead they can just focus on one particular part of the configuration.
If you are not using a Fortigate or Palo Alto device, but require REST API support, please reach out to Network Configuration Manager Support, in case you want us to add support for a particular vendor.
REST API based configuration management works with REST Configlets.
To use REST API features in your Fortigate device, Network Configuration Manager needs REST credentials to connect to your Fortigate device before executing the REST APIs. These credentials can be provided directly from the "Apply Credentials" slide.
Please refer to the following steps to know more about associating REST credentials to a Fortigate device
Rest configlets are configuration objects such as address, policy, security rules etc. You can access Rest Configlets by going to Config Automation > Configlets > Rest Configlets.
Each configlet comes with a different set of operations such as Add, Edit, View, Delete, Rename, View All, Clone, Execute etc.
Let us see what each operation means in a Fortigate device
1. ADD : Allows you to add a new object to the device configuration.
2. Edit : Provides a list of objects available in the Fortigate device. You can then select a particular object. The details about the selected object will be fetched from the device and will be shown to you. You can update any particular detail/parameter for that object and then execute the configlet to save the changes in device.
3. View: This provides a list of objects available in the Fortigate device. You can then select a particular object. The details about the selected object will be fetched from the device and shown to you in read only mode.
4. View All: This shows all the available objects in your Fortigate device in a grid along with their details
5. Delete: Provides a list of objects available in the Fortigate device. You can select a particular object and execute the configlet to delete the object.
6. Rename: You can select a particular object and provide a new name to rename the object in the device.
7. Clone: You can select a particular object and provide a new name to clone the object in the device with the name provided along with its properties.
Fortigate REST API based configuration management - Benefits