Tenable.sc API: Solutions

The Solutions is experimental and can be changed, altered, or deleted after any release.

/solutions

Methods
POST

Process a query for Solutions.

NOTE: For notes on the query object, see parameters for /query::POST.
Request Parameters
Expand
{
	"query": <query object>
}
Example Response
Expand
{
	"type" : "regular",
	"response": {
        "totalRecords": "50",
        "returnedRecords": 50,
        "startOffset": "0",
        "endOffset": "50",
        "results": [
            {
                "pluginID": "94017",
                "solution": "Apply MS16-120: Security Update for Microsoft Graphics Component (3192884)",
                "total": "13",
                "totalPctg": "0.37%",
                "hostTotal": "12",
                "vprScore": "0.0",
                "cvssV3BaseScore": "10"
            }
        ]
    }
	"error_code": 0,
	"error_msg" : "",
	"warnings": [],
	"timestamp": 1546642280
}

/solutions/{pluginID}

Methods
POST

Process a query for Solutions associated with {pluginID}.

NOTE: For notes on the query object, see parameters for /query::POST.
Request Paramaters
Expand
{
	"query": <query object>
}
Example Response
Expand
{
	"type" : "regular",
	"response": {
		{
    		"results": {
        		"solution": "Apply MS16-120: Security Update for Microsoft Graphics Component (3192884)",
        		"cveTotal": 3,
        		"total": "13",
        		"hostTotal": "12",
        		"vprScore": "0.0",
        		"cvssV3BaseScore": "10"
    		}
		}
	},
	"error_code": 0,
	"error_msg" : "",
	"warnings": [],
	"timestamp": 1546642280
}

/solutions/{pluginID}/vuln


POST

Process a query for Solutions that collects vulnerabilities associated with {pluginID}.

NOTE : For notes on the query object, see parameters for /query::POST.
Request Parameters
Expand
{
	"query": <query object>
}
Example Response
Expand
{
	"type" : "regular",
	"response": {
		{
    		"results": {
        		"pluginID": "49950",
            	"pluginName": "MS10-073: Vulnerabilities in Windows Kernel-Mode Drivers Could Allow Elevation of Privilege (981957)",
            	"cvssV3BaseScore": "7.2",
            	"hostTotal": "2",
            	"vprScore": "7.4"
    		}
		}
	},
	"error_code": 0,
	"error_msg" : "",
	"warnings": [],
	"timestamp": 1546642280
}

/solutions/{pluginID}/asset

POST

Process a query for Solutions that collects assets associated with {pluginID}.

NOTE : For notes on the query object, see parameters for /query::POST.
Request Parameters
Expand
{
	"query": <query object>
}
Example Response
Expand
{
	"type" : "regular",
	"response": {
		{
    		"results": {
                "ip": "xx.xx.xx.xx",
                "netbiosName": "TARGET\\SQL2016",
                "macAddres": "",
                "dnsName": "",
                "osCPE": "cpe:/o:microsoft:windows_server_2016",
                "repository": {
                    "id": "1",
                    "name": "Repo",
                    "description": "",
                    "dataFormat": "IPv4"
                }
            }
		}
	},
	"error_code": 0,
	"error_msg" : "",
	"warnings": [],
	"timestamp": 1546642280
}