π§ 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: 2025-11-17T14:33:41.356418589Z 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 | C615878585F0420C4A72A50409368B1E |
| Open | /ce/ca/aws/opensearch/domain-node-to-node-encryption/test-data.json | BE0BE83DB1D68B3A1175E846474B8C4C |
| Open | /types/CA10__CaAwsElasticsearchDomain__c/object.extracts.yaml | C072626C7FFF5273DA4B104B530A027E |
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: "Consider enabling 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."