Skip to main content

๐Ÿง  AWS SageMaker Endpoint Config does not specify a KMS key - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

Generated at: 2025-11-17T14:33:46.264215169Z Open

ResultIdCondition IndexCondition TextRuntime Error
๐ŸŸขtest1โœ”๏ธ 99โœ”๏ธ isDisappeared(CA10A1__disappearanceTime__c)โœ”๏ธ null
๐ŸŸขtest2โœ”๏ธ 199โœ”๏ธ extract('CA10A1__kmsKeyId__c').isEmpty()โœ”๏ธ null
๐ŸŸขtest3โœ”๏ธ 200โœ”๏ธ otherwiseโœ”๏ธ null

Generation Bundleโ€‹

FileMD5
Open/ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/policy.yamlFC955743911B136EC0BB5EC06A0B7169
Open/ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/prod.logic.yamlC55D513AAA010CE682ADDCD132F4E7CE
Open/ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/test-data.jsonF094966C342DD7C8B311DDBF1FEA21D6
Open/types/CA10A1__CaAwsSageMakerEndpointConfig__c/object.extracts.yamlC6F0D4A686EFEF1E2A921D3320C16FA4

Available Commandsโ€‹

repo-manager policies generate FULL /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/prod.logic.yaml

Contentโ€‹

Open File

---
inputType: "CA10A1__CaAwsSageMakerEndpointConfig__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10A1__CaAwsSageMakerEndpointConfig__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "KMS key is not specified for the SageMaker endpoint configuration."
remediationMessage: "Specify a KMS key for the endpoint configuration to encrypt data on the storage volume."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10A1__kmsKeyId__c"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The SageMaker Endpoint Config utilizes a KMS key."