Configure and start an Amazon S3 storage listen scan using the CLI.
Prerequisites
Administrator access to the File Protect appliance.
An Amazon S3 storage.
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Create an Amazon S3 listen scan.
hostname (config) # fmps scan create from share <MyAmazonS3Storage>MyAmazonS3Storage is the storage on which the scan will run. The scan is created and a scan ID is displayed.
The scan is created and a scan ID is displayed
<scanID> configured.Save your changes.
hostname (config) # write memory
To configure an Amazon S3 scan:
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Configure the scan name:
hostname (config) # fmps scan configure <scanId> scan-name <ScanName>
Configure the filetype to scan:
hostname (config) # fmps scan configure <scanId> filetypes <FileType>
Configure the start from time:
hostname (config) # fmps scan configure <scanId> start-time <StartFromTime>
Configure the list of subdirectories to scan :
hostname (config) # fmps scan configure <scanId> subdirectories <ListOfSubdirectories>
Configure the target repositories:
hostname (config) # fmps scan configure <scanId> target-shares <ListOfTargets>
Save your changes.
hostname (config) # write memory
To start a scan:
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Start a scan by specifying its scan ID.
hostname (config) # fmps scan start <scanID> listen
<scanID> is the ID of the scan.
Save your changes.
hostname (config) # write memory