Skip to main content

🧠 AWS DMS Migration Task Logging is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:32:38.688878769Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10A1__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 299βœ”οΈ not(extract('caJsonBoolean__settingsJsonEnableLogging__c'))βœ”οΈ null
🟒test3βœ”οΈ 399βœ”οΈ extract('caJsonText__settingsJsonTargetApplySeverity__c').isEmpty()βœ”οΈ null
🟒test4βœ”οΈ 499βœ”οΈ setOfText(['LOGGER_SEVERITY_INFO', 'LOGGER_SEVERITY_WARNING', 'LOGGER_SEVERITY_ERROR']).contains(extract('caJsonText__settingsJsonTargetApplySeverity__c'))βœ”οΈ null
🟒test5βœ”οΈ 599βœ”οΈ extract('caJsonText__settingsJsonTargetLoadSeverity__c').isEmpty()βœ”οΈ null
🟒test6βœ”οΈ 699βœ”οΈ setOfText(['LOGGER_SEVERITY_INFO', 'LOGGER_SEVERITY_WARNING', 'LOGGER_SEVERITY_ERROR']).contains(extract('caJsonText__settingsJsonTargetLoadSeverity__c'))βœ”οΈ null
🟒test7βœ”οΈ 799βœ”οΈ extract('caJsonText__settingsJsonSourceCaptureSeverity__c').isEmpty()βœ”οΈ null
🟒test8βœ”οΈ 899βœ”οΈ setOfText(['LOGGER_SEVERITY_INFO', 'LOGGER_SEVERITY_WARNING', 'LOGGER_SEVERITY_ERROR']).contains(extract('caJsonText__settingsJsonSourceCaptureSeverity__c'))βœ”οΈ null
🟒test9βœ”οΈ 999βœ”οΈ extract('caJsonText__settingsJsonSourceUnloadSeverity__c').isEmpty()βœ”οΈ null
🟒test10βœ”οΈ 1099βœ”οΈ setOfText(['LOGGER_SEVERITY_INFO', 'LOGGER_SEVERITY_WARNING', 'LOGGER_SEVERITY_ERROR']).contains(extract('caJsonText__settingsJsonSourceUnloadSeverity__c'))βœ”οΈ null
🟒test11βœ”οΈ 1100βœ”οΈ otherwiseβœ”οΈ null
🟒test12βœ”οΈ 399βœ”οΈ extract('caJsonText__settingsJsonTargetApplySeverity__c').isEmpty()βœ”οΈ null
🟒test13βœ”οΈ 399βœ”οΈ extract('caJsonText__settingsJsonTargetApplySeverity__c').isEmpty()βœ”οΈ null
🟒test14βœ”οΈ 199βœ”οΈ extract('caJsonBoolean__settingsJsonEnableLogging__c').isEmpty()βœ”οΈ null
🟒test15βœ”οΈ 103βœ”οΈ extract('caJsonFrom__settingsJson__c').jsonQueryText('Logging.EnableLogging').isEvaluationFailed()βœ”οΈ UNDETERMINED condition:102
🟒test16βœ”οΈ 199βœ”οΈ extract('caJsonBoolean__settingsJsonEnableLogging__c').isEmpty()βœ”οΈ null
🟒test17βœ”οΈ 199βœ”οΈ extract('caJsonBoolean__settingsJsonEnableLogging__c').isEmpty()βœ”οΈ null
🟒test18βœ”οΈ 199βœ”οΈ extract('caJsonBoolean__settingsJsonEnableLogging__c').isEmpty()βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/dms/migration-task-logging/policy.yamlACCE68DE6436BCE24FCF1B86911024F3
Open/ce/ca/aws/dms/migration-task-logging/prod.logic.yamlC18B4FDEEE4FF9D8C19FA44DBEF0CEE8
Open/ce/ca/aws/dms/migration-task-logging/test-data.json44246BC726AD7A1BAD52D8F80CEA5FB3
Open/types/CA10A1__CaAwsDmsMigrationTask__c/object.extracts.yaml3B65C1EB3540C862016725CADD685D5B

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/dms/migration-task-logging/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/dms/migration-task-logging/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/dms/migration-task-logging/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/dms/migration-task-logging/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/dms/migration-task-logging/prod.logic.yaml

Content​

Open File

---
inputType: "CA10A1__CaAwsDmsMigrationTask__c"
importExtracts:
- file: /types/CA10A1__CaAwsDmsMigrationTask__c/object.extracts.yaml
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "CloudWatch logging is disabled for the DMS replication task."
remediationMessage: "Enable CloudWatch logging for this DMS replication task."
check:
IS_EMPTY:
arg:
EXTRACT: "caJsonBoolean__settingsJsonEnableLogging__c"
- status: "INCOMPLIANT"
currentStateMessage: "CloudWatch logging is disabled for the DMS replication task."
remediationMessage: "Enable CloudWatch logging for this DMS replication task."
check:
NOT:
arg:
EXTRACT: "caJsonBoolean__settingsJsonEnableLogging__c"
- status: "INCOMPLIANT"
currentStateMessage: "Logging for the TARGET_APPLY component is not enabled."
remediationMessage: "Enable the TARGET_APPLY log component with a minimum severity of LOGGER_SEVERITY_DEFAULT."
check:
IS_EMPTY:
arg:
EXTRACT: "caJsonText__settingsJsonTargetApplySeverity__c"
- status: "INCOMPLIANT"
currentStateMessage: "Logging for the TARGET_APPLY component is below the required LOGGER_SEVERITY_DEFAULT level."
remediationMessage: "Set the TARGET_APPLY log component to at least LOGGER_SEVERITY_DEFAULT."
check:
CONTAINS:
arg:
SET:
itemType: TEXT
items:
- LOGGER_SEVERITY_INFO
- LOGGER_SEVERITY_WARNING
- LOGGER_SEVERITY_ERROR
search:
EXTRACT: "caJsonText__settingsJsonTargetApplySeverity__c"
- status: "INCOMPLIANT"
currentStateMessage: "Logging for the TARGET_LOAD component is not enabled."
remediationMessage: "Enable the TARGET_LOAD log component with a minimum severity of LOGGER_SEVERITY_DEFAULT."
check:
IS_EMPTY:
arg:
EXTRACT: "caJsonText__settingsJsonTargetLoadSeverity__c"
- status: "INCOMPLIANT"
currentStateMessage: "Logging for the TARGET_LOAD component is below the required LOGGER_SEVERITY_DEFAULT level."
remediationMessage: "Set the TARGET_LOAD log component to at least LOGGER_SEVERITY_DEFAULT."
check:
CONTAINS:
arg:
SET:
itemType: TEXT
items:
- LOGGER_SEVERITY_INFO
- LOGGER_SEVERITY_WARNING
- LOGGER_SEVERITY_ERROR
search:
EXTRACT: "caJsonText__settingsJsonTargetLoadSeverity__c"
- status: "INCOMPLIANT"
currentStateMessage: "Logging for the SOURCE_CAPTURE component is not enabled."
remediationMessage: "Enable the SOURCE_CAPTURE log component with a minimum severity of LOGGER_SEVERITY_DEFAULT."
check:
IS_EMPTY:
arg:
EXTRACT: "caJsonText__settingsJsonSourceCaptureSeverity__c"
- status: "INCOMPLIANT"
currentStateMessage: "Logging for the SOURCE_CAPTURE component is below the required LOGGER_SEVERITY_DEFAULT level."
remediationMessage: "Set the SOURCE_CAPTURE log component to at least LOGGER_SEVERITY_DEFAULT."
check:
CONTAINS:
arg:
SET:
itemType: TEXT
items:
- LOGGER_SEVERITY_INFO
- LOGGER_SEVERITY_WARNING
- LOGGER_SEVERITY_ERROR
search:
EXTRACT: "caJsonText__settingsJsonSourceCaptureSeverity__c"
- status: "INCOMPLIANT"
currentStateMessage: "Logging for the SOURCE_UNLOAD component is not enabled."
remediationMessage: "Enable the SOURCE_UNLOAD log component with a minimum severity of LOGGER_SEVERITY_DEFAULT."
check:
IS_EMPTY:
arg:
EXTRACT: "caJsonText__settingsJsonSourceUnloadSeverity__c"
- status: "INCOMPLIANT"
currentStateMessage: "Logging for the SOURCE_UNLOAD component is below the required LOGGER_SEVERITY_DEFAULT level."
remediationMessage: "Set the SOURCE_UNLOAD log component to at least LOGGER_SEVERITY_DEFAULT."
check:
CONTAINS:
arg:
SET:
itemType: TEXT
items:
- LOGGER_SEVERITY_INFO
- LOGGER_SEVERITY_WARNING
- LOGGER_SEVERITY_ERROR
search:
EXTRACT: "caJsonText__settingsJsonSourceUnloadSeverity__c"
otherwise:
status: "COMPLIANT"
currentStateMessage: "DMS Migration Task Logging is enabled for all required components with the appropriate severity level."