We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In order to get/set device configuration it is possible from the fortimanager to request the device in 2 ways:
as of done today in this code, by using /sys/proxy/json and passing the url of fortigate api.
There is antoher way which is recommended by Fortinet : use the /pm/config/device urls
as per explained in the full JSON reference :
{ "method": "add", "params": [ { "url": "/pm/config/device/fg1/vdom/root/firewall/address", "data": [ { "name": "addr1", "subnet": ["1.1.1.0","255.255.255.0"], "type": "ipmask" } ] } ] }
The text was updated successfully, but these errors were encountered:
There are few API calls that uses /sys/proxy/json. I want to work on that, if you wanna help you can create a pull request :)
Sorry, something went wrong.
No branches or pull requests
In order to get/set device configuration it is possible from the fortimanager to request the device in 2 ways:
as of done today in this code, by using /sys/proxy/json and passing the url of fortigate api.
There is antoher way which is recommended by Fortinet :
use the /pm/config/device urls
as per explained in the full JSON reference :
The text was updated successfully, but these errors were encountered: