Module: RULE_TYPES

Defined in:
lib/moesif_rack/governance_rules.rb

Overview

{

"_id": "649b65d83a5a0131fd035427",
"created_at": "2023-06-27T22:42:32.301",
"type": "user",
"state": 2,
"org_id": "688:25",
"app_id": "768:74",
"name": "test user rule",
"block": false,
"applied_to": "matching",
"applied_to_unidentified": true,
"response": {
    "status": 200,
    "headers": {
        "teset": "test"
    }
},
"cohorts": [
    {
        "id": "645c3793cba73323bb0760e6"
    }
],
"regex_config": [
    {
        "conditions": [
            {
                "path": "request.verb",
                "value": "get"
            }
        ]
    }
]

}

Constant Summary collapse

USER =
'user'
COMPANY =
'company'
REGEX =
'regex'