Example 1

This example is one of the 3 scripts that come with Forcepoint DLP and reside in the %dss_home%/RunCommands folder.

It provides an example of using the DiscoveryIncidentProcessing module, and is self- explanatory.
#Set the destination folder for sensitive files 
Location = r'\\127.0.0.1\quarantine'
DaysKeepActiveFiles = 0 
#
#DO NOT MODIFYSCRIPT PAST THIS LINE
import sys
from DiscoveryIncidentProcessing import
MoveDiscoveryIncident
MoveDiscoveryIncident(sys.argv[1],Location,False,DaysKeepAct iveFiles,'')