Get report content Use this URL to selectively download the analysis report files. Resource URL GET https://<MATD_IP>/php/showreport.php Input parameters This URL takes iType and iTaskId or jobId or md5. The Content-Type parameter in the HTTP header is not needed in this API. Instead specify an additional Expect: in the HTTP header. Input parameter Description Data type iTaskId This must be a previously returned task ID when you submitted the sample. Numeric jobId This must be a previously returned submission ID when you submitted the sample. Numeric iType iType can be one of the following types: html — HTML report txt — Text report xml — XML report zip — All files packaged in a single zip file json — Same as xml but in the JSON format ioc - Indicators of Compromise format stix - Structured Threat Information expression. Stix generation is disabled, by default. Use set stixreportstatus enable to enable it. pdf - Portable Document Format sample - Download sample from McAfee Advanced Threat Defense String Output parameters Content of the requested result file. Example Input https://<MATD_IP>/php/showreport.php?iTaskId=10&iType=html https://<MATD_IP>/php/showreport.php?jobId=10&iType=json https://<MATD_IP>/php/showreport.php?md5=E2CFE1C89703352C42763E4B458FC356&iType=html Output The output is the file content of the requested result file. Input https://<MATD_IP>/php/showreport.php?iTaskId=212&iType=sample Output The output is downloaded sample 212.zip associated with taskid 212. Note: iTaskId=sample must only be used with iTaskId parameter. Parent topic: McAfee Advanced Threat Defense APIs
Get report content Use this URL to selectively download the analysis report files. Resource URL GET https://<MATD_IP>/php/showreport.php Input parameters This URL takes iType and iTaskId or jobId or md5. The Content-Type parameter in the HTTP header is not needed in this API. Instead specify an additional Expect: in the HTTP header. Input parameter Description Data type iTaskId This must be a previously returned task ID when you submitted the sample. Numeric jobId This must be a previously returned submission ID when you submitted the sample. Numeric iType iType can be one of the following types: html — HTML report txt — Text report xml — XML report zip — All files packaged in a single zip file json — Same as xml but in the JSON format ioc - Indicators of Compromise format stix - Structured Threat Information expression. Stix generation is disabled, by default. Use set stixreportstatus enable to enable it. pdf - Portable Document Format sample - Download sample from McAfee Advanced Threat Defense String Output parameters Content of the requested result file. Example Input https://<MATD_IP>/php/showreport.php?iTaskId=10&iType=html https://<MATD_IP>/php/showreport.php?jobId=10&iType=json https://<MATD_IP>/php/showreport.php?md5=E2CFE1C89703352C42763E4B458FC356&iType=html Output The output is the file content of the requested result file. Input https://<MATD_IP>/php/showreport.php?iTaskId=212&iType=sample Output The output is downloaded sample 212.zip associated with taskid 212. Note: iTaskId=sample must only be used with iTaskId parameter. Parent topic: McAfee Advanced Threat Defense APIs