π§ AWS OpenSearch Domain latest Service Software Update is not installed - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2025-11-17T14:33:41.110780387Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('CA10__serviceSoftwareUpdateAvailable__c') == 'false' | βοΈ null |
| π’ | test3 | βοΈ 299 | βοΈ extract('CA10__serviceSoftwareUpdateAvailable__c') == 'true' | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/opensearch/domain-software-update/policy.yaml | A05701721BA1162EB76BB151587C9D83 |
| Open | /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml | 2EA3993449534D0A26352F3CA3227D90 |
| Open | /ce/ca/aws/opensearch/domain-software-update/test-data.json | 313F1EBFF1D8ECB7D3EDA231F025D597 |
| Open | /types/CA10__CaAwsElasticsearchDomain__c/object.extracts.yaml | C072626C7FFF5273DA4B104B530A027E |
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β
---
inputType: "CA10__CaAwsElasticsearchDomain__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsElasticsearchDomain__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "A new service software update is available for the OpenSearch domain."
remediationMessage: "Consider installing the latest compatible service software\
\ update for the OpenSearch domain to get the latest features, security patches, and bug fixes."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__serviceSoftwareUpdateAvailable__c"
right:
TEXT: "false"
- status: "COMPLIANT"
currentStateMessage: "The OpenSearch domain is running the latest service software version."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__serviceSoftwareUpdateAvailable__c"
right:
TEXT: "true"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the field."