Get Mitigation Job Details

Use this API to get the details of the Windows and Linux Mitigation job for the spcified job ID. 

GET/mtg/v1/deploymentjob/{deploymentJobId}

Input ParametersInput Parameters

Parameter

Mandatory/
Optional

Data Type

Description

deploymnetJobId Mandatory String Specify the job ID.

Sample - Get Mitigation Job DetailsSample - Get Mitigation Job Details

API Request

curl -X 'PATCH' \
  '<qualys>/mtg/v1/deploymentjob/0cf68497-3d75-4c47-addc-c100f0f2a7dc' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer <JWT_Token>' \
  -H 'Content-Type: application/json' \
  -d 

API Response

{
  "customerId": "d7614615-2512-daf7-83b3-edaaccb394a6",
  "id": "0cf68497-3d75-4c47-addc-c100f0f2a7dc",
  "schemaVersion": "1.0",
  "name": "MTG-WINDOWS-4",
  "description": "",
  "type": "Install",
  "status": "Disabled",
  "assetIds": [
    "6d468e8c-61dc-4e4c-81e2-73267b8c8783"
  ],
  "coAuthorUserIds": [
    "8b81f0f0-eca6-7a5e-80c9-9d494380a859",
    "2c84d18f-7f80-c1f0-8029-126c7bee8f02"
  ],
  "scheduleType": "On-demand",
  "startDateTime": "2025-6-26 08:29:04 AM",
  "recurring": false,
  "timezoneType": "SPECIFIC_TZ",
  "timezone": "UTC",
  "createdBy": {
    "user": {
      "id": "e1741865-551f-5af2-828d-ee5c8e702e4c",
      "name": "quays_km22",
      "fullName": "John Doe"
    },
    "date": 1750926542546
  },
  "updatedBy": {
    "user": null,
    "date": null
  },
  "deletedBy": {
    "user": null,
    "date": null
  },
  "assetCount": null,
  "taggedAssetCount": 0,
  "applicableAssetCount": 1,
  "totalAssetCount": null,
  "assetResultReceivedCount": null,
  "jobCategory": 3,
  "jobTriggerStatus": null,
  "completionPercent": null,
  "jobSource": 3,
  "readOnly": false,
  "subCategory": "Mitigation",
  "platform": "Windows",
  "assetTagIds": null,
  "matchAllTagIds": null,
  "exclusionTagIds": null,
  "exclusionAssetIds": null,
  "filterType": "Any",
  "exclusionFilterType": "Any",
  "notification": {
    "notificationTypes": {
      "email": true
    },
    "notificationConfigs": {
      "recipientEmails": "johnd@qualys.com",
      "completedPercentage": "80"
    },
    "notificationEvents": {
      "onJobStart": true,
      "onJobComplete": true
    }
  },
  "assetDetectionsQQL": null,
  "preDeployActions": [
    {
      "actionId": "db26e325-9d4e-4c76-b29f-b8f81233d598",
      "action": "Apply Mitigation",
      "actionType": "predeploy",
      "params": {
        "timeout": 180,
        "mitigationCategory": "Script-based Virtual Patch",
        "qid": 105170,
        "qidDetectionId": 0,
        "qidTitle": "Microsoft Windows Explorer AutoPlay Not Disabled",
        "hostVulnId": 0,
        "qds": 50,
        "detectionScoreMin": 50,
        "detectionScoreMax": 50
      },
      "mitigationList": [
        {
          "cves": [
            "105170"
          ],
          "mitigationId": "8a268c86-82d0-4bd2-821c-4e04ad027f7b",
          "mitigationType": "Modify registry",
          "carScriptId": 900076627,
          "customCdnUrl": "",
          "signatureHashCode": "",
          "impactFactor": 0,
          "implication": 1
        }
      ],
      "actionLinkedToJob": false
    },
    {
      "actionId": "51b3219b-7130-4994-9153-2e09f59a177e",
      "action": "Apply Mitigation",
      "actionType": "predeploy",
      "params": {
        "timeout": 180,
        "mitigationCategory": "Script-based Virtual Patch",
        "qid": 105228,
        "qidDetectionId": 0,
        "qidTitle": "Built-in Guest Account Not Renamed at Windows Target System",
        "hostVulnId": 0,
        "qds": 25,
        "detectionScoreMin": 25,
        "detectionScoreMax": 25
      },
      "mitigationList": [
        {
          "cves": [
            "105228"
          ],
          "mitigationId": "ba15a11b-f426-4d3d-88fb-be91a3e9a582",
          "mitigationType": "User Rename",
          "carScriptId": 56183049,
          "customCdnUrl": "",
          "signatureHashCode": "",
          "impactFactor": 0,
          "implication": 1
        }
      ],
      "actionLinkedToJob": false
    }
  ],
  "postDeployActions": null,
  "vulnQQL": "vulnerabilities.vulnerability.qid:[105170, 105228]"
}