Skip to main content

RELATED_LIST_COUNT

Count evaluated related objects with the selected status.

Return Type​

Number.

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_COUNT:
relationshipName: CA10__AWS_EC2_Security_Group_Rules__r
status: INCOMPLIANT

Behavior and Missing Values​

Counts matching results, rather than every related resource. 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.