akamai / cli-terraform

Akamai CLI plugin Admin Support for multiple OpenAPI resource types
Apache License 2.0
23 stars 12 forks source link

piiLearning JSON Format Update #54

Closed dogmd closed 1 year ago

dogmd commented 1 year ago

Recently, export-appsec on security configurations with the PIILearning feature has been failing with the following message: Error exporting appsec config HCL: unable to fetch policy with given name: get export configuration request failed: unmarshaling output: json: cannot unmarshal object into Go struct field AdvancedOptionsexp.advancedOptions.piiLearning of type bool

Yesterday, July 25, 2023 https://github.com/akamai/AkamaiOPEN-edgegrid-golang/releases/tag/v7.1.0 was released which fixes this issue. Anyone running into this issue should be able to fix it upgrading the package and compiling from source: go get -u github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 go build -o akamai-terraform

dawiddzhafarov commented 1 year ago

Hi @dogmd,

The issue you're describing is fixed and will be introduced in the upcoming release.

With regards, Dawid

lkowalsk-akamai-com commented 1 year ago

This issue is fixed with recent release.