Rule Engine

The rule engine evaluates flows against a pipeline of match + action rules.

Filter Examples

method: GET
host: api.example.com
status: 200

Action Types

  • log - Log the flow
  • intercept - Pause for inspection
  • mock - Return mock response
  • redirect - Redirect to URL
  • block - Block the request

Managing Rules

relay-core-cli rules import rules.yaml
relay-core-cli rules export