Fetch a List of Code Repository Scan
Sample: Fetch a List of Code Repository ScanSample: Fetch a List of Code Repository Scan
API Request
curl -X 'GET' \
'<qualys_base_url>/csapi/v1.3/code?pageNumber=1&pageSize=50&sort=created%3Adesc' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <token>'
API Response
{
"data": [
{
"uuid": "42xxxxe4-1ddb-307e-bcb3-05axxxxbc7",
"codeId": "57f185787dc0f81xxxxxxxxfbf779a54a4a82xxxxxx60f1",
"repositoryUrl": "https://xxxx.com/run-llama/llama_index.git",
"repositoryName": "llama_index",
"branch": "main",
"commitHash": "9aa5ee5cd2a1ecff6ffa2a8cd6af46b87af674b9",
"commitTimestamp": "1780091579000",
"commitAuthor": "Nhat Minh",
"created": "1780495186664",
"updated": "1780495186664",
"lastScanned": null,
"softwareCount": null,
"vulnerabilityCount": null,
"vulnerabilityStats": {
"severity5Count": null,
"severity4Count": null,
"severity3Count": null,
"severity2Count": null,
"severity1Count": null
},
"riskScore": null,
"maxQdsScore": null,
"qdsSeverity": null,
"lastComplianceScanDate": "1780495186703",
"compliance": {
"failCount": 28,
"passCount": 37,
"skipCount": 32,
"errorCount": 32
}
},
{
"uuid": "97xxx7d-911f-3486-9b03-7b64xxx7",
"codeId": "9fdc37a995e57f461c4f4e74faxxxxx7a5864433647",
"repositoryUrl": "https://xxx.ixxxt.quxxxs.com/scm/cssen/qscanner-vscode-extension.git",
"repositoryName": "qscanner-vscode-extension",
"branch": "release/1.0.0",
"commitHash": "34de6d89b75cacc5df01228c00d3e239590a0f39",
"commitTimestamp": "1780313713000",
"commitAuthor": "abc",
"created": "1780482300968",
"updated": "1780482300968",
"lastScanned": "1780482301031",
"softwareCount": 121,
"vulnerabilityCount": 0,
"vulnerabilityStats": {
"severity5Count": 0,
"severity4Count": 0,
"severity3Count": 0,
"severity2Count": 0,
"severity1Count": 0
},
"riskScore": 0,
"maxQdsScore": null,
"qdsSeverity": null,
"lastComplianceScanDate": null,
"compliance": {
"failCount": null,
"passCount": null,
"skipCount": null,
"errorCount": null
}
},
{
"uuid": "f8c5a45a-14c2-3eb9-b4f3-733xxxxxe95e",
"codeId": "20dcf82f9a933c5667e0a0d28a2xxxxxxxxxxxx6d83c064",
"repositoryUrl": "https://xxxx.com/spxxg-pxxcts/spring-boot.git",
"repositoryName": "spring-boot",
"branch": "main",
"commitHash": "1d5dc3e3c812xxxxxxxxx10a5887728c116",
"commitTimestamp": "1780442062000",
"commitAuthor": "Phillip Webb",
"created": "1780481091452",
"updated": "1780487375292",
"lastScanned": "1780487376006",
"softwareCount": 575,
"vulnerabilityCount": 0,
"vulnerabilityStats": {
"severity5Count": 0,
"severity4Count": 0,
"severity3Count": 0,
"severity2Count": 0,
"severity1Count": 0
},
"riskScore": 0,
"maxQdsScore": null,
"qdsSeverity": null,
"lastComplianceScanDate": null,
"compliance": {
"failCount": null,
"passCount": null,
"skipCount": null,
"errorCount": null
}
},
{
"uuid": "8d7xxd-084c-3648-b112-f5axxxc6",
"codeId": "231c1a2cf55c85d149cc6xxxxxxxxxxxxx4d9f4a39fb26fdfc8",
"repositoryUrl": "https://xxx.com/mixxt/semantic-kernel.git",
"repositoryName": "semantic-kernel",
"branch": "main",
"commitHash": "32e904c017c33ebxxxxxxxxxxx6e61e2e7aea81c",
"commitTimestamp": "1779908384000",
"commitAuthor": "semenshi-m",
"created": "1780478594985",
"updated": "1780479834399",
"lastScanned": "1780479837260",
"softwareCount": 2415,
"vulnerabilityCount": 89,
"vulnerabilityStats": {
"severity5Count": 2,
"severity4Count": 31,
"severity3Count": 39,
"severity2Count": 16,
"severity1Count": 1
},
"riskScore": 164,
"maxQdsScore": 72,
"qdsSeverity": "HIGH",
"lastComplianceScanDate": null,
"compliance": {
"failCount": null,
"passCount": null,
"skipCount": null,
"errorCount": null
}
},
{
"uuid": "052ad00d-33cc-3ea1-9563-25xxxxxxxx35915",
"codeId": "524ea166fcc7d3c882ed2995d36d38xxxxxxxxxx503dff3ff327",
"repositoryUrl": "https://gxxxx.com/lxxxxn-ai/langchain.git",
"repositoryName": "langchain",
"branch": "master",
"commitHash": "eb2dabb8b7102fbedb33016dcf10fe475efde88e",
"commitTimestamp": "1780430556000",
"commitAuthor": "Mason Daugherty",
"created": "1780474360007",
"updated": "1780493765682",
"lastScanned": "1780493767199",
"softwareCount": 2261,
"vulnerabilityCount": 1,
"vulnerabilityStats": {
"severity5Count": 0,
"severity4Count": 1,
"severity3Count": 0,
"severity2Count": 0,
"severity1Count": 0
},
"riskScore": 42,
"maxQdsScore": 35,
"qdsSeverity": "LOW",
"lastComplianceScanDate": "1780493763916",
"compliance": {
"failCount": 23,
"passCount": 38,
"skipCount": 32,
"errorCount": 32
}
}
],
"count": 135
}