Viewing scan results using the CLI

Prev Next

Use the commands in this section to view scan results using the CLI in standard mode.

To view scan results:
  1. To view the scans that ran on a share:

    hostname > show fmps file shares shareName scan-id
    
  2. To view the status of a scan:

    hostname > show fmps scan-id scanID

Examples

The following example lists the scans that ran on the Acme_IT storage and shows statistics about them.

hostname > show fmps file shares Acme_IT scan-id
Scan         Status      Start                         End             
24           Configured
8            Aborted     2014-09-05 15:34:51.460615    2014-09-05  15:34:51.460615
49           Done        2014-09-16 04:00:00.169294    2014-09-16  04:02:26.556986  
Total Files  Bad Files
533          0

The following example shows statistics about scan 7:

hostname > show fmps scan-id 7
Scan ID: 7 (State: Completed Description: Scan completed)
Scan type: Now
Scan name: -
Share name: Acme_HR
Share URL:/10.00.00.00/IX2
Filetype whitelist:-
Selected filetypes: doc pdf
Quarantine repository name:-
Good repository name: Acme_Quar
Unknown repository name: -
Whitelisted repository name: -
Only files modified: after 2014-08-15 12:00:00
Advanced:
    Timestamp type: change
    Rescan: false
Started at: 2014-09-05 15:33:37
Ended at: 2014-09-05 15:35:00
Duration: 00:01:23:053278
Total number of files in the share: 70 (Scannable 0)
Scanned: 70 (0.8 files/sec => ~72867 files/day)
    Analyzed: 0 (~0.0% of the share)
    Good: 0 (~0.0% of the share)
    Unknown: 0 (~0.0% of the share)    
    Whitelisted: 0 (~0.0% of the share)
    Duplicates: 55 (~0.0% of the share)
Malicious: 0 (~0.0% of the share)

--------------------------------------------------
Filetypes Statistics
--------------------------------------------------

file_type  analyzed malicious sec_per_analysis duplicates duplicate_percentage
doc        0        0         0                55         100
whitelisted  whitelisted_percentage  good
0            0                       0 

Note

For examples of scan results for other scan types and statuses, see the Trellix CLI Command Reference.