and

and #

KindAccepts
Logical operatora list of nested conditions

Evaluates to true only when all inner conditions are true. Uses short-circuit evaluation — stops checking on the first false.

Parameters #

ParameterTypeDescription
(list)list of conditionsNested condition blocks; every one must match.

Examples #

and:
  - equals:
      _ctx.request.method: "POST"
  - contains:
      _ctx.request.uri: "/api"

Notes #

Inside a per-record sub-chain (e.g. for_each), field names resolve against the current record’s own attributes (file.path, log_level, …); at pipeline level they resolve against the pipeline context through the _ctx. prefix. See the Conditions reference for details.

Edit Edit this page