๐ง 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: 2025-11-17T14:33:46.264215169Z 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 | C55D513AAA010CE682ADDCD132F4E7CE |
| Open | /ce/ca/aws/sagemaker/endpoint-config-encryption-with-kms/test-data.json | F094966C342DD7C8B311DDBF1FEA21D6 |
| Open | /types/CA10A1__CaAwsSageMakerEndpointConfig__c/object.extracts.yaml | C6F0D4A686EFEF1E2A921D3320C16FA4 |
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: "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."