Pre patch report

Retrieve the pre-patch report.

SecuritybearerAuth
Request
query Parameters
o
required
integer <int64>

Organization ID. The organization will be assumed based on the API key, if not specified.

groupId
integer <int64>

The ID of the server group for limiting results. If omitted, results will include all groups.

limit
integer >= 1
Default: 250

Limit number of results returned per page. Typically used in combination with offset

offset
integer
Default: 250

Specifies the offset. For example, if you are paging 250 at a time, you could specify 250 for the 2nd page and 500 for the 3rd, etc.

Responses
200

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

503

Service Unavailable

default

Invalid Request

get/reports/prepatch
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{ "Authorization" = "Bearer $apiKey" }
$url = 'https://console.automox.com/api/reports/prepatch?o=0000&groupId=12345&limit=10&offset=20'
$response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
Response samples
application/json
{
  • "prepatch": {
    • "total": 9,
    • "needsAttention": 1,
    • "none": 0,
    • "low": 0,
    • "medium": 0,
    • "high": 1,
    • "critical": 2,
    • "no_known_cves": 0,
    • "unknown": 6,
    • "devices": [
      • {
        • "id": 3514590,
        • "name": "Jim_Laptop",
        • "createTime": "2023-12-30T19:49:39+0000",
        • "group": "Windows Lappies",
        • "connected": false,
        • "needsReboot": false,
        • "os_family": "Windows",
        • "compliant": true,
        • "patches": [
          • {
            • "id": 3218238515,
            • "packageVersionId": 260407586,
            • "name": "2023-11 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 22H2 for x64 (KB5032007)",
            • "severity": "high",
            • "cve": [
              • "CVE-2023-36049",
              • "CVE-2023-36560"
              ],
            • "createTime": "2023-11-14T18:00:40+0000",
            • "patchTime": "2025-06-03T22:00:00+0000",
            • "needsApproval": false
            },
          • {
            • "id": 3218238517,
            • "packageVersionId": 259767491,
            • "name": "2023-10 Update for Windows 11 Version 22H2 for x64-based Systems (KB4023057)",
            • "severity": null,
            • "cve": [ ],
            • "createTime": "2023-10-26T17:00:16+0000",
            • "patchTime": "2025-06-03T22:00:00+0000",
            • "needsApproval": false
            },
          • {
            • "id": 3218238521,
            • "packageVersionId": 260407588,
            • "name": "Windows Malicious Software Removal Tool x64 - v5.119 (KB890830)",
            • "severity": null,
            • "cve": [ ],
            • "createTime": "2023-11-14T18:00:40+0000",
            • "patchTime": "2025-06-03T22:00:00+0000",
            • "needsApproval": false
            },
          • {
            • "id": 3218238526,
            • "packageVersionId": 252868000,
            • "name": "2022-08 Security Update for Windows 11 22H2 for x64-based Systems (KB5012170)",
            • "severity": "critical",
            • "cve": [
              • "CVE-2020-0689",
              • "ADV200011",
              • "CVE-2022-34303",
              • "CVE-2022-34301",
              • "CVE-2022-34302",
              • "CVE-2022-35820"
              ],
            • "createTime": "2023-04-11T17:10:59+0000",
            • "patchTime": "2025-06-03T22:00:00+0000",
            • "needsApproval": false
            },
          • {
            • "id": 3218238527,
            • "packageVersionId": 261447352,
            • "name": "2023-12 Cumulative Update for Windows 11 Version 22H2 for x64-based Systems (KB5033375)",
            • "severity": "critical",
            • "cve": [
              • "CVE-2023-35641",
              • "CVE-2023-36696",
              • "CVE-2023-36391",
              • "CVE-2023-36011",
              • "CVE-2023-20588",
              • "CVE-2023-21740",
              • "CVE-2023-36003",
              • "CVE-2023-36004",
              • "CVE-2023-36005",
              • "CVE-2023-36006",
              • "CVE-2023-35639",
              • "CVE-2023-35642",
              • "CVE-2023-35644",
              • "CVE-2023-35628",
              • "CVE-2023-35630",
              • "CVE-2023-35631",
              • "CVE-2023-35634",
              • "CVE-2023-35635"
              ],
            • "createTime": "2023-12-12T18:00:25+0000",
            • "patchTime": "2025-06-03T22:00:00+0000",
            • "needsApproval": false
            },
          • {
            • "id": 3218238529,
            • "packageVersionId": 261903275,
            • "name": "Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.403.1377.0) - Current Channel (Broad)",
            • "severity": null,
            • "cve": [ ],
            • "createTime": "2023-12-30T18:12:30+0000",
            • "patchTime": "2025-06-03T22:00:00+0000",
            • "needsApproval": false
            },
          • {
            • "id": 3218238530,
            • "packageVersionId": 258520388,
            • "name": "Update for Windows Security platform antimalware platform - KB5007651 (Version 1.0.2306.10002)",
            • "severity": null,
            • "cve": [ ],
            • "createTime": "2023-09-21T20:49:05+0000",
            • "patchTime": "2025-06-03T22:00:00+0000",
            • "needsApproval": false
            }
          ]
        },
      • {
        • "id": 3519797,
        • "name": "Parallels VM",
        • "createTime": "2024-01-03T20:26:29+0000",
        • "group": "Virtual Machines",
        • "connected": false,
        • "needsReboot": false,
        • "os_family": "Windows",
        • "compliant": true,
        • "patches": [
          • {
            • "id": 4920501470,
            • "packageVersionId": 278314544,
            • "name": "Security Intelligence Update for Microsoft Defender Antivirus - KB2267602",
            • "severity": null,
            • "cve": null,
            • "createTime": "2025-05-30T17:12:22+0000",
            • "patchTime": "2025-06-03T21:00:00+0000",
            • "needsApproval": false
            },
          • {
            • "id": 4920501472,
            • "packageVersionId": 278314349,
            • "name": "IntelliJ IDEA Ultimate 2024.3",
            • "severity": null,
            • "cve": null,
            • "createTime": "2025-05-30T17:04:07+0000",
            • "patchTime": "2025-06-04T07:00:00+0000",
            • "needsApproval": false
            }
          ]
        }
      ]
    }
}