--- title: "Scanning Amazon S3 storage in the CLI" slug: "scanning-amazon-s3-storage-in-the-cli-1" updated: 2026-09-08T21:44:57Z published: 2026-09-08T21:44:57Z canonical: "docs.trellix.com/scanning-amazon-s3-storage-in-the-cli-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Scanning Amazon S3 storage in the CLI Configure and start an Amazon S3 storage listen scan using the CLI. ### Prerequisites - Administrator access to the File Protect appliance. - An Amazon S3 storage. Follow the steps below to create a scan for Amazon S3 storage: 1. Enable the CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Create an Amazon S3 listen scan. ``` hostname (config) # fmps scan create from share ``` 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 ``` configured. ``` 3. Save your changes. ``` hostname (config) # write memory ``` **To configure an Amazon S3 scan:** 1. Enable the CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Configure the scan name: ``` hostname (config) # fmps scan configure scan-name ``` 3. Configure the filetype to scan: ``` hostname (config) # fmps scan configure filetypes ``` 4. Configure the start from time: ``` hostname (config) # fmps scan configure start-time ``` 5. Configure the list of subdirectories to scan : ``` hostname (config) # fmps scan configure subdirectories ``` 6. Configure the target repositories: ``` hostname (config) # fmps scan configure target-shares ``` 7. Save your changes. ``` hostname (config) # write memory ``` **To start a scan:** 1. Enable the CLI configuration mode: 2. ``` hostname > enable hostname # configure terminal ``` 3. Start a scan by specifying its scan ID. ``` hostname (config) # fmps scan start listen ``` ** is the ID of the scan. 4. Save your changes. ``` hostname (config) # write memory ``` :