--- inputType: "CA10A1__CaAwsSageMakerNotebookInstance__c" testData: - file: "test-data.json" importExtracts: - file: "/types/CA10A1__CaAwsSageMakerNotebookInstance__c/object.extracts.yaml" conditions: - status: "INAPPLICABLE" currentStateMessage: "The SageMaker notebook instance is not in service." check: NOT_EQUAL: left: EXTRACT: "CA10A1__status__c" right: TEXT: "InService" - status: "INCOMPLIANT" currentStateMessage: "The SageMaker notebook instance is not encrypted with a customer-managed KMS key." remediationMessage: "Configure the SageMaker notebook instance to use a customer-managed KMS key for encryption." check: IS_EMPTY: arg: EXTRACT: "CA10A1__kmsKeyId__c" otherwise: status: "COMPLIANT" currentStateMessage: "The SageMaker notebook instance is encrypted with a customer-managed KMS key."