Skip to main content

🧠 AWS Network Firewall Policy is not associated with a rule group - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:33:06.172785144Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10A2__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 101βœ”οΈ CA10A2__firewallPolicyStatus__c.delegatedTo(CA10A2__firewallPolicyStatus__c).isEmpty()βœ”οΈ null
🟒test3βœ”οΈ 199βœ”οΈ extract('CA10A2__firewallPolicyStatus__c') != 'ACTIVE'βœ”οΈ null
🟒test4βœ”οΈ 299βœ”οΈ CA10A2__AWS_NetworkFirewall_PolicyRuleGroupLinks__r.hasNo(COMPLIANT)βœ”οΈ null
🟒test5βœ”οΈ 399βœ”οΈ CA10A2__AWS_NetworkFirewall_PolicyRuleGroupLinks__r.has(COMPLIANT)βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/network-firewall/policy-rule-group-association/policy.yaml68CBA2A130F1C8E3794C09403DC151A5
Open/ce/ca/aws/network-firewall/policy-rule-group-association/prod.logic.yaml61CC06D662444D19F9B9EAC8EA86260A
Open/ce/ca/aws/network-firewall/policy-rule-group-association/test-data.json568BBA852ED7E377541EDCCC312E0D8D
Open/types/CA10A2__CaAwsNetworkFirewallFirewallPolicy__c/object.extracts.yaml7D78149FCF8A2F3ABE66E6CFC4C9C395

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/network-firewall/policy-rule-group-association/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/network-firewall/policy-rule-group-association/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/network-firewall/policy-rule-group-association/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/network-firewall/policy-rule-group-association/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/network-firewall/policy-rule-group-association/prod.logic.yaml

Content​

Open File

---
inputType: "CA10A2__CaAwsNetworkFirewallFirewallPolicy__c"
importExtracts:
- file: "/types/CA10A2__CaAwsNetworkFirewallFirewallPolicy__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The network firewall policy is not active."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10A2__firewallPolicyStatus__c"
right:
TEXT: "ACTIVE"
- status: "INCOMPLIANT"
currentStateMessage: "The network firewall policy has no stateful or stateless rule groups associated."
remediationMessage: "Associate at least one rule group with the firewall policy to define traffic filtering rules."
check:
RELATED_LIST_HAS_NO:
status: "COMPLIANT"
relationshipName: "CA10A2__AWS_NetworkFirewall_PolicyRuleGroupLinks__r"
- status: "COMPLIANT"
currentStateMessage: "The network firewall policy is associated with at least one rule group."
check:
RELATED_LIST_HAS:
status: "COMPLIANT"
relationshipName: "CA10A2__AWS_NetworkFirewall_PolicyRuleGroupLinks__r"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."
relatedLists:
- relationshipName: "CA10A2__AWS_NetworkFirewall_PolicyRuleGroupLinks__r"
conditions:
- status: "COMPLIANT"
currentStateMessage: "A rule group association exists."
check:
NOT_EMPTY_LOOKUP: "CA10A2__ruleGroup__r"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "No rule group association exists."