π§ AWS DMS Migration Task Logging is not enabled - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/dms/migration-task-logging/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:32:38.688878769Z Open
| Result | Id | Condition Index | Condition Text | Runtime 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β
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/dms/migration-task-logging/policy.yaml | ACCE68DE6436BCE24FCF1B86911024F3 |
| Open | /ce/ca/aws/dms/migration-task-logging/prod.logic.yaml | C18B4FDEEE4FF9D8C19FA44DBEF0CEE8 |
| Open | /ce/ca/aws/dms/migration-task-logging/test-data.json | 44246BC726AD7A1BAD52D8F80CEA5FB3 |
| Open | /types/CA10A1__CaAwsDmsMigrationTask__c/object.extracts.yaml | 3B65C1EB3540C862016725CADD685D5B |
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β
---
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."