Request example for the POST rule source and destination 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 rule source and destination API.
'{
"policy_name": "CV in English DLP",
"rules": [
{
"rule_name": "CV in English",
"rule_source": {
"endpoint_channel_machine_type": "ALL_MACHINES",
"endpoint_connection_type": "ANYWARE"
},
"rule_destination": {
"email_monitor_directions": [
"OUTGOING"
],
"channels": [
{
"channel_type": "HTTPS",
"enabled": "true",
"resources": [
{
"resource_name": "Excluded Resources",
"type": "BUSINESS_UNIT",
"include": "false"
}
]
},
{
"channel_type": "CASB_REAL_TIME",
"enabled": "false"
},
{
"channel_type": "GENERIC_TEXT",
"enabled": "true",
"resources": [
{
"resource_name": "Excluded Resources",
"type": "BUSINESS_UNIT",
"include": "false"
}
]
},
{
"channel_type": "ENDPOINT_PRINTING",
"enabled": "true"
},
{
"channel_type": "MOBILE_AIRSYNC",
"enabled": "false"
},
{
"channel_type": "EFSS",
"enabled": "false"
},
{
"channel_type": "EMAIL",
"enabled": "true"
},