CiscoDevNet / terraform-provider-fmc

Terraform Provider for FMC
https://registry.terraform.io/providers/CiscoDevNet/fmc/latest/docs
Mozilla Public License 2.0
16 stars 30 forks source link

Fixed access policy query string for fmc v7.2 #29

Closed ncook9008 closed 1 year ago

ncook9008 commented 1 year ago

This MR has been created to address the error presented when querying the fmc for its access policies in v7.2. The url request format used by the API changed.

It is unclear whether this change occurred in 7.1 or 7.2 since we upgraded from 7.0 to 7.2. Therefore, this change is a breaking change for those still on 7.0 (and possibly on 7.1).

This MR may resolve issue number 23 ( when we upgraded our FMC version from 7.0 to 7.2. The). There was a push from Cisco for all users to upgrade to 7.2 to address a CVE.

sameesin commented 1 year ago

In ACP API URL for GET operation, the url filter section is changed from "filter=name:xxx" to "name=xxx". This change addresses that change.