Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "name": "Metadata Content Filter Include Value Equal To [Value]",
  "kind": "transfer",
  "transfer": {
    "audit_level": "trace",
    "transfer_type": "copy",
    "source": {
        "connection": {"id": "{{source_cloud_connection}}"},
			"target": {
				"path": "/Source Folder"
    	}
	},
	"destination": {
    	"connection": {"id": "{{destination_cloud_connection}}"},
			"target": {
				"path": "/Destination Folder"
    	}
  },
  "filter": {
	"source": [{
      "action": "include",
    	"rules": [{
        	"filter": {
        		"name": "ProtectionLevel",
        		"op": "eq",
        		"value": "Sensitive"
			},
		"type": "filter_metadata"
		}],
		"type": "filter_rule"
        }
      ]
    }
  },
    "schedule": {
        "mode": "manual"
    },
    "stop_policy": {
        "on_success": 5,
        "on_failure": 5,
        "on_execute": 25
    },
    "category": {
      "name": "Report Name"
    }
}

Example 2

The following example results in the same filtering as Example 1. Here the filter block is replaced by the equivalent text attribute.

...