Tenable Security Center API: Software Update

/softwareUpdate

Methods
GET

Gets the list of Software Updates.

Request Parameters

None

Example Response
Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
    "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
1
2
3
4
5
6
7
{
    "updateIDsToInstall" : [
        <string>,  (Software Update ID (e.g. "SC-202308.2-6.2.0"))
        <string>,
        ...
    ]
}
Example Response
Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
    "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
}