Skip to content
New issue

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

Working with policies on FortiProxy fails #290

Open
gnugnug opened this issue Jul 19, 2023 · 1 comment
Open

Working with policies on FortiProxy fails #290

gnugnug opened this issue Jul 19, 2023 · 1 comment

Comments

@gnugnug
Copy link

gnugnug commented Jul 19, 2023

FortiProxy is running FortiOS, so the Terraform provider should work for it as well, however the proxy policies on FortiProxy are located under /api/v2/cmdb/firewall/policy, see https://fndn.fortinet.net/index.php?/fortiapi/643-fortiproxy/2466/643/firewall/#operations-tag-firewall\/policy
The terraform provider on the other hand expects the proxy policies to be located under /api/v2/cmdb/firewall/proxy-policy (https://registry.terraform.io/providers/fortinetdev/fortios/latest/docs/data-sources/fortios_firewall_proxypolicy). This API endpoint does not exist on FortiProxy. It would be nice fortios_firewall_proxypolicy could target /api/v2/cmdb/firewall/policy as well, so that FortiProxy can be configured with Terraform as well.

@lix-fortinet
Copy link
Contributor

Hi @gnugnug,

Thank you for raising this issue. FortiProxy and FortiOS are not exactly the same. We will create a Terraform provider for FortiProxy.

Thanks,
Xing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants