Tenable Security Center API: Software Update

/softwareUpdate

Methods
GET

Gets the list of Software Updates.

Request Parameters

None

Example Response
Expand
{
    "type" : "regular",
    "response" : [
        {
            "id": "SC-202308.1-6.2.0-rh7-64",
            "description": "(EL7) Updates Apache to V2.4.56.",
            "lastPatchSuccess": "-1",
            "staged": "false",
            "installed": "false",
            "lastPatchFailure": "-1",
            "manualUpdateOnly": "false",
			"details": ""        },
        {
            "id": "SC-202308.2-6.2.0",
            "description": "Normalizes agent UUIDs in Asset Lists synchronized to Tenable One.",
            "lastPatchSuccess": "-1",
            "staged": "false",
            "installed": "false",
            "lastPatchFailure": "-1",
            "manualUpdateOnly": "false",
			"details": ""        }
    ],
    "error_code" : 0,
    "error_msg" : "",
    "warnings" : {},
    "timestamp" : 1423499298
}
PATCH

For all Software Update IDs provided, updates the status so that they ready to install.  The Software Updates are installed during the next system restart. 

Request Parameters
{
    "updateIDsToInstall" : [
        <string>,  (Software Update ID (e.g. "SC-202308.2-6.2.0"))
        <string>,
        ...
	]
}
Example Response
Expand
{
    "type" : "regular",
    "response" : [
        {
            "id": "SC-202308.1-6.2.0-rh7-64",
            "description": "(EL7) Updates Apache to V2.4.56.",
            "lastPatchSuccess": "-1",
            "staged": "true",
            "installed": "false",
            "lastPatchFailure": "-1",
            "manualUpdateOnly": "false",
			"details": ""        },
        {
            "id": "SC-202308.2-6.2.0",
            "description": "Normalizes agent UUIDs in Asset Lists synchronized to Tenable One.",
            "lastPatchSuccess": "-1",
            "staged": "true",
            "installed": "false",
            "lastPatchFailure": "-1",
            "manualUpdateOnly": "false",
			"details": ""        }
    ],
    "error_code" : 0,
    "error_msg" : "",
    "warnings" : {},
    "timestamp" : 1423499298
}