regorus 0.10.1

A fast, lightweight Rego (OPA policy language) interpreter
Documentation
1
2
3
4
5
6
7
test_cases:
  - name: ip_match_true
    condition: "@Request[ip] IpMatch '10.0.0.0/24'"
    expected: true
  - name: ip_match_false
    condition: "@Request[ip] IpMatch '192.168.0.0/16'"
    expected: false