--- inputType: "CA10__CaAwsApiGatewayRestApi__c" testData: - file: test-data.json conditions: - status: "INCOMPLIANT" currentStateMessage: "At least one API stage does not have CloudWatch access logs enabled." remediationMessage: "Enable CloudWatch access logs for the API stage." check: RELATED_LIST_HAS: relationshipName: "CA10__AWS_API_Gateway_Stages__r" status: "INCOMPLIANT" otherwise: status: "COMPLIANT" currentStateMessage: "All API stages have CloudWatch access logs enabled." relatedLists: - relationshipName: "CA10__AWS_API_Gateway_Stages__r" conditions: - status: "INCOMPLIANT" currentStateMessage: "CloudWatch access logs are not enabled for this API stage." remediationMessage: "Enable CloudWatch access logs for this API stage." check: IS_EMPTY_LOOKUP: "CA10__accessLoggingDestination__r" otherwise: status: "COMPLIANT" currentStateMessage: "CloudWatch access logs are enabled for this API stage."