Request example for the POST rules severity and action 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 severity and action API.

'{
    "policy_name": "CV in English DLP",
    "rules": [
        {
            "rule_name": "CV in English",
            "type": "EVERY_MATCHED_CONDITION",
            "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"
                }
            ],
            "risk_adaptive_protection_enabled": "false"
        }
    ]
}
'