Request example for the POST rules exceptions API

This section shows an example of a request from this API. For more information about each parameter shown in the request, see Request input for the POST rules exceptions API.


'{
    "parent_rule_name": "CV in English",
    "policy_type": "DLP",
    "exception_rules": [
        {
            "exception_rule_name": "custom",
            "enabled": "true",
            "description": "",
            "condition_enabled": "true",
            "source_enabled": "false",
            "destination_enabled": "false",
            "parts_count_type": "CROSS_COUNT",
            "condition_relation_type": "AND",
            "classifiers": [
                {
                    "classifier_name": "credit",
                    "predefined": "false",
                    "position": 1,
                    "threshold_type": "CHECK_GREATER_THAN",
                    "threshold_value_from": 1,
                    "threshold_calculate_type": "ALL"
                }
            ],
            "severity_action": {
                "max_matches": "GREATEST_NUMBER",
                "classifier_details": [
                    {
                        "selected": "true",
                        "number_of_matches": 0,
                        "severity_type": "MEDIUM",
                        "action_plan": "Audit Only"
                    },
                    {
                        "selected": "false",
                        "number_of_matches": 2,
                        "severity_type": "MEDIUM",
                        "action_plan": "Audit Only"
                    },
                    {
                        "selected": "false",
                        "number_of_matches": 3,
                        "severity_type": "MEDIUM",
                        "action_plan": "Audit Only"
                    }
                ]
            }
        }
    ]
}'