[SERVER-48270] Improve ecs role imdsv2 checks Created: 18/May/20  Updated: 29/Oct/23  Resolved: 28/May/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc8, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Security 2020-06-01
Participants:
Linked BF Score: 12

 Description   

aws_e2e_ecs.js tries to check the availability of the IMDSv2 execution role but the check does not appear to be enough. It should be improved to check both the role name and that credentials are available.



 Comments   
Comment by Githook User [ 29/May/20 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-48270 Improve ecs role imdsv2 check

(cherry picked from commit e3597ac3a63ab507adf1ebb3377733fc57d2eadc)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/a93191a881fd7aecd6bf453895fa37607349d5e9

Comment by Githook User [ 28/May/20 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-48270 Improve ecs role imdsv2 check
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/e3597ac3a63ab507adf1ebb3377733fc57d2eadc

Generated at Thu Feb 08 05:16:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.