--- inputType: "CA10__CaAwsSubnet__c" testData: - file: "test-data.json" importExtracts: - file: "/types/CA10__CaAwsSubnet__c/object.extracts.yaml" conditions: - status: "INCOMPLIANT" currentStateMessage: "The subnet is configured to automatically assign IPv4 and IPv6 addresses to instances at launch." remediationMessage: "Disable the 'auto-assign public IP address' setting for this subnet to prevent unintended exposure of instances to the internet." check: AND: args: - EXTRACT: "CA10__mapPublicIpOnLaunch__c" - EXTRACT: "CA10__assignIpv6AddressOnCreation__c" - status: "INCOMPLIANT" currentStateMessage: "The subnet is configured to automatically assign public IPv4 addresses to instances at launch." remediationMessage: "Disable the 'auto-assign public IP address' setting for this subnet to prevent unintended exposure of instances to the internet." check: EXTRACT: "CA10__mapPublicIpOnLaunch__c" - status: "INCOMPLIANT" currentStateMessage: "The subnet is configured to automatically assign public IPv6 addresses to instances at launch." remediationMessage: "Disable the 'auto-assign public IP address' setting for this subnet to prevent unintended exposure of instances to the internet." check: EXTRACT: "CA10__assignIpv6AddressOnCreation__c" otherwise: status: "COMPLIANT" currentStateMessage: "The subnet is not configured to automatically assign public IP addresses."