Closed mtanda closed 4 years ago
The GitLab check seems to not work.
Any chance to add testcases using VCR cassettes?
@cosmo0920 I added test. Would you review the changes?
@cosmo0920 Thanks for review :-) Would you check this again?
@takus GitLab CI seems not to be working. Could you take a look?
@mtanda @cosmo0920 Thanks for letting me know. I temporally disabled the check by Gitlab. Since this pull request doesn't touch any dependencies, the risk for disabling the check is low. I'll investigate the Gitlab issue soon and enable it again.
OK. Then, let's merge this PR! Thank you for your contribution, @mtanda !
Thank you for merge and help!
Use new Instance Metadata Service to get metadata.
https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/
This change will help to disable IMDSv1 in the public instance. To keep compatible with ec2-classic environment, I add
imdsv2
option.