createCasbRuleBody
createCasbRuleBody
JSON Example
{
"ruleIndex": "number",
"rule": {
"logicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c81",
"name": "sample-policy",
"enabled": false,
"attributes": {
"appIds": [
100,
101
],
"applicationGroupId": "string",
"userEntity": {
"all": false,
"users": [
"string"
],
"userGroups": [
"string"
]
},
"tags": [
"string"
],
"reason": "string"
},
"action": {
"ruleTemplateId": "string",
"browserAction": "string",
"commonControls": [
{
"name": "Login",
"allow": true
},
{
"name": "Upload",
"allow": false
}
],
"appSpecificControls": [
{
"name": "Like",
"allow": true
},
{
"name": "Post",
"allow": false
}
]
}
}
}
number As float As float
ruleIndex
Optional
ruleIndex
object
rule
Required
rule