{
    "Behavior": "PROACTIVE",
    "ComplianceFrameworkMappings": [
        {
            "ComplianceFramework": "NIST 800-53 Rev 5",
            "Ids": [
                "AC-2(1)",
                "AC-3",
                "AC-3(15)",
                "AC-3(7)",
                "AC-5",
                "AC-6",
                "AC-6(10)",
                "AC-6(2)"
            ]
        },
        {
            "ComplianceFramework": "PCI DSS version 3.2.1",
            "Ids": [
                "8.2.1"
            ]
        }
    ],
    "ConfigRuleIdentifier": "CODEBUILD_PROJECT_ENVIRONMENT_PRIVILEGED_CHECK",
    "ControlOwner": "AWS Control Tower",
    "DeploymentMechanism": "AWS CloudFormation Hook",
    "DeploymentOwner": "AWS Control Tower",
    "Description": "This control checks whether AWS CodeBuild projects have privileged mode turned off.",
    "DisplayName": "Require any AWS CodeBuild project to deactivate privileged mode when running",
    "DocumentationReferences": [
        {
            "DisplayName": "Create a build project",
            "Type": "AWS Documentation",
            "Url": "https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-console.html#create-project-console-environment"
        }
    ],
    "EvaluatedResourceTypes": [
        "AWS::CodeBuild::Project"
    ],
    "EvaluatedServices": [
        "AWS CodeBuild"
    ],
    "Guidance": "Elective",
    "Id": "CT.CODEBUILD.PR.4",
    "ImplementationType": "CloudFormation guard rule",
    "MinimumSupportedRuntimeVersion": "2.1",
    "Objectives": [
        {
            "Id": "CO.5",
            "Name": "Enforce least privilege"
        }
    ],
    "RegionalPreference": "REGIONAL",
    "Relationships": [
        {
            "ControlId": "SH.CodeBuild.5",
            "ControlOwner": "AWS Security Hub",
            "RelationshipType": "Can be used with (Inclusive)"
        }
    ],
    "ReleaseDate": "2022-11-28",
    "RemediationMessage": "Within 'Environment', set 'PrivilegedMode' to 'false' or omit the 'PrivilegedMode' property.",
    "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"
}