Not Recommended API Usage High

Using deprecated Amazon Web Services (AWS) APIs and outdated client initialization in Go code can introduce security risks and quality issues. Initializing old S3 or Kinesis clients without proper configuration may leak credentials or have other security flaws. Calling unsupported APIs like GetRecords and ListObjects can lead to unexpected breaks when AWS fully retires those APIs. To improve quality and security, use the latest AWS SDK client initialization patterns and avoid APIs not currently recommended per the AWS documentation. This reduces technical debt and avoids known issues with outdated clients and APIs.

Detector ID
go/not-recommended-apis@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-