Skip to main content

🧠 AWS DMS Endpoint doesn't use SSL - prod.logic.yaml 🟒

  • Contextual name: 🧠 prod.logic.yaml 🟒
  • ID: /ce/ca/aws/dms/endpoint-ssl/prod.logic.yaml
  • Located in: πŸ“ AWS DMS Endpoint doesn't use SSL 🟒

Flags​

Input Type​

TypeAPI NameExtractsExtract FilesLogic Files
πŸ”’πŸ“• AWS DMS EndpointCA10A1__CaAwsDmsEndpoint__c211

Uses​

Test Results πŸŸ’β€‹

Generated at: 2025-07-12T12:02:30.045964308Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10A1__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ not(setOfText(['mysql', 'oracle', 'postgres', 'mariadb', 'aurora', 'aurora-postgresql', 'db2', 'db2-zos', 'mongodb', 'sqlserver']).contains(extract('CA10A1__engineName__c')))βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('CA10A1__sslMode__c') == 'none'βœ”οΈ null
🟒test4βœ”οΈ 399βœ”οΈ setOfText(['require', 'verify-ca', 'verify-full']).contains(extract('CA10A1__sslMode__c'))βœ”οΈ null

Generation​

FileMD5
Open/ce/ca/aws/dms/endpoint-ssl/policy.yamlE81C5250F3F759A9C76A5949CC137F02
Open/ce/ca/aws/dms/endpoint-ssl/prod.logic.yaml54FFBCCB744D608F991DD55FF1B02E7D
Open/ce/ca/aws/dms/endpoint-ssl/test-data.json591879C4E2DCA2A87DB859F0A0DFD49D
Open/types/CA10A1__CaAwsDmsEndpoint__c/object.extracts.yamlDC5412ACE13F77AA62F29DFAC7D4A357

Generate FULL script​

java -jar repo-manager.jar policies generate FULL /ce/ca/aws/dms/endpoint-ssl/prod.logic.yaml

Generate DEBUG script​

java -jar repo-manager.jar policies generate DEBUG /ce/ca/aws/dms/endpoint-ssl/prod.logic.yaml

Generate CAPTURE_TEST_DATA script​

java -jar repo-manager.jar policies generate CAPTURE_TEST_DATA /ce/ca/aws/dms/endpoint-ssl/prod.logic.yaml

Generate TESTS script​

java -jar repo-manager.jar policies generate TESTS /ce/ca/aws/dms/endpoint-ssl/prod.logic.yaml

Execute tests​

java -jar repo-manager.jar policies test /ce/ca/aws/dms/endpoint-ssl/prod.logic.yaml

Content​

Open File

---
inputType: "CA10A1__CaAwsDmsEndpoint__c"
importExtracts:
- file: /types/CA10A1__CaAwsDmsEndpoint__c/object.extracts.yaml
testData:
- file: "test-data.json"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "Endpoint SSL Mode doesn't apply to this DMS Endpoint engine."
check:
NOT:
arg:
CONTAINS:
arg:
SET:
itemType: TEXT
items:
- "mysql"
- "oracle"
- "postgres"
- "mariadb"
- "aurora"
- "aurora-postgresql"
- "db2"
- "db2-zos"
- "mongodb"
- "sqlserver"
search:
EXTRACT: "CA10A1__engineName__c"
- status: "INCOMPLIANT"
currentStateMessage: "The DMS Endpoint connection is not encrypted with SSL."
remediationMessage: "Modify the DMS endpoint to set the SSL mode."
check:
IS_EQUAL:
left:
EXTRACT: "CA10A1__sslMode__c"
right:
TEXT: "none"
- status: "COMPLIANT"
currentStateMessage: "The DMS endpoint connection is encrypted with SSL."
check:
CONTAINS:
arg:
SET:
itemType: TEXT
items:
- "require"
- "verify-ca"
- "verify-full"
search:
EXTRACT: "CA10A1__sslMode__c"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."