OBJECT
AssetGroupFilter
An asset group filter. Limitations:
- Only specific fields and operators are supported.
- For non-logical operators, 'field' and 'values' must be set.
- For logical operators (And/Or), 'expressions' must be set.
- Nested expressions are allowed, but depth is limited.
- Special patterns are enforced for risk and criticality:
- Risk and criticality filters must use an 'And' operator with 1-2 risk expressions and exactly 1 criticality expression (NotEqual NoneCriticality).
- Array-field 'Or' patterns are only allowed if both expressions use the same array field, with one 'Contains' (empty string) and one 'Equal' (empty array).
link GraphQL Schema definition
- type AssetGroupFilter {
- # Operators other than [And/Or] must have this field selection
- : AssetField
- : ExprOp!
- # List of values, Must be applied when using operators other than [And/Or]
- : JSON
- # List of expressions, Must be applied when using [And/Or] operators
- #
- # Arguments
- # after: Returns the items in the list that come after the
- # specified cursor.
- # first: Returns the first n items from the list.
- # before: Returns the items in the list that come before the
- # specified cursor.
- # last: Returns the last n items from the list.
- (: String, : Int, : String, : Int): AssetGroupFilterConnection!
- }
link Require by
- AssetFunctionAn asset function for policies
- AssetGroupAn asset group for policies
- AssetGroupFilterConnectionA connection to a list of items.
- AssetGroupFilterEdgeAn edge in a connection.
- AssetListAn asset list group for policies
- AssetTypeFamilyGroupAn asset type and family group for policies
- FilterGroupA filter group for policies
- IpListAn IP list group for policies
- IpRangeAn IP range for policies
- SegmentGroupA segment group for policies