Submitting a New Task for an Existing Sample on Malware Analysis Appliance

book

Article ID: 168128

calendar_today

Updated On:

Products

Malware Analysis Software - MA

Issue/Introduction

Creates a new analysis task for an existing sample.  Once created, the task is added to the processing queue and execution will begin when an environment instance is available.

Resolution

Command:
POST /rapi/tasks

$ curl -X POST -d "sample_id=1234&env=ivm" http://server_ip/rapi/tasks

Result:
(Day Refers to day of month)
{
  "api_version": 3,
  "exec_time": 0.004,
  "request": "GET /tasks/last_24_hours",
  "results": [
    {
      "count": 147,
      "datetime": "2013-05-07T21:00:00",
      "day": 7,
      "hour": 21
    },
    {
      "count": 1203,
      "datetime": "2013-05-07T20:00:00",
      "day": 7,
      "hour": 20
    },
    {
      "count": 10,
      "datetime": "2013-05-07T19:00:00",
      "day": 7,
      "hour": 19
    },
    {
      "count": 678,
      "datetime": "2013-05-07T18:00:00",
      "day": 7,
      "hour": 18
    },
...
  ],
  "results_count": 25,
  "server_time": "2013-05-07T21:59:26.725410"
}