RELATED_LIST_HAS
Check whether at least one evaluated related object has the selected status.
Return Type
Boolean.
Inputs
Required scalar relationshipName must match a relatedLists entry in the logic. Required scalar status accepts DISAPPEARED, INAPPLICABLE, COMPLIANT, INCOMPLIANT, or UNDETERMINED.
Syntax and Example
RELATED_LIST_HAS:
relationshipName: CA10__AWS_EC2_Security_Group_Rules__r
status: INCOMPLIANT
Behavior and Missing Values
Returns false when no related objects have that status, including an empty list. Define and evaluate the related-list conditions before consuming these aggregates. Missing collection data and confirmed absence can require different parent outcomes; include both cases in fixtures.