aws / aws/amazon-cloudwatch-agent

Usage of the outdated aws-sdk-go v1.48.6

Open
#2,090 3 comments 12 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
550
Forks
271
Avg merge
1d 21h
Merged PRs (30d)
13

Description

We run multiple EC2 instances with AL2023 with cloudtwatch agent.

We get from our security department a report about the usage of outdated packages on our hosts and this is aws-sdk-go v1.48.6

Quick analysis shows that this version is likely comes together with cloudwatch agent
We ca see in the source code a pinned version reference :
https://github.com/aws/amazon-cloudwatch-agent/blob/main/go.mod#L106

Any chance this could be migrated to the latest version of SDK v1 (though it is deprecated too now)?

Contributor guide

Open the contributing guide

Research direction

Start with the pinned aws-sdk-go requirement at go.mod line 106, referenced in the issue, and inspect the surrounding dependency constraints. Update the dependency to the latest requested SDK v1 release, then run the repository's Go build and test checks to confirm the agent still works without dependency or compatibility failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
devops, observability-sre
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
63/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.