Fetch Vulnerability stats in Serverless Function
Shows the vulnerability stats in Serverless Function.
Input ParametersInput Parameters
| Parameter | Mandatory/Optional | Data Type | Description |
|---|---|---|---|
| uuid | Mandatory | string | Specify the uuid of a serverless lambda function. |
| filter | optional | string | Filter the vulnerability details of scanned lambda function by providing a query using Qualys syntax. |
| sort | optional | string | Sort the results using a Qualys token. |
Sample: Fetch Vulnerability Stats in Serverless FunctionSample: Fetch Vulnerability Stats in Serverless Function
API Request
curl -X 'GET' \
'<qualys_base_url>/csapi/v1.3/serverless-functions/80a5dd43-5368-364c-9398-98a3fb2e2f4e/vuln/stats' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <token>'
API Response
{
"data": [
{
"vulnerability": null,
"result": "#table cols=\"5\"\nPackage Installed_Version Required_Version Language Install_Path\njinja2 3.0.3 3.1.5 Python Jinja2-3.0.3.dist-info/METADATA",
"lastFound": "1779110802972",
"firstFound": "1778579116571",
"severity": 3,
"customerSeverity": 3,
"port": null,
"typeDetected": "CONFIRMED",
"status": null,
"risk": 30,
"category": "SCA",
"discoveryType": [
"AUTHENTICATED"
],
"authType": [
"UNIX_AUTH"
],
"supportedBy": [
"CA-Windows Agent",
"CA-Linux Agent",
"SCA",
"CS-Windows",
"CS-Linux"
],
"product": [
"pip"
],
"vendor": [
"pip"
],
"cveids": [
"CVE-2024-56326"
],
"threatIntel": {
"activeAttacks": null,
"zeroDay": null,
"publicExploit": null,
"highLateralMovement": true,
"easyExploit": null,
"highDataLoss": null,
"noPatch": null,
"denialOfService": null,
"malware": null,
"exploitKit": null,
"publicExploitNames": null,
"malwareNames": null,
"exploitKitNames": null,
"wormable": null,
"predictedHighRisk": null,
"privilegeEscalation": null,
"unauthenticatedExploitation": null,
"remoteCodeExecution": null,
"ransomware": null,
"solorigateSunburst": null,
"cisaKnownExploitedVulns": null
},
"qid": 5002317,
"title": "Python (Pip) Security Update for jinja2 (GHSA-q2x7-8rv6-6q7h)",
"cvssInfo": {
"baseScore": "5.4",
"temporalScore": "4.0",
"accessVector": "Adjacent Network"
},
"cvss3Info": {
"baseScore": "7.8",
"temporalScore": "6.8"
},
"patchAvailable": true,
"published": 1735038671000,
"scanType": [
"SCA"
],
"qdsScore": 30,
"isExempted": false,
"vendorData": null,
"software": null,
"ageInDays": null,
"fixed": null,
"os": null
},
{
"vulnerability": null,
"result": "#table cols=\"5\"\nPackage Installed_Version Required_Version Language Install_Path\nwerkzeug 2.2.2 3.1.6 Python Werkzeug-2.2.2.dist-info/METADATA",
"lastFound": "1779110802995",
"firstFound": "1778579116600",
"severity": 3,
"customerSeverity": 3,
"port": null,
"typeDetected": "CONFIRMED",
"status": null,
"risk": 30,
"category": "SCA",
"discoveryType": [
"AUTHENTICATED"
],
"authType": [
"UNIX_AUTH"
],
"supportedBy": [
"CA-Windows Agent",
"CA-Linux Agent",
"SCA",
"CS-Windows",
"CS-Linux"
],
"product": [
"pip"
],
"vendor": [
"pip"
],
"cveids": [
"CVE-2026-27199"
],
"threatIntel": {
"activeAttacks": null,
"zeroDay": null,
"publicExploit": true,
"highLateralMovement": true,
"easyExploit": null,
"highDataLoss": null,
"noPatch": null,
"denialOfService": null,
"malware": null,
"exploitKit": null,
"publicExploitNames": null,
"malwareNames": null,
"exploitKitNames": null,
"wormable": null,
"predictedHighRisk": null,
"privilegeEscalation": null,
"unauthenticatedExploitation": null,
"remoteCodeExecution": null,
"ransomware": null,
"solorigateSunburst": null,
"cisaKnownExploitedVulns": null
},
"qid": 5007887,
"title": "Python (Pip) Security Update for werkzeug (GHSA-29vq-49wr-vm6x)",
"cvssInfo": {
"baseScore": "5.4",
"temporalScore": "4.3",
"accessVector": "Adjacent Network"
},
"cvss3Info": {
"baseScore": "5.3",
"temporalScore": "4.8"
},
"patchAvailable": true,
"published": 1771589458000,
"scanType": [
"SCA"
],
"qdsScore": 37,
"isExempted": false,
"vendorData": null,
"software": null,
"ageInDays": null,
"fixed": null,
"os": null
},
{
"vulnerability": null,
"result": "#table cols=\"5\"\nPackage Installed_Version Required_Version Language Install_Path\nurllib3 1.26.14 2.7.0 Python urllib3-1.26.14.dist-info/METADATA",
"lastFound": "1779110802999",
"firstFound": "1779110802999",
"severity": 4,
"customerSeverity": 4,
"port": null,
"typeDetected": "CONFIRMED",
"status": null,
"risk": 40,
"category": "SCA",
"discoveryType": [
"AUTHENTICATED"
],
"authType": [
"UNIX_AUTH"
],
"supportedBy": [
"CA-Windows Agent",
"CA-Linux Agent",
"SCA",
"CS-Windows",
"CS-Linux"
],
"product": [
"pip"
],
"vendor": [
"pip"
],
"cveids": [
"CVE-2026-44431"
],
"threatIntel": {
"activeAttacks": null,
"zeroDay": null,
"publicExploit": null,
"highLateralMovement": null,
"easyExploit": true,
"highDataLoss": null,
"noPatch": null,
"denialOfService": null,
"malware": null,
"exploitKit": null,
"publicExploitNames": null,
"malwareNames": null,
"exploitKitNames": null,
"wormable": null,
"predictedHighRisk": null,
"privilegeEscalation": null,
"unauthenticatedExploitation": null,
"remoteCodeExecution": null,
"ransomware": null,
"solorigateSunburst": null,
"cisaKnownExploitedVulns": null
},
"qid": 5012480,
"title": "Python (Pip) Security Update for urllib3 (GHSA-qccp-gfcp-xxvc)",
"cvssInfo": {
"baseScore": "5.0",
"temporalScore": "3.7",
"accessVector": "Network"
},
"cvss3Info": {
"baseScore": "5.3",
"temporalScore": "4.6"
},
"patchAvailable": true,
"published": 1778679888000,
"scanType": [
"SCA"
],
"qdsScore": 35,
"isExempted": false,
"vendorData": null,
"software": [
{
"name": "urllib3",
"version": "1.26.14",
"scanType": "SCA",
"packagePath": "urllib3-1.26.14.dist-info/METADATA",
"fixVersion": "2.7.0",
"vulnerabilities": null
}
],
"ageInDays": null,
"fixed": null,
"os": null
}
],
"vulnSummary": {
"confirmed": {
"sev1Count": 0,
"sev5Count": 0,
"sev2Count": 2,
"sev4Count": 7,
"sev3Count": 19
},
"potential": {
"sev1Count": 0,
"sev5Count": 0,
"sev2Count": 0,
"sev4Count": 0,
"sev3Count": 0
},
"igs": {
"sev1Count": 0,
"sev5Count": 0,
"sev2Count": 0,
"sev4Count": 0,
"sev3Count": 0
},
"patchAvailability": {
"confirmed": {
"sev1Count": 0,
"sev5Count": 0,
"sev2Count": 2,
"sev4Count": 7,
"sev3Count": 19
},
"potential": {
"sev1Count": 0,
"sev5Count": 0,
"sev2Count": 0,
"sev4Count": 0,
"sev3Count": 0
},
"igs": {
"sev1Count": 0,
"sev5Count": 0,
"sev2Count": 0,
"sev4Count": 0,
"sev3Count": 0
}
}
},
"driftReasonSummary": null
}