createDlpRuleBody

createDlpRuleBody
createDlpRuleBody
JSON Example
{
    "ruleIndex": "number",
    "rule": {
        "logicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c81",
        "name": "sample-policy",
        "enabled": false,
        "action": {
            "action": "string",
            "categories": [
                "string"
            ],
            "dlpDicts": [
                "string"
            ],
            "dlpGroups": [
                "string"
            ],
            "docTypes": [
                {
                    "name": "Visio",
                    "fileType": "Engineering Applications"
                }
            ],
            "domains": [
                "string"
            ],
            "inspectInputs": false,
            "maxFileSize": "number",
            "maxFileSizeUnit": "string",
            "protocols": [
                "string"
            ],
            "sessionType": "string"
        },
        "attributes": {
            "userEntity": {
                "all": false,
                "users": [
                    "string"
                ],
                "userGroups": [
                    "string"
                ]
            },
            "notification": "string",
            "desc": "string",
            "tags": [
                "string"
            ],
            "reason": "string"
        }
    }
}
number As float As float
ruleIndex
Optional

ruleIndex

object
rule
Required

rule