Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Soluble has created this pull request to fix configuration for a resource in your Infrastructure as Code (IaC).
Policy
Ensure Instance Metadata Service Version 1 is not enabled
Description
Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) Cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage.
AWS EC2 offers an metadata service that gives the metadata about the instance. You can access the information from a running instance using:
Metadata service recognizes the IMDSv1 and IMDSv2 requests based on whether, for any given request, either the PUT or GET headers, which are unique to IMDSv2, are present in that request. IMDSv2 adds new
belt & suspenders
protections. So it is always better to enable IMDSv2. When IMDSv2 is enabled, IMDSv1 will no longer work in that instance.Assessment
xcp-90a4b86c64090fc7fd6a32fdd3f36f047e9e50990def2182bd5fafa09b9a6d3c
Please review the pull request before merging it, to ensure any disruption in your Infrastructure.