Get List of All Mitigation Jobs

Use this API to get the list of all mitigation deployment jobs.  for the specified platform. This API fetches the list of all mitigation jobs for Windows or Linux platforms. 

GETmtg/v1/deploymentjobs

Input ParametersInput Parameters

Parameter

Mandatory/
Optional

Data Type

Description

filter Optional String Specify the filters. You can filter the responses by id, name, type, status and so on.
pageSize Optional Number Specify the page size. The page size is the number of rows returned per page. 
The default page size is 10. 
pageNumber Optional Number Specify the page number. The page number starts from 0.
sort Optional String Specify the fields for sorting. The format is JSON. 
For example, [{"status":"asc"}]
attributes Optional String Specify the comma seperated string of attributes to be fetched, such as name, type, status and so on.
ownedJob Optional Boolean Specify the value true or false. By default the value is false.
It displays the jobs for which the user is a co-author. 
platform Mandatory String Specify the platform. 
Example, Linux.

If no value is specified, the response displays the Windows platform output by default. 

Sample - Get a list of all mitigation deployment jobs for windowsSample - Get a list of all mitigation deployment jobs for windows

API Request

curl -X 
  'GET' '<qualys_base_url>/mtg/v1/deploymentjobs?ownedJob=false&coauthorJob=false&platform=Windows' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer <JWT_Token>'

API Response

[
  {
    "id": "df1057bc-86cf-4782-9ef4-5aa0824f6775",
    "customerId": "bbb55e58-b06f-fd7b-81b8-92a7c5407282",
    "schemaVersion": "1.0",
    "name": "RISKELIMINATIONMITIGATENOW_1751034523691",
    "type": "Install",
    "status": "Disabled",
    "timezone": "UTC",
    "scheduleType": "On-demand",
    "startDateTime": "2025-6-27 02:28:54 PM",
    "isRecurring": false,
    "timezoneType": "SPECIFIC_TZ",
    "deleted": false,
    "updated": null,
    "created": {
      "user": {
        "id": "f080cf76-0de1-fd80-826c-ea22cf7da868",
        "name": "quaysxkm30",
        "fullName": "John Doe"
      },
      "date": 1751034534477
    },
    "assetCount": null,
    "applicableAssetCount": 2,
    "taggedAssetCount": 0,
    "coAuthorUserIds": [],
    "category": 3,
    "jobSource": 2,
    "subCategory": "Mitigation",
    "triggerStatus": 0,
    "platform": "Windows",
    "filterType": "Any",
    "exclusionFilterType": "Any",
    "assets": [],
    "tags": [
      {
        "id": "576b4fab-2682-433e-b3e6-c4ea9861ae75",
        "name": "Cloud Agent"
      }
    ],
    "matchAllTags": [],
    "exclusionTags": [],
    "exclusionAssetIds": [],
    "dayOfMonth": null,
    "nextScheduleDateTime": null,
    "lastScheduleDateTime": null,
    "assetDetectionsQQL": "(tags.uuid: [576b4fab-2682-433e-b3e6-c4ea9861ae75])",
    "mitigationActionCount": 1,
    "vulnQQL": "vulnerabilities.qualysMitigable:TRUE and vulnerabilities.qualysMitigableType:Fix and (vulnerabilities.vulnerability:(threatIntel.malware:True or threatIntel.activeAttacks:True or threatIntel.exploitKit:True or threatIntel.wormable:True)) and (vulnerabilities.nonRunningKernel: FALSE and vulnerabilities.nonExploitableService:FALSE and vulnerabilities.nonExploitableConfig:FALSE) and vulnerabilities.typeDetected: [Confirmed] and vulnerabilities.vulnerability.qid:[379223]"
  },
  {
    "id": "dd085cbf-58c1-4344-bc6c-a607b66561d7",
    "customerId": "bbb55e58-b06f-fd7b-81b8-92a7c5407282",
    "schemaVersion": "1.0",
    "name": "MTG_3",
    "type": "Install",
    "status": "Disabled",
    "timezone": "UTC",
    "scheduleType": "On-demand",
    "startDateTime": "2025-6-27 02:50:12 PM",
    "isRecurring": false,
    "timezoneType": "SPECIFIC_TZ",
    "deleted": false,
    "updated": null,
    "created": {
      "user": {
        "id": "f080cf76-0de1-fd80-826c-ea22cf7da868",
        "name": "quaysxkm30",
        "fullName": "John Doe"
      },
      "date": 1751035812028
    },
    "assetCount": null,
    "applicableAssetCount": 2,
    "taggedAssetCount": 0,
    "coAuthorUserIds": [],
    "category": 3,
    "jobSource": 3,
    "subCategory": "Mitigation",
    "triggerStatus": 0,
    "platform": "Windows",
    "filterType": "Any",
    "exclusionFilterType": "Any",
    "assets": [
      {
        "id": "0d8d1b3e-148c-43e7-b155-8cc3de731878",
        "name": null
      }
    ],
    "tags": [
      {
        "id": "9947851b-017f-4df5-8831-5073392a51c2",
        "name": "Test1"
      }
    ],
    "matchAllTags": [],
    "exclusionTags": [],
    "exclusionAssetIds": [],
    "dayOfMonth": null,
    "nextScheduleDateTime": null,
    "lastScheduleDateTime": null,
    "assetDetectionsQQL": "(tags.uuid: [9947851b-017f-4df5-8831-5073392a51c2]) OR (agentId: [0d8d1b3e-148c-43e7-b155-8cc3de731878]) AND trackingMethod:QAGENT",
    "mitigationActionCount": 2,
    "vulnQQL": "vulnerabilities.vulnerability.qid:[378985, 90044]"
  },
  {
    "id": "08ea46b0-99dd-440a-a6d3-d99bec11dac7",
    "customerId": "bbb55e58-b06f-fd7b-81b8-92a7c5407282",
    "schemaVersion": "1.0",
    "name": "MTG_WINDOWS_ONDEMAND_DEMO-1",
    "type": "Install",
    "status": "Prepared",
    "timezone": "UTC",
    "scheduleType": "On-demand",
    "startDateTime": "2025-7-01 10:02:41 AM",
    "isRecurring": false,
    "timezoneType": "SPECIFIC_TZ",
    "deleted": false,
    "updated": null,
    "created": {
      "user": {
        "id": "b0f469fe-8f5e-f169-80e1-95e8a728bb5d",
        "name": "quaysxkm35",
        "fullName": "John Doe"
      },
      "date": 1751364158722
    },
    "assetCount": null,
    "applicableAssetCount": 1,
    "taggedAssetCount": 0,
    "coAuthorUserIds": [
      "430c474e-2309-47bf-832b-a6e5685c3866"
    ],
    "category": 3,
    "jobSource": 3,
    "subCategory": "Mitigation",
    "triggerStatus": 1,
    "platform": "Windows",
    "filterType": "All",
    "exclusionFilterType": "All",
    "assets": null,
    "tags": [
      {
        "id": "2f0abeac-8fe5-48a0-aef8-c25bb98ec6f8",
        "name": "Test2"
      },
      {
        "id": "576b4fab-2682-433e-b3e6-c4ea9861ae75",
        "name": "Cloud Agent"
      }
    ],
    "matchAllTags": [],
    "exclusionTags": [
      "9947851b-017f-4df5-8831-5073392a51c2"
    ],
    "exclusionAssetIds": [],
    "dayOfMonth": null,
    "nextScheduleDateTime": null,
    "lastScheduleDateTime": null,
    "assetDetectionsQQL": "(tags.uuid:2f0abeac-8fe5-48a0-aef8-c25bb98ec6f8 AND tags.uuid:576b4fab-2682-433e-b3e6-c4ea9861ae75) AND not (tags.uuid:9947851b-017f-4df5-8831-5073392a51c2) AND trackingMethod:QAGENT",
    "mitigationActionCount": 2,
    "vulnQQL": "vulnerabilities.vulnerability.qid:[378985, 90044]"
  }
]filter