Open
Description
Acknowledgements
- I have searched (https://github.com/aws/aws-sdk/issues?q=is%3Aissue) for past instances of this issue
- I have verified all of my SDK modules are up-to-date (you can perform a bulk update with
go get -u github.com/aws/aws-sdk-go-v2/...
)
Describe the bug
ECR image scan findings include ImageScanFinding.Attributes
field, that contains arbitrary key values.
The problem is that those key-values are url-encoded.
Eg:
package_name: libxml2
package_version: 2.9.14%2Bdfsg-1.3%7Edeb12u1
See the version contains %7E
.
I believe SDK should hide all encoding-decoding from the library user and provide ready to use data.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
package_name: libxml2
package_version: 2.9.14+dfsg-1.3~deb12u1
Current Behavior
package_name: libxml2
package_version: 2.9.14%2Bdfsg-1.3%7Edeb12u1
Reproduction Steps
Obtain image scan findings types.ImageScanFindings
and read its Attributes
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2 v1.36.3
github.com/aws/aws-sdk-go-v2/config v1.29.9
github.com/aws/aws-sdk-go-v2/credentials v1.17.62
github.com/aws/aws-sdk-go-v2/service/ecr v1.43.0
github.com/aws/aws-sdk-go-v2/service/sts v1.33.17
Compiler and Version used
1.24.1
Operating System and version
Ubuntu 24