# Deep Security Manager REST API

## Name: antiMalwareSpywareItem

XML Example:
    <antiMalwareSpywareItem>
      <antiMalwareQuarantinedFileID>xsd:int</antiMalwareQuarantinedFileID>
      <antiMalwareSpywareItemID>xsd:int</antiMalwareSpywareItemID>
      <hostID>xsd:int</hostID>
      <objectInfo>xsd:string</objectInfo>
      <objectType>xsd:int</objectType>
      <riskLevel>xsd:int</riskLevel>
      <scanAction>xsd:int</scanAction>
      <scanResultAction>xsd:int</scanResultAction>
      <spywareType>xsd:int</spywareType>
    </antiMalwareSpywareItem>
| JSON Example:
    {"antiMalwareSpywareItem":
     {
       "antiMalwareQuarantinedFileID": Number,
       "antiMalwareSpywareItemID": Number,
       "hostID": Number,
       "objectInfo": String,
       "objectType": Number,
       "riskLevel": Number,
       "scanAction": Number,
       "scanResultAction": Number,
       "spywareType": Number,
     }
    }

Elements
Name | Type | Required | Nillable | Default Value | Description
--- | --- | --- | --- | --- | ---
antiMalwareQuarantinedFileID | xsd:int | false | false |  | The key that refers to the spyware backup file. It does not enforce referential integrity, i.e. cascade delete when record removing takes place
antiMalwareSpywareItemID | xsd:int | false | false |  | The primary key of the spyware item
hostID | xsd:int | false | false |  | The key refers to the host. It does not enforce referential integrity, i.e. cascade delete when record removing takes place.
objectInfo | xsd:string | false | false |  | File-path, registry key, process name...etc (aka: resource)
objectType | xsd:int | false | false |  | Type identifier for Process, Cookies, File System, System Registry, Shortcut Link, Host File, Other (aka: resource type)
riskLevel | xsd:int | false | false |  | Risk level gauge Very Low (0), Low (25), Medium(50), High(75), Very High(100)
scanAction | xsd:int | false | false |  | Scan Action: The action taken upon each spyware items: Pass (1), Delete (2), Quarantined (3), Clean (4), Deny Access (5)
scanResultAction | xsd:int | false | false |  | Represent whether the action is successful (0) or failed (Error Code)
spywareType | xsd:int | false | false |  | Type identifier for Adware, Cookie, Diale, Keylogger, Trojan, Worm, Downloader..etc

Copyright © 2015 Trend Micro Inc. All Rights Reserved.