Skip to main content

🧠 AWS OpenSearch Domain latest Service Software Update is not installed - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-05-09T12:03:32.066729652Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10__created__c') == 'false'βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('CA10__serviceSoftwareUpdateAvailable__c') == 'true'βœ”οΈ null
🟒test4βœ”οΈ 399βœ”οΈ extract('CA10__serviceSoftwareUpdateAvailable__c') == 'false'βœ”οΈ null
🟒test5βœ”οΈ 201βœ”οΈ CA10__serviceSoftwareUpdateAvailable__c.isEmpty()βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/opensearch/domain-software-update/policy.yaml4B73F452A3D835DC9EA781B7DA2D1407
Open/ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml01812E7E19B5C8708E03202DF14969FA
Open/ce/ca/aws/opensearch/domain-software-update/test-data.json26B28964CB930EFB7D09CD76FDC7C0A7
Open/types/CA10__CaAwsElasticsearchDomain__c/object.extracts.yamlC9B19E0A5971D32C19DFC4DEEA0D39EC

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsElasticsearchDomain__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsElasticsearchDomain__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The OpenSearch domain is still being created."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__created__c"
right:
TEXT: "false"
- status: "INCOMPLIANT"
currentStateMessage: "A newer compatible service software version is available for the OpenSearch domain."
remediationMessage: "Install the latest compatible service software update during an approved maintenance window."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__serviceSoftwareUpdateAvailable__c"
right:
TEXT: "true"
- status: "COMPLIANT"
currentStateMessage: "The OpenSearch domain is running the latest available service software."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__serviceSoftwareUpdateAvailable__c"
right:
TEXT: "false"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values were found in the service software update fields."