FilterCollection is a combination of multiple filters with a merging operator (OR / AND).
Evaluation scope defines the timing where this filter will be applied.
onAuthorityReceived This scope denotes the moment fluxzy is aware the destination authority. In a regular proxy connection, it will occur the moment where fluxzy parsed the CONNECT request.
filterCollection
The following table describes the customizable properties available for this filter:
Property | Type | Description | DefaultValue |
---|---|---|---|
children | array of filters | Children filters | [] |
operation | or | and | Condition evaluation | or |
inverted | boolean | Negate the filter result | false |
The following examples apply a comment to the filtered exchange
Retains exchanges having POST as method OR request to the host example.com.
rules:
- filter:
typeKind: FilterCollection
children:
- typeKind: PostFilter
- typeKind: HostFilter
pattern: example.com
operation: Exact
actions:
- typeKind: ApplyCommentAction
comment: filter was applied
View definition of FilterCollection for .NET integration.
This filter has no related filter