piiLearning JSON Format Update
dogmd opened this issue · comments
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
Hi @dogmd,
The issue you're describing is fixed and will be introduced in the upcoming release.
With regards,
Dawid
This issue is fixed with recent release.