π§ AWS SageMaker Endpoint Config does not specify a KMS key - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π AWS SageMaker Endpoint Config
- π AWS SageMaker Endpoint Config - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-05-09T12:03:58.380595892Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10A1__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('CA10A1__kmsKeyId__c').isEmpty() | βοΈ null |
| π’ | test3 | βοΈ 200 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/policy.yaml | FC955743911B136EC0BB5EC06A0B7169 |
| Open | /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/prod.logic.yaml | CEEA740FF3E1D9F945A303F35E25DD14 |
| Open | /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/test-data.json | F094966C342DD7C8B311DDBF1FEA21D6 |
| Open | /types/CA10A1__CaAwsSageMakerEndpointConfig__c/object.extracts.yaml | C98A8ED84E6D2328252FC7FA00A80C30 |
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β
---
inputType: "CA10A1__CaAwsSageMakerEndpointConfig__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10A1__CaAwsSageMakerEndpointConfig__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "A KMS key is not specified for the SageMaker endpoint configuration."
remediationMessage: "Specifying 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 configuration uses a KMS key."