What are the possible values of fileStatus when using the SPE RestAPI
search cancel

What are the possible values of fileStatus when using the SPE RestAPI

book

Article ID: 281001

calendar_today

Updated On:

Products

Protection Engine for Cloud Services

Issue/Introduction

When using the Symantec Protection Engine (SPE) RestAPI to scan files, you note one of the response fields is 'fileStatus'.  You seek to understand all of the possible values of field 'fileStatus'.

Environment

SPE 9.x and newer.

Resolution

The following is a list of possible values for the field 'fileStatus':

Value Definition
CLEAN File is clean
INFECTED_UNREPAIRED File was infected and could not be repaired
FULLY_REPAIRED File was infected and was repaired successfully
INTERNAL_SERVER_ERROR A generic error code
FILE_ACCESS_FAILED Access to the file failed either due to file system access issues or network issues
FILE_SIZE_TOO_LARGE File size considered large for it to be scanned as per the configuration
NO_AV_LICENSE Missing or invalid license for AV scanning
RESOURCE_UNAVAILABLE The scanning resource or any resource required for scanning is unavailable