The 'trendmicro-host-antimalware-scan' API command in Deep Security has been deprecated and is no longer recommended for use. However, there are alternative methods to trigger a malware scan on a specified computer using RESTful APIs.
To automate computer scanning, you can compose a few new RESTful APIs:
- Create a once-only scheduled task with a specific computer ID and run it. For more information, please refer to this link.
- Monitor this computer's tasks field. For more information, please refer to this link.
- Once the malware scan is being processed, delete this scheduled task. For more information, please refer to this link.
Please note that the 'trendmicro-host-antimalware-scan' API command is only supported by our legacy SOAP API, hostAntiMalwareScan, and we do not recommend using it. If you have any further questions or concerns, please contact Trend Micro support.