Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies to include security patches reported by dependabot for agent #3367

Merged
merged 6 commits into from
Aug 30, 2022

Conversation

yinyic
Copy link
Contributor

@yinyic yinyic commented Aug 27, 2022

Summary

Update dependencies to include security patches reported by dependabot for agent

Implementation details

Ran go get, go mod tidy and go mod vendor to updatedpackages that have security vulnerabilities called out by dependabot.

For amazon-ecs-agent/agent, affected packages are

Testing

make test
make release

New tests cover the changes: no

Description for the changelog

Update dependencies to include security patches reported by dependabot for agent

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@yinyic yinyic changed the title Dependabot agent Update dependencies to include security patches reported by dependabot for agent Aug 27, 2022
Realmonia
Realmonia previously approved these changes Aug 29, 2022
Copy link
Contributor

@Realmonia Realmonia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the changes!

Q: Is the changes we made in this PR for CNI v0.8.1 compatible with CNI v1.x? I think we probably want to update to that as it is the latest supported major version

fierlion
fierlion previously approved these changes Aug 29, 2022
Copy link
Member

@fierlion fierlion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this -- these dependency fixes are a big hill to climb!

Copy link
Member

@fierlion fierlion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The steps in the description are clear and most of the changes are in vendor. Again thanks for this.

@yinyic
Copy link
Contributor Author

yinyic commented Aug 30, 2022

Looks good to me, thanks for the changes!

Q: Is the changes we made in this PR for CNI v0.8.1 compatible with CNI v1.x? I think we probably want to update to that as it is the latest supported major version

I've not looked into v1.x, but would expect to see maybe some more API changes that need to be addressed, considering it's a major version bump. It's probably better to take up a separate task for the upgrade. Also, it may be helpful to sync up with CNI version in https://github.com/aws/amazon-vpc-cni-plugins (currently at 0.8.1)

@yinyic yinyic merged commit fa253e3 into aws:dev Aug 30, 2022
@yinyic yinyic deleted the dependabot-agent branch August 30, 2022 17:17
@chienhanlin chienhanlin mentioned this pull request Sep 6, 2022
chienhanlin pushed a commit that referenced this pull request Sep 6, 2022
…t for agent (#3367)

* Upgrade github.com/containernetworking/cni to 0.8.1

* Upgrade github.com/containerd/containerd to v1.4.13

* Fix goimports

* Fix logging data race

* Address required network name field for updated CNI spec

* Address ifname size limit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants