added

Cross-field comparisons

Today, we released a new addition to the Castle dashboard: cross-field comparison. Besides comparing fields to values, you can now compare schema fields against each other. This new feature can be used in various ways:

  • Filter: Apply cross-field comparisons to filter data dynamically.
  • Policy Trigger: Trigger specific policies when two fields in an event match.
  • Metric Condition: Set conditions based on field comparisons for metric evaluation.

Make sure to choose the field option from the dropdown when using the is or is not operators. Then choose the second schema field for comparison.

This new functionality enables you to address new use cases, such as:

  • Challenging or denying logins when the device location differs from the IP location, indicating possible attempts to obscure the user's true location.
  • Challenging or denying orders if the shipping address differs from the user's location, helping to prevent fraudulent transactions where items are shipped to unauthorized addresses.