{
    "Behavior": "PROACTIVE",
    "ComplianceFrameworkMappings": [
        {
            "ComplianceFramework": "NIST 800-53 Rev 5",
            "Ids": [
                "CA-9(1)",
                "CM-2",
                "CM-2(2)"
            ]
        },
        {
            "ComplianceFramework": "PCI DSS version 3.2.1",
            "Ids": [
                "2.2",
                "7.1.1"
            ]
        }
    ],
    "ConfigRuleIdentifier": "EC2_LAUNCH_TEMPLATE_TOKEN_HOP_LIMIT",
    "ControlOwner": "AWS Control Tower",
    "DeploymentMechanism": "AWS CloudFormation Hook",
    "DeploymentOwner": "AWS Control Tower",
    "Description": "This control checks whether an Amazon EC2 launch template has a metadata token hop limit set to '1'.",
    "DisplayName": "Require that Amazon EC2 launch templates restrict the token hop limit to a maximum of one",
    "DocumentationReferences": [
        {
            "DisplayName": "HttpPutResponseHopLimit for instance metadata should equal to the desired value (1)",
            "Type": "AWS Documentation",
            "Url": "https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-service.html"
        }
    ],
    "EvaluatedResourceTypes": [
        "AWS::EC2::LaunchTemplate"
    ],
    "EvaluatedServices": [
        "Amazon EC2"
    ],
    "Guidance": "Elective",
    "Id": "CT.EC2.PR.2",
    "ImplementationType": "CloudFormation guard rule",
    "MinimumSupportedRuntimeVersion": "2.1",
    "Objectives": [
        {
            "Id": "CO.5",
            "Name": "Enforce least privilege"
        },
        {
            "Id": "CO.10",
            "Name": "Protect configurations"
        }
    ],
    "RegionalPreference": "REGIONAL",
    "Relationships": [],
    "ReleaseDate": "2022-11-28",
    "RemediationMessage": "Within the 'LaunchTemplateData' property, provide a 'MetadataOptions' configuration with the value of 'HttpPutResponseLimit' set to '1', or omit the 'HttpPutResponseLimit' property to adopt the AWS CloudFormation default value of '1'.",
    "Severity": "HIGH",
    "SupportedRegions": [
        "af-south-1",
        "ap-east-1",
        "ap-northeast-1",
        "ap-northeast-2",
        "ap-northeast-3",
        "ap-south-1",
        "ap-south-2",
        "ap-southeast-1",
        "ap-southeast-2",
        "ap-southeast-3",
        "ap-southeast-4",
        "ca-central-1",
        "eu-central-1",
        "eu-central-2",
        "eu-north-1",
        "eu-south-1",
        "eu-south-2",
        "eu-west-1",
        "eu-west-2",
        "eu-west-3",
        "il-central-1",
        "me-central-1",
        "me-south-1",
        "sa-east-1",
        "us-east-1",
        "us-east-2",
        "us-west-1",
        "us-west-2"
    ],
    "TargetOuType": "CUSTOM",
    "Version": "1",
    "Visibility": "PUBLIC"
}