π§ AWS OpenSearch Domain Node To Node Encryption is not enabled - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/opensearch/domain-node-to-node-encryption/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:33:06.980772960Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ not(extract('CA10__nodeToNodeEncryptionEnabled__c')) | βοΈ null |
| π’ | test3 | βοΈ 200 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/opensearch/domain-node-to-node-encryption/policy.yaml | 834F5D5B4D4060A4A598B6FFC716641B |
| Open | /ce/ca/aws/opensearch/domain-node-to-node-encryption/prod.logic.yaml | CAD011C3DBC866CEE2EC3938BA547BC1 |
| Open | /ce/ca/aws/opensearch/domain-node-to-node-encryption/test-data.json | BE0BE83DB1D68B3A1175E846474B8C4C |
| Open | /types/CA10__CaAwsElasticsearchDomain__c/object.extracts.yaml | 0D5B1BE6E92CCF38D456A62B74D84E17 |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/opensearch/domain-node-to-node-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/opensearch/domain-node-to-node-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/opensearch/domain-node-to-node-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/opensearch/domain-node-to-node-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/opensearch/domain-node-to-node-encryption/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: "Node-to-node encryption is not enabled for the OpenSearch domain."
remediationMessage: "Enable node-to-node encryption."
check:
NOT:
arg:
EXTRACT: "CA10__nodeToNodeEncryptionEnabled__c"
otherwise:
status: "COMPLIANT"
currentStateMessage: "Node-to-node encryption is enabled for the OpenSearch domain."