π§ AWS EFS Mount Target is in a subnet that assigns public IP addresses on launch - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/efs/mount-target-public-ip/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-06-06T12:02:51.896257437Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 299 | βοΈ extract('CA10__subnet__r.CA10__mapPublicIpOnLaunch__c') == true | βοΈ null |
| π’ | test2 | βοΈ 300 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/efs/mount-target-public-ip/policy.yaml | 3AA91E590612620382670CA42B1B45BA |
| Open | /ce/ca/aws/efs/mount-target-public-ip/prod.logic.yaml | B4ADCAAF0C5E0EDC4D95A05356D1385F |
| Open | /ce/ca/aws/efs/mount-target-public-ip/test-data.json | 59FDE3E5EF5833F79451B38E56CE1B80 |
| Open | /types/CA10__CaAwsSubnet__c/object.extracts.yaml | 393E30CD97C9DEE73FA18A1456EE4CBD |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/efs/mount-target-public-ip/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/efs/mount-target-public-ip/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/efs/mount-target-public-ip/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/efs/mount-target-public-ip/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/efs/mount-target-public-ip/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaAwsEfsMountTarget__c"
importExtracts:
- file: "/types/CA10__CaAwsSubnet__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "UNDETERMINED"
currentStateMessage: "Unable to determine the subnet configuration for the EFS mount target."
check:
IS_EMPTY_LOOKUP: CA10__subnet__r
- status: "INCOMPLIANT"
currentStateMessage: "The EFS mount target is in a subnet configured to automatically assign public IP addresses."
remediationMessage: "Move the EFS mount target to a private subnet or disable the 'Auto-assign public IPv4 address' setting on the current subnet."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__subnet__r.CA10__mapPublicIpOnLaunch__c"
right:
BOOLEAN: true
otherwise:
status: COMPLIANT
currentStateMessage: "The EFS mount target is in a subnet that does not automatically assign public IP addresses."